lua-users home
lua-l archive

No FP compile option for Lua? [was: upcoming changes in Lua 5.2]

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


For Lua 5.2, please consider adding compile time support for hardware
without floating point instructions. The patch to enable this support
is in the "Go Long Lua!" section in
http://lua-users.org/wiki/LuaPowerPatches
I tested the patch under 5.1.3, and all is well.
An example of hardware without floating point instructions comes from
Xen. It provides a very lightweight virtual machine via Mini-OS.
This 32-bit operating system does not save and restore floating point
registers during a context switch, so you cannot use floating point
operations.
John

AltStyle によって変換されたページ (->オリジナル) /