]> Git Repo - qemu.git/commitdiff
tcg-arm: Use R12 for the tcg temporary
authorRichard Henderson <[email protected]>
Tue, 12 Mar 2013 16:50:25 +0000 (09:50 -0700)
committerAurelien Jarno <[email protected]>
Sat, 27 Apr 2013 00:16:44 +0000 (02:16 +0200)
R12 is call clobbered, while R8 is call saved.  This change
gives tcg one more call saved register for real data.

Reviewed-by: Aurelien Jarno <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
tcg/arm/tcg-target.c

index cc442b66f13394a5ed58ba8513b9a82494ec4f27..ff75379f5530785594bd5645d2cf26d6dc25cec2 100644 (file)
@@ -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)
 {
This page took 0.024886 seconds and 4 git commands to generate.