[LLVMdev] JIT on Windows x64

Anton Korobeynikov anton at korobeynikov.info
Tue Jun 30 10:15:40 PDT 2009


Hello, David

> I'm new to LLVM and have some questions about using the JIT on Windows
> x64.  I am aware that this is currently broken but am attempting to use
> the hack/patch proposed in this bug
> http://llvm.org/bugs/show_bug.cgi?id=3739.
I have a patch locally which might unbreak win64 (at least tests
reports so). I hope to commit it soon

> Would this have something to do with the stack alignment?
No. AFAIR masm has several stupid limitations:
 1. Only very recent versions support SSE2 stuff
 2. You need to emit some magic directive to allow it understand the
instructions properly

> I am wondering if anybody else has had any success using that patch t
> get Windows x64 JIT to work correctly.  Or if my problem may be unrelated.
I don't see how assembler problems are connected with JIT.

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University




More information about the llvm-dev mailing list