diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2021-01-29 22:01:11 -1000 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2021-03-17 07:24:44 -0600 |
commit | 158d38737bb4f23ef66b149e0897270dcaacfd12 (patch) | |
tree | 1d5c2c236ab359e2cd48f8cc8424265a63d3d599 /tcg/tci | |
parent | 2ed8a3819219d3e0d57ec3990760b9d9fcece00b (diff) | |
download | qemu-158d38737bb4f23ef66b149e0897270dcaacfd12.zip qemu-158d38737bb4f23ef66b149e0897270dcaacfd12.tar.gz qemu-158d38737bb4f23ef66b149e0897270dcaacfd12.tar.bz2 |
tcg/tci: Reuse tci_args_l for exit_tb
Do not emit a uint64_t, but a tcg_target_ulong, aka uintptr_t.
This reduces the size of the constant on 32-bit hosts.
The assert for label != NULL has to be removed because that
is a valid value for exit_tb.
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/tci')
-rw-r--r-- | tcg/tci/tcg-target.c.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/tci/tcg-target.c.inc b/tcg/tci/tcg-target.c.inc index c79f9c3..ff80405 100644 --- a/tcg/tci/tcg-target.c.inc +++ b/tcg/tci/tcg-target.c.inc @@ -401,7 +401,7 @@ static void tcg_out_op(TCGContext *s, TCGOpcode opc, const TCGArg *args, switch (opc) { case INDEX_op_exit_tb: - tcg_out64(s, args[0]); + tcg_out_i(s, args[0]); break; case INDEX_op_goto_tb: |