[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: No FP compile option for Lua? [was: upcoming changes in Lua 5.2]
- From: ramsdell@... (John D. Ramsdell)
- Date: 19 Feb 2008 11:09:01 -0500
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