Like JavaScript, there is no int type in Lua. The numbers will be promote to double if it out of the range of integer.

Regards,
Zheng

使用AquaMail for Android发送
http://www.aqua-mail.com

在 2016年7月19日 09:01:21 "Dikshit, Abhishek" <Abhishek.Dikshit@cavium.com> 写道:

Hi All

I am trying to make this small loop work on ARM64.

./luajit -jon -e 'x=0; for i=1,400000 do x=x+i end;'

 

The code flow reaches the point

 

Unimplemented: asm_conv

 

When I looked into it, it seems that luajit is trying to convert from INT to FLOAT.

 

Any ideas why it might be doing that ? Or is it a bug somewhere I need to look ?

 

Thanks

Abhishek Dikshit

_______________________________________________
luajit mailing list
luajit@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/luajit