You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/include/tcg
Richard Henderson 04e006ab36 tcg: Reset free_temps before tcg_optimize
When allocating new temps during tcg_optmize, do not re-use
any EBB temps that were used within the TB.  We do not have
any idea what span of the TB in which the temp was live.

Introduce tcg_temp_ebb_reset_freed and use before tcg_optimize,
as well as replacing the equivalent in plugin_gen_inject and
tcg_func_start.

Cc: qemu-stable@nongnu.org
Fixes: fb04ab7ddd ("tcg/optimize: Lower TCG_COND_TST{EQ,NE} if unsupported")
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2711
Reported-by: wannacu <wannacu2049@gmail.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
1 month ago
..
debug-assert.h tcg: Split out tcg/debug-assert.h 2 years ago
debuginfo.h accel/tcg: Move perf and debuginfo support to tcg/ 12 months ago
helper-info.h tcg: Make tcg/helper-info.h self-contained 9 months ago
insn-start-words.h tcg: Add insn_start_words to TCGContext 2 years ago
oversized-guest.h tcg: Split out tcg/oversized-guest.h 2 years ago
perf.h accel/tcg: Move perf and debuginfo support to tcg/ 12 months ago
startup.h tcg: Split out tcg init functions to tcg/startup.h 1 year ago
tcg-cond.h tcg: Introduce TCG_COND_TST{EQ,NE} 12 months ago
tcg-gvec-desc.h tcg: Adjust simd_desc size encoding 4 years ago
tcg-ldst.h accel/tcg: Widen tcg-ldst.h addresses to uint64_t 2 years ago
tcg-mo.h
tcg-op-common.h tcg: Remove INDEX_op_plugin_cb_{start,end} 9 months ago
tcg-op-gvec-common.h tcg: Add write_aofs to GVecGen3i 9 months ago
tcg-op-gvec.h tcg: Split tcg/tcg-op-gvec.h 2 years ago
tcg-op.h tcg: Export tcg_gen_ext_{i32,i64,tl} 1 year ago
tcg-opc.h tcg: Remove INDEX_op_plugin_cb_{start,end} 9 months ago
tcg-temp-internal.h tcg: Reset free_temps before tcg_optimize 1 month ago
tcg.h tcg/riscv: Add basic support for vector 3 months ago