Mercurial > hg > truffle
comparison src/cpu/zero/vm/sharedRuntime_zero.cpp @ 14416:6a936747b569
8024344: PPC64 (part 112): C argument in register AND stack slot.
Summary: On PPC, the first 13 floating point arguments to C calls are passed in floating point registers. Also, all but the first 8 arguments are passed on the stack. So there can be floating point arguments that are passed on the stack and in a register. We duplicate the regs datastructure in c_calling_convention() to represent this.
Reviewed-by: kvn, cjplummer
author | goetz |
---|---|
date | Thu, 12 Sep 2013 13:51:13 -0700 |
parents | e16282db4946 |
children | abec000618bf |
comparison
equal
deleted
inserted
replaced
14415:666e6ce3976c | 14416:6a936747b569 |
---|---|
133 } | 133 } |
134 | 134 |
135 | 135 |
136 int SharedRuntime::c_calling_convention(const BasicType *sig_bt, | 136 int SharedRuntime::c_calling_convention(const BasicType *sig_bt, |
137 VMRegPair *regs, | 137 VMRegPair *regs, |
138 VMRegPair *regs2, | |
138 int total_args_passed) { | 139 int total_args_passed) { |
139 ShouldNotCallThis(); | 140 ShouldNotCallThis(); |
140 return 0; | 141 return 0; |
141 } | 142 } |