Skip to content

Commit

Permalink
f32/f64 regs are stored on stack if we're short in FP regs
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76036 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
asl committed Jul 16, 2009
1 parent 75eef89 commit 3a9959f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Target/SystemZ/SystemZCallingConv.td
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ def CC_SystemZ : CallingConv<[
// integer registers.
CCIfType<[i64], CCAssignToReg<[R2D, R3D, R4D, R5D, R6D]>>,

// The first 4 ifloating point arguments of non-varargs functions are passed
// The first 4 floating point arguments of non-varargs functions are passed
// in FP registers.
CCIfType<[f32], CCAssignToReg<[F0S, F2S, F4S, F6S]>>,
CCIfType<[f64], CCAssignToReg<[F0L, F2L, F4L, F6L]>>,

// Integer values get stored in stack slots that are 8 bytes in
// size and 8-byte aligned.
CCIfType<[i64], CCAssignToStack<8, 8>>
CCIfType<[i64, f32, f64], CCAssignToStack<8, 8>>
]>;

0 comments on commit 3a9959f

Please sign in to comment.