search for: ghccalleesavedregswin64

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

2010 Mar 03
0
[LLVMdev] [PATCH] New calling convention for use by GHC
...t an X86 prefix. If not, it should move up to be #10 after Cold. 2) In either case, please document the new calling convention in docs/LangRef.html#callingconv 3) IN X86RegisterInfo.cpp, this patch: if (Is64Bit) { if (IsWin64) - return CalleeSavedRegsWin64; + return (ghcCall ? GhcCalleeSavedRegsWin64 : CalleeSavedRegsWin64); else - return (callsEHReturn ? CalleeSavedRegs64EHRet : CalleeSavedRegs64Bit); + if (ghcCall) + return (callsEHReturn ? + GhcCalleeSavedRegs64EHRet : GhcCalleeSavedRegs64Bit); + else + return (callsEHReturn ? CalleeSavedReg...
2010 Mar 07
1
[LLVMdev] [PATCH] New calling convention for use by GHC
...emented on SPARC next. > 2) In either case, please document the new calling convention in docs/LangRef.html#callingconv Done. > 3) IN X86RegisterInfo.cpp, this patch: > > if (Is64Bit) { > if (IsWin64) > - return CalleeSavedRegsWin64; > + return (ghcCall ? GhcCalleeSavedRegsWin64 : CalleeSavedRegsWin64); > else > - return (callsEHReturn ? CalleeSavedRegs64EHRet : CalleeSavedRegs64Bit); > + if (ghcCall) > + return (callsEHReturn ? > + GhcCalleeSavedRegs64EHRet : GhcCalleeSavedRegs64Bit); > + else > + re...
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