[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 40/71] tcg/tci: Move call-return regs to end of tcg_target_reg
From: |
Richard Henderson |
Subject: |
[PATCH v4 40/71] tcg/tci: Move call-return regs to end of tcg_target_reg_alloc_order |
Date: |
Wed, 17 Feb 2021 12:20:05 -0800 |
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 v4 28/71] tcg/tci: Reuse tci_args_l for goto_tb, (continued)
- [PATCH v4 28/71] tcg/tci: Reuse tci_args_l for goto_tb, Richard Henderson, 2021/02/17
- [PATCH v4 32/71] tcg/tci: Reduce qemu_ld/st TCGMemOpIdx operand to 32-bits, Richard Henderson, 2021/02/17
- [PATCH v4 33/71] tcg/tci: Split out tci_args_{rrm,rrrm,rrrrm}, Richard Henderson, 2021/02/17
- [PATCH v4 29/71] tcg/tci: Split out tci_args_rrrrrr, Richard Henderson, 2021/02/17
- [PATCH v4 35/71] tcg/tci: Remove tci_disas, Richard Henderson, 2021/02/17
- [PATCH v4 34/71] tcg/tci: Hoist op_size checking into tci_args_*, Richard Henderson, 2021/02/17
- [PATCH v4 36/71] tcg/tci: Implement the disassembler properly, Richard Henderson, 2021/02/17
- [PATCH v4 37/71] tcg: Build ffi data structures for helpers, Richard Henderson, 2021/02/17
- [PATCH v4 38/71] tcg/tci: Use ffi for calls, Richard Henderson, 2021/02/17
- [PATCH v4 39/71] tcg/tci: Improve tcg_target_call_clobber_regs, Richard Henderson, 2021/02/17
- [PATCH v4 40/71] tcg/tci: Move call-return regs to end of tcg_target_reg_alloc_order,
Richard Henderson <=
- [PATCH v4 41/71] tcg/tci: Push opcode emit into each case, Richard Henderson, 2021/02/17
- [PATCH v4 42/71] tcg/tci: Split out tcg_out_op_rrs, Richard Henderson, 2021/02/17
- [PATCH v4 43/71] tcg/tci: Split out tcg_out_op_l, Richard Henderson, 2021/02/17
- [PATCH v4 44/71] tcg/tci: Split out tcg_out_op_p, Richard Henderson, 2021/02/17
- [PATCH v4 45/71] tcg/tci: Split out tcg_out_op_rr, Richard Henderson, 2021/02/17
- [PATCH v4 46/71] tcg/tci: Split out tcg_out_op_rrr, Richard Henderson, 2021/02/17
- [PATCH v4 47/71] tcg/tci: Split out tcg_out_op_rrrc, Richard Henderson, 2021/02/17
- [PATCH v4 48/71] tcg/tci: Split out tcg_out_op_rrrrrc, Richard Henderson, 2021/02/17
- [PATCH v4 49/71] tcg/tci: Split out tcg_out_op_rrrbb, Richard Henderson, 2021/02/17
- [PATCH v4 50/71] tcg/tci: Split out tcg_out_op_rrcl, Richard Henderson, 2021/02/17