qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 11/24] tcg-mips: Use T9 for TCG_TMP1


From: Richard Henderson
Subject: [Qemu-devel] [PATCH 11/24] tcg-mips: Use T9 for TCG_TMP1
Date: Wed, 14 May 2014 00:17:28 -0700

T0 is an argument register for the n32 and n64 abis.  T9 is the call
address register for the abis, and is more directly under the control
of the backend.

Signed-off-by: Richard Henderson <address@hidden>
---
 tcg/mips/tcg-target.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tcg/mips/tcg-target.c b/tcg/mips/tcg-target.c
index 54c9147..78caf25 100644
--- a/tcg/mips/tcg-target.c
+++ b/tcg/mips/tcg-target.c
@@ -73,7 +73,7 @@ static const char * const 
tcg_target_reg_names[TCG_TARGET_NB_REGS] = {
 #endif
 
 #define TCG_TMP0  TCG_REG_AT
-#define TCG_TMP1  TCG_REG_T0
+#define TCG_TMP1  TCG_REG_T9
 
 /* check if we really need so many registers :P */
 static const TCGReg tcg_target_reg_alloc_order[] = {
-- 
1.9.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]