xemu/tcg
Richard Henderson 83ac625c2b tcg: Propagate new TCGOp to add_as_label_use
The use of tcg_last_op does not interact well with
TCGContext.emit_before_op, resulting in the label
being linked to something other than the branch op.

In this case it is easier to simply collect the emitted
branch op and pass it directly to add_as_label_use.

Reported-by: Elisha Hollander <just4now666666@gmail.com>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2024-09-22 06:54:49 +02:00
..
aarch64 tcg/aarch64: Support TCG_TARGET_HAS_tst_vec 2024-05-22 19:05:25 -07:00
arm tcg/arm: Support TCG_TARGET_HAS_tst_vec 2024-05-22 19:05:26 -07:00
i386 Revert "host/i386: assume presence of POPCNT" 2024-06-28 14:44:51 +02:00
loongarch64 tcg/loongarch64: Fix tcg_out_movi vs some pcrel pointers 2024-06-19 13:50:22 -07:00
mips
ppc tcg/ppc: Sync tcg_out_test and constraints 2024-08-08 09:03:35 +10:00
riscv util/cpuinfo-riscv: Support host/cpuinfo.h for riscv 2024-07-03 10:24:12 -07:00
s390x tcg: Introduce TCG_TARGET_HAS_tst_vec 2024-05-22 19:05:21 -07:00
sparc64
tci
debuginfo.c
meson.build meson: Drop the .fa library suffix 2024-07-03 18:41:26 +02:00
optimize.c tcg/optimize: Fix TCG_COND_TST* simplification of setcond2 2024-07-03 10:24:12 -07:00
perf.c
region.c
tcg-common.c
tcg-internal.h tcg: Return TCGOp from tcg_gen_op[1-6] 2024-09-22 06:54:49 +02:00
tcg-ldst.c.inc
tcg-op-gvec.c tcg: Add write_aofs to GVecGen3i 2024-05-06 12:55:50 -07:00
tcg-op-ldst.c plugins: Use emit_before_op for PLUGIN_GEN_FROM_MEM 2024-04-30 16:12:05 -07:00
tcg-op-vec.c tcg: Expand TCG_COND_TST* if not TCG_TARGET_HAS_tst_vec 2024-05-22 19:05:25 -07:00
tcg-op.c tcg: Propagate new TCGOp to add_as_label_use 2024-09-22 06:54:49 +02:00
tcg-pool.c.inc
tcg.c plugins: Merge alloc_tcg_plugin_context into plugin_gen_tb_start 2024-05-15 08:55:18 +02:00
tci.c tcg: Make tcg/helper-info.h self-contained 2024-04-30 16:12:05 -07:00