[LLVMdev] JIT on Windows x64

David Bertouille dbertouille at franticfilms.com
Tue Jun 30 08:37:17 PDT 2009


Hi,
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 checked out the revision the patch was created for (66183) and applied 
it but the assembler generated seems to fail whenever it reaches a 
movaps insctruction.
eg.
  movaps      xmmword ptr [rsp+20h],xmm8
  movaps      xmmword ptr [rsp+30h],xmm7
  movaps      xmmword ptr [rsp+40h],xmm6

Would this have something to do with the stack alignment?

I am wondering if anybody else has had any success using that patch to 
get Windows x64 JIT to work correctly.  Or if my problem may be unrelated.

Any suggestions would be useful.






More information about the llvm-dev mailing list