[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 65/93] tcg/tci: Move call-return regs to end of tcg_target_reg
From: |
Richard Henderson |
Subject: |
[PATCH v2 65/93] tcg/tci: Move call-return regs to end of tcg_target_reg_alloc_order |
Date: |
Wed, 3 Feb 2021 15:44:41 -1000 |
As the only call-clobbered regs for TCI, these should
receive the least priority.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
tcg/tci/tcg-target.c.inc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tcg/tci/tcg-target.c.inc b/tcg/tci/tcg-target.c.inc
index 4dae09deda..53edc50a3b 100644
--- a/tcg/tci/tcg-target.c.inc
+++ b/tcg/tci/tcg-target.c.inc
@@ -170,8 +170,6 @@ static TCGConstraintSetIndex tcg_target_op_def(TCGOpcode op)
}
static const int tcg_target_reg_alloc_order[] = {
- TCG_REG_R0,
- TCG_REG_R1,
TCG_REG_R2,
TCG_REG_R3,
TCG_REG_R4,
@@ -186,6 +184,8 @@ static const int tcg_target_reg_alloc_order[] = {
TCG_REG_R13,
TCG_REG_R14,
TCG_REG_R15,
+ TCG_REG_R1,
+ TCG_REG_R0,
};
#if MAX_OPC_PARAM_IARGS != 6
--
2.25.1
- Re: [PATCH v2 63/93] tcg/tci: Use ffi for calls, (continued)
- Re: [PATCH v2 63/93] tcg/tci: Use ffi for calls, Stefan Weil, 2021/02/07
- Re: [PATCH v2 63/93] tcg/tci: Use ffi for calls, Peter Maydell, 2021/02/08
- Re: [PATCH v2 63/93] tcg/tci: Use ffi for calls, Paolo Bonzini, 2021/02/08
- Re: [PATCH v2 63/93] tcg/tci: Use ffi for calls, Stefan Weil, 2021/02/08
- Re: [PATCH v2 63/93] tcg/tci: Use ffi for calls, Richard Henderson, 2021/02/08
- Re: [PATCH v2 63/93] tcg/tci: Use ffi for calls, Stefan Weil, 2021/02/08
- Re: [PATCH v2 63/93] tcg/tci: Use ffi for calls, Richard Henderson, 2021/02/08
- Re: [PATCH v2 63/93] tcg/tci: Use ffi for calls, Richard Henderson, 2021/02/09
- Re: [PATCH v2 63/93] tcg/tci: Use ffi for calls, Stefan Weil, 2021/02/09
- Re: [PATCH v2 63/93] tcg/tci: Use ffi for calls, Stefan Weil, 2021/02/09
[PATCH v2 65/93] tcg/tci: Move call-return regs to end of tcg_target_reg_alloc_order,
Richard Henderson <=
[PATCH v2 66/93] tcg/tci: Push opcode emit into each case, Richard Henderson, 2021/02/03
[PATCH v2 64/93] tcg/tci: Improve tcg_target_call_clobber_regs, Richard Henderson, 2021/02/03
[PATCH v2 67/93] tcg/tci: Split out tcg_out_op_rrs, Richard Henderson, 2021/02/03
[PATCH v2 69/93] tcg/tci: Split out tcg_out_op_p, Richard Henderson, 2021/02/03
[PATCH v2 71/93] tcg/tci: Split out tcg_out_op_rrr, Richard Henderson, 2021/02/03
[PATCH v2 74/93] tcg/tci: Split out tcg_out_op_rrrbb, Richard Henderson, 2021/02/03
[PATCH v2 72/93] tcg/tci: Split out tcg_out_op_rrrc, Richard Henderson, 2021/02/03
[PATCH v2 73/93] tcg/tci: Split out tcg_out_op_rrrrrc, Richard Henderson, 2021/02/03
[PATCH v2 68/93] tcg/tci: Split out tcg_out_op_l, Richard Henderson, 2021/02/03
[PATCH v2 78/93] tcg/tci: Split out tcg_out_op_rrrrcl, Richard Henderson, 2021/02/03