[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: ANN: LuaJIT 1.1.1 released
- From: Michael Wolf <miwo@...>
- Date: Thu, 22 Jun 2006 22:02:57 +0200
first of all thanks for LuaJIT its a great project!
But i have one small problem with this new version, i can't get it to
compile with MS Visual Studio 2005. But I had no problems with LuaJIT 1.1
I get following errors:
Error 581 error C2400: inline assembler syntax error in 'second
operand'; found 'bad token' d:\dev\luawin\luajit-1.1.1\src\ljit_x86.h 1774
Error 582 error C2400: inline assembler syntax error in 'opcode'; found
'bad token' d:\dev\luawin\luajit-1.1.1\src\ljit_x86.h 1774
Error 739 error C2400: inline assembler syntax error in 'first operand';
found 'bad token' d:\dev\LuaWin\LuaJIT-1.1.1\src\ljit_backend.c 208
It's that Microsoft special version of lua_number2int that generates the
#define lua_number2int(i,d) __asm fld d __asm fistp i
I have tryed to fix it but my inline assembler knowlege is very limited!
:( The general version works without problems!
Do you have an idea why it doesn't compile?
PS: Please excuse my poor english!
Mike Pall wrote:
this is a minor upgrade for LuaJIT, now based on Lua 5.1.1 and in
sync with Coco 1.1.1. No other major changes vs. LuaJIT 1.1.0.
An upgrade is especially recommended for developers using LuaJIT
on Windows (DirectX FPU state fix, Windows Fibers issues).
Here is a link to the project home page with full docs:
And a direct link to the download page:
You can find the full changelog and performance comparisons here:
What is LuaJIT?
LuaJIT is a Just-In-Time (JIT) Compiler for Lua 5.1. LuaJIT is
light-weight, efficient and extensible. It's fully compatible with
standard Lua and can significantly boost the performance of your
LuaJIT compiles to x86 (i386+) machine code and supports many
popular operating systems: Linux, *BSD, Mac OS X on Intel,
Solaris x86 and Windows (MSVC or MinGW).
LuaJIT is free software, released under the same license as Lua.