Re: ANN: LuaJIT 1.1.1 released
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: ANN: LuaJIT 1.1.1 released
- From: Michael Wolf <miwo@...>
- Date: 2006年6月22日 22:02:57 +0200
Hi,
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
error:
#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?
BR
Michael
PS: Please excuse my poor english!
Mike Pall wrote:
Hi,
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:
http://luajit.luaforge.net/luajit.html
And a direct link to the download page:
http://luajit.luaforge.net/download.html
You can find the full changelog and performance comparisons here:
http://luajit.luaforge.net/luajit_changes.html
http://luajit.luaforge.net/luajit_performance.html
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
Lua programs.
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.
Bye,
Mike