projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4346457
)
tcg-arm: Use R12 for the tcg temporary
author
Richard Henderson
<rth@twiddle.net>
Tue, 12 Mar 2013 16:50:25 +0000
(09:50 -0700)
committer
Aurelien Jarno
<aurelien@aurel32.net>
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 <aurelien@aurel32.net>
Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/arm/tcg-target.c
patch
|
blob
|
history
diff --git
a/tcg/arm/tcg-target.c
b/tcg/arm/tcg-target.c
index cc442b66f13394a5ed58ba8513b9a82494ec4f27..ff75379f5530785594bd5645d2cf26d6dc25cec2 100644
(file)
--- 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_R
8
+#define TCG_REG_TMP TCG_REG_R
12
static inline void reloc_abs32(void *code_ptr, tcg_target_long target)
{