diff options
author | Richard Henderson <rth@twiddle.net> | 2014-04-15 09:10:16 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2014-05-24 08:45:48 -0700 |
commit | f216a35f364df893519656648677a7629a36de9e (patch) | |
tree | b2e54f3e99fca69df5dc04af646d1206eb2a5622 /tcg/mips/tcg-target.c | |
parent | 6c530e32f4d2edacf870d88fd733af3442f2f0f1 (diff) |
tcg-mips: Use T9 for TCG_TMP1
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.
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'tcg/mips/tcg-target.c')
-rw-r--r-- | tcg/mips/tcg-target.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/mips/tcg-target.c b/tcg/mips/tcg-target.c index 54c91479a7..78caf25c3a 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[] = { |