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:
Anton Korobeynikov 2008-04-27 22:54:09 +00:00
parent 908865d90f
commit 7255193b4f

View File

@ -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>>,