lua-users home
lua-l archive

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


The code at http://mega-nerd.com/FPcast/ would appear to make
Lua on Win32 using MSVC6 about .1% slower.


> Has anyone tested the following on MSVC
> 
> #if defined(__GNUC__) && defined(__i386)
> #define lua_number2int(i,d)     __asm__ ("fistpl %0":"=m"(i):"t"(d):"st")