Message ID | 1364484781-15561-12-git-send-email-rth@twiddle.net |
---|---|
State | New |
Headers | show |
diff --git a/tcg/arm/tcg-target.c b/tcg/arm/tcg-target.c index 90440fb..d7b8b88 100644 --- a/tcg/arm/tcg-target.c +++ b/tcg/arm/tcg-target.c @@ -113,7 +113,7 @@ static const int tcg_target_call_oarg_regs[2] = { TCG_REG_R0, TCG_REG_R1 }; -#define TCG_REG_TMP TCG_REG_R8 +#define TCG_REG_TMP TCG_REG_R12 static inline void reloc_abs32(void *code_ptr, tcg_target_long target) {
R12 is call clobbered, while R8 is call saved. This change gives tcg one more call saved register for real data. Signed-off-by: Richard Henderson <rth@twiddle.net> --- tcg/arm/tcg-target.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)