summaryrefslogtreecommitdiffstats
path: root/tcg/tci/tcg-target.inc.c
diff options
context:
space:
mode:
authorRichard Henderson2017-12-13 23:52:57 +0100
committerRichard Henderson2017-12-29 21:43:40 +0100
commit1df3caa946e08b387511dfba3a37d78910e51796 (patch)
tree2ece3af901a3571120c0f2747ef6d213e45a2049 /tcg/tci/tcg-target.inc.c
parenttcg: Add tcg_signed_cond (diff)
downloadqemu-1df3caa946e08b387511dfba3a37d78910e51796.tar.gz
qemu-1df3caa946e08b387511dfba3a37d78910e51796.tar.xz
qemu-1df3caa946e08b387511dfba3a37d78910e51796.zip
tcg: Allow 6 arguments to TCG helpers
We already handle this in the backends, and the lifetime datum for the TCGOp is already large enough. Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/tci/tcg-target.inc.c')
-rw-r--r--tcg/tci/tcg-target.inc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tcg/tci/tcg-target.inc.c b/tcg/tci/tcg-target.inc.c
index 913c3802a3..cc949bea85 100644
--- a/tcg/tci/tcg-target.inc.c
+++ b/tcg/tci/tcg-target.inc.c
@@ -292,7 +292,7 @@ static const int tcg_target_reg_alloc_order[] = {
#endif
};
-#if MAX_OPC_PARAM_IARGS != 5
+#if MAX_OPC_PARAM_IARGS != 6
# error Fix needed, number of supported input arguments changed!
#endif
@@ -305,14 +305,16 @@ static const int tcg_target_call_iarg_regs[] = {
TCG_REG_R4,
#endif
TCG_REG_R5,
+ TCG_REG_R6,
#if TCG_TARGET_REG_BITS == 32
/* 32 bit hosts need 2 * MAX_OPC_PARAM_IARGS registers. */
- TCG_REG_R6,
TCG_REG_R7,
#if TCG_TARGET_NB_REGS >= 16
TCG_REG_R8,
TCG_REG_R9,
TCG_REG_R10,
+ TCG_REG_R11,
+ TCG_REG_R12,
#else
# error Too few input registers available
#endif