[LLVMdev] Windows x64 support

Nicolas Capens nicolas at capens.net
Thu Oct 23 08:16:55 PDT 2008

Hi Nicholas,

You're right, it's an ABI issue. I opened a bug report
(http://llvm.org/bugs/show_bug.cgi?id=2801) and found a workaround but it
never got committed entirely so things are still broken. It should probably
be reopened, have my workaround committed, and then later a proper fix that
doesn't cost (a tiny bit of) performance could be done.

Kind regards,

Nicolas Capens

-----Original Message-----
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On
Behalf Of Nicholas Chapman
Sent: Thursday, 23 October, 2008 14:57
To: LLVM Developers Mailing List
Subject: [LLVMdev] Windows x64 support

I'm using LLVM for JIT compilation of shaders for my ray tracer 
My primary development target is 32 bit and 64 bit Windows.
JIT compilation of shaders is working great for x86 code, but for x64 
code LLVM doesn't really work, due to ABI incompatibilties in the form 
of calling convention errors with x64 windows, I think.

Anyway, my questions are as follows:  Is x64 JIT on Windows supposed to 
work currently?  If not, is x64 JIT on Windows a LLVM development goal?  
And if so, is there a time-line or roadmap for achieving such a goal?

    Nicholas Chapman

LLVM Developers mailing list
LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu

More information about the llvm-dev mailing list