[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v5 25/57] tcg/tci: Move call-return regs to end of tcg_target_reg
From: |
Richard Henderson |
Subject: |
[PATCH v5 25/57] tcg/tci: Move call-return regs to end of tcg_target_reg_alloc_order |
Date: |
Thu, 11 Mar 2021 08:39:26 -0600 |
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
- [PATCH v5 20/57] tcg/tci: Remove tci_disas, (continued)
- [PATCH v5 20/57] tcg/tci: Remove tci_disas, Richard Henderson, 2021/03/11
- [PATCH v5 24/57] tcg/tci: Improve tcg_target_call_clobber_regs, Richard Henderson, 2021/03/11
- [PATCH v5 16/57] tcg/tci: Clean up deposit operations, Richard Henderson, 2021/03/11
- [PATCH v5 22/57] tcg: Build ffi data structures for helpers, Richard Henderson, 2021/03/11
- [PATCH v5 21/57] tcg/tci: Implement the disassembler properly, Richard Henderson, 2021/03/11
- [PATCH v5 25/57] tcg/tci: Move call-return regs to end of tcg_target_reg_alloc_order,
Richard Henderson <=
- [PATCH v5 23/57] tcg/tci: Use ffi for calls, Richard Henderson, 2021/03/11
- [PATCH v5 28/57] tcg/tci: Split out tcg_out_op_l, Richard Henderson, 2021/03/11
- [PATCH v5 27/57] tcg/tci: Split out tcg_out_op_rrs, Richard Henderson, 2021/03/11
- [PATCH v5 26/57] tcg/tci: Push opcode emit into each case, Richard Henderson, 2021/03/11
- [PATCH v5 34/57] tcg/tci: Split out tcg_out_op_rrrbb, Richard Henderson, 2021/03/11
- [PATCH v5 38/57] tcg/tci: Split out tcg_out_op_rrrrcl, Richard Henderson, 2021/03/11