qemu-e2k/tcg
Richard Henderson 2911e9b95f tcg/optimize: Fix sign_mask for logical right-shift
The 'sign' computation is attempting to locate the sign bit that has
been repeated, so that we can test if that bit is known zero.  That
computation can be zero if there are no known sign repetitions.

Cc: qemu-stable@nongnu.org
Fixes: 93a967fbb5 ("tcg/optimize: Propagate sign info for shifting")
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2248
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
2024-03-29 12:15:55 -10:00
..
aarch64 tcg/aarch64: Fix tcg_out_brcond for test comparisons 2024-03-12 04:09:21 -10:00
arm tcg/arm: Fix goto_tb for large translation blocks 2024-02-13 07:42:45 -10:00
i386 tcg/i386: Use TEST r,r to test 8/16/32 bits 2024-02-03 23:53:49 +00:00
loongarch64 tcg: Add TCGConst argument to tcg_target_const_match 2024-02-03 23:53:48 +00:00
mips tcg: Add TCGConst argument to tcg_target_const_match 2024-02-03 23:53:48 +00:00
ppc tcg/ppc: Support TCG_COND_TST{EQ,NE} 2024-02-03 23:53:49 +00:00
riscv tcg: Add TCGConst argument to tcg_target_const_match 2024-02-03 23:53:48 +00:00
s390x tcg/s390x: Support TCG_COND_TST{EQ,NE} 2024-02-05 22:45:41 +00:00
sparc64 tcg/sparc64: Support TCG_COND_TST{EQ,NE} 2024-02-03 23:53:49 +00:00
tci tcg/tci: Support TCG_COND_TST{EQ,NE} 2024-02-05 22:45:41 +00:00
debuginfo.c accel/tcg: Move perf and debuginfo support to tcg/ 2024-01-29 21:04:10 +10:00
meson.build accel/tcg: Move perf and debuginfo support to tcg/ 2024-01-29 21:04:10 +10:00
optimize.c tcg/optimize: Fix sign_mask for logical right-shift 2024-03-29 12:15:55 -10:00
perf.c accel/tcg: Move perf and debuginfo support to tcg/ 2024-01-29 21:04:10 +10:00
region.c
tcg-common.c
tcg-internal.h tcg/optimize: Lower TCG_COND_TST{EQ,NE} if unsupported 2024-02-03 23:43:50 +00:00
tcg-ldst.c.inc
tcg-op-gvec.c
tcg-op-ldst.c
tcg-op-vec.c
tcg-op.c
tcg-pool.c.inc
tcg.c tcg: Add TCGConst argument to tcg_target_const_match 2024-02-03 23:53:48 +00:00
tci.c tcg/tci: Support TCG_COND_TST{EQ,NE} 2024-02-05 22:45:41 +00:00