tcg-arm: Use R12 for the tcg temporary
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>
This commit is contained in:
parent
4346457a47
commit
13dd6fb962
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user