mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-10 18:34:09 +00:00
X86: Add MS-CRT libcalls.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116801 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
87b8665878
commit
94f7eeb84d
@ -101,9 +101,11 @@ X86TargetLowering::X86TargetLowering(X86TargetMachine &TM)
|
||||
setLibcallName(RTLIB::SDIV_I64, "_alldiv");
|
||||
setLibcallName(RTLIB::UDIV_I64, "_aulldiv");
|
||||
setLibcallName(RTLIB::FPTOUINT_F64_I64, "_ftol2");
|
||||
setLibcallName(RTLIB::FPTOUINT_F32_I64, "_ftol2");
|
||||
setLibcallCallingConv(RTLIB::SDIV_I64, CallingConv::X86_StdCall);
|
||||
setLibcallCallingConv(RTLIB::UDIV_I64, CallingConv::X86_StdCall);
|
||||
setLibcallCallingConv(RTLIB::FPTOUINT_F64_I64, CallingConv::X86_StdCall);
|
||||
setLibcallCallingConv(RTLIB::FPTOUINT_F32_I64, CallingConv::X86_StdCall);
|
||||
}
|
||||
|
||||
if (Subtarget->isTargetDarwin()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user