tcg-ppc64: Fix TCG_TARGET_CALL_STACK_OFFSET
commit5456788db7982938db6600d6308fd2f449b40d5c
authorRichard Henderson <rth@twiddle.net>
Tue, 25 Mar 2014 15:32:04 +0000 (25 08:32 -0700)
committerRichard Henderson <rth@twiddle.net>
Mon, 23 Jun 2014 14:31:29 +0000 (23 07:31 -0700)
tree9ee277e9c1176d8605676a047fa7d7e23bcd2b66
parenta921fddcc1c9aae30c89e408f1e31e831a0a4389
tcg-ppc64: Fix TCG_TARGET_CALL_STACK_OFFSET

The calling convention reserves space for the 8 register parameters on
the stack, so using only 6*8=48 as the offset was wrong.  We never saw
this bug because we don't have any helpers with more than 5 parameters.

Tested-by: Tom Musta <tommusta@gmail.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/ppc64/tcg-target.c