search for: ghccalleesavedregs64bit

Displaying 3 results from an estimated 3 matches for "ghccalleesavedregs64bit".

2010 Mar 03
0
[LLVMdev] [PATCH] New calling convention for use by GHC
...- return CalleeSavedRegsWin64; + return (ghcCall ? GhcCalleeSavedRegsWin64 : CalleeSavedRegsWin64); else - return (callsEHReturn ? CalleeSavedRegs64EHRet : CalleeSavedRegs64Bit); + if (ghcCall) + return (callsEHReturn ? + GhcCalleeSavedRegs64EHRet : GhcCalleeSavedRegs64Bit); + else + return (callsEHReturn ? CalleeSavedRegs64EHRet : CalleeSavedRegs64Bit); Seems like it could be simplified. Have you tested the Win64 support? It isn't clear why your patch needs to depend on the host ABI here. Also, does EHRet matter for your calling conv? 4) In X86...
2010 Mar 07
1
[LLVMdev] [PATCH] New calling convention for use by GHC
...in64; > + return (ghcCall ? GhcCalleeSavedRegsWin64 : CalleeSavedRegsWin64); > else > - return (callsEHReturn ? CalleeSavedRegs64EHRet : CalleeSavedRegs64Bit); > + if (ghcCall) > + return (callsEHReturn ? > + GhcCalleeSavedRegs64EHRet : GhcCalleeSavedRegs64Bit); > + else > + return (callsEHReturn ? CalleeSavedRegs64EHRet : CalleeSavedRegs64Bit); > > Seems like it could be simplified. Have you tested the Win64 support? > It isn't clear why your patch needs to depend on the host ABI here. > Also, does EHRet matter for y...
2010 Mar 03
2
[LLVMdev] [PATCH] New calling convention for use by GHC
Hi all, As previously mentioned on this list the Haskell compiler GHC has a new LLVM based back-end. The back-end needs a new calling convention to efficiently use LLVM and that is what this patch does, just for X86 at the moment. Breakdown: 1) Need actual calling convention Touches: - include/llvm/CallingConv.h - lib/Target/X86/X86CallingConv.td 2) Handling new calling