[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 40/70] tcg/tci: Move call-return regs to end of tcg_target_reg
From: |
Richard Henderson |
Subject: |
[PATCH v3 40/70] tcg/tci: Move call-return regs to end of tcg_target_reg_alloc_order |
Date: |
Sun, 7 Feb 2021 18:37:22 -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 v3 39/70] tcg/tci: Improve tcg_target_call_clobber_regs, (continued)
- [PATCH v3 39/70] tcg/tci: Improve tcg_target_call_clobber_regs, Richard Henderson, 2021/02/07
- [PATCH v3 38/70] tcg/tci: Use ffi for calls, Richard Henderson, 2021/02/07
- [PATCH v3 25/70] tcg/tci: Split out tci_args_ri and tci_args_rI, Richard Henderson, 2021/02/07
- [PATCH v3 37/70] tcg: Build ffi data structures for helpers, Richard Henderson, 2021/02/07
- [PATCH v3 34/70] tcg/tci: Hoist op_size checking into tci_args_*, Richard Henderson, 2021/02/07
- [PATCH v3 36/70] tcg/tci: Implement the disassembler properly, Richard Henderson, 2021/02/07
- [PATCH v3 29/70] tcg/tci: Split out tci_args_rrrrrr, Richard Henderson, 2021/02/07
- [PATCH v3 35/70] tcg/tci: Remove tci_disas, Richard Henderson, 2021/02/07
- [PATCH v3 32/70] tcg/tci: Reduce qemu_ld/st TCGMemOpIdx operand to 32-bits, Richard Henderson, 2021/02/07
- [PATCH v3 30/70] tcg/tci: Split out tci_args_rrrr, Richard Henderson, 2021/02/07
- [PATCH v3 40/70] tcg/tci: Move call-return regs to end of tcg_target_reg_alloc_order,
Richard Henderson <=
- [PATCH v3 41/70] tcg/tci: Push opcode emit into each case, Richard Henderson, 2021/02/07
- [PATCH v3 42/70] tcg/tci: Split out tcg_out_op_rrs, Richard Henderson, 2021/02/07
- [PATCH v3 43/70] tcg/tci: Split out tcg_out_op_l, Richard Henderson, 2021/02/07
- [PATCH v3 44/70] tcg/tci: Split out tcg_out_op_p, Richard Henderson, 2021/02/07
- [PATCH v3 46/70] tcg/tci: Split out tcg_out_op_rrr, Richard Henderson, 2021/02/07
- [PATCH v3 45/70] tcg/tci: Split out tcg_out_op_rr, Richard Henderson, 2021/02/07
- [PATCH v3 47/70] tcg/tci: Split out tcg_out_op_rrrc, Richard Henderson, 2021/02/07
- [PATCH v3 48/70] tcg/tci: Split out tcg_out_op_rrrrrc, Richard Henderson, 2021/02/07
- [PATCH v3 49/70] tcg/tci: Split out tcg_out_op_rrrbb, Richard Henderson, 2021/02/07
- [PATCH v3 50/70] tcg/tci: Split out tcg_out_op_rrcl, Richard Henderson, 2021/02/07