mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Handle fp80 for win64
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50324 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
908865d90f
commit
7255193b4f
@ -165,7 +165,6 @@ def CC_X86_64_C : CallingConv<[
|
||||
// Calling convention used on Win64
|
||||
def CC_X86_Win64_C : CallingConv<[
|
||||
// FIXME: Handle byval stuff.
|
||||
// FIXME: Handle fp80.
|
||||
// FIXME: Handle varargs.
|
||||
|
||||
// Promote i8/i16 arguments to i32.
|
||||
@ -194,6 +193,10 @@ def CC_X86_Win64_C : CallingConv<[
|
||||
// 16-byte aligned if there are no more registers to hold them.
|
||||
CCIfType<[i32, i64, f32, f64], CCAssignToStack<8, 16>>,
|
||||
|
||||
// Long doubles get stack slots whose size and alignment depends on the
|
||||
// subtarget.
|
||||
CCIfType<[f80], CCAssignToStack<0, 0>>,
|
||||
|
||||
// Vectors get 16-byte stack slots that are 16-byte aligned.
|
||||
CCIfType<[v16i8, v8i16, v4i32, v2i64, v4f32, v2f64], CCAssignToStack<16, 16>>,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user