comparison src/cpu/x86/vm/x86_64.ad @ 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 740e263c80c6
children 2b8e28fdf503
comparison
equal deleted inserted replaced
14415:666e6ce3976c 14416:6a936747b569
2939 %} 2939 %}
2940 2940
2941 c_calling_convention 2941 c_calling_convention
2942 %{ 2942 %{
2943 // This is obviously always outgoing 2943 // This is obviously always outgoing
2944 (void) SharedRuntime::c_calling_convention(sig_bt, regs, length); 2944 (void) SharedRuntime::c_calling_convention(sig_bt, regs, /*regs2=*/NULL, length);
2945 %} 2945 %}
2946 2946
2947 // Location of compiled Java return values. Same as C for now. 2947 // Location of compiled Java return values. Same as C for now.
2948 return_value 2948 return_value
2949 %{ 2949 %{