qemu-e2k/target
Richard Henderson 05bfd4db08 target/hppa: Fix deposit assert from trans_shrpw_imm
Because sa may be 0,

    tcg_gen_deposit_reg(dest, t0, cpu_gr[a->r1], 32 - sa, sa);

may attempt a zero-width deposit at bit 32, which will assert
for TARGET_REGISTER_BITS == 32.

Use the newer extract2 when possible, which itself includes the
rotri special case; otherwise mirror the code from trans_shrpw_sar,
using concat and shri.

Cc: qemu-stable@nongnu.org
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/635
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2021-12-23 17:47:01 -08:00
..
alpha
arm target/arm: Correct calculation of tlb range invalidate length 2021-12-15 10:35:26 +00:00
avr
cris
hexagon target/hexagon/cpu.h: don't include qemu-common.h 2021-12-15 10:35:26 +00:00
hppa target/hppa: Fix deposit assert from trans_shrpw_imm 2021-12-23 17:47:01 -08:00
i386 target/i386/kvm: Replace use of __u32 type 2021-12-17 10:40:51 +01:00
m68k
microblaze
mips MIPS patches queue 2021-11-02 15:12:11 -04:00
nios2
openrisc
ppc PPC64/TCG: Implement 'rfebb' instruction 2021-12-17 17:57:19 +01:00
riscv target/riscv: Enable bitmanip Zb[abcs] instructions 2021-12-20 14:53:31 +10:00
rx target/rx/cpu.h: Don't include qemu-common.h 2021-12-15 10:35:26 +00:00
s390x s390: kvm: adjust diag318 resets to retain data 2021-12-17 09:12:37 +01:00
sh4
sparc
tricore
xtensa Trivial patches branch pull request 20211101 v2 2021-11-03 11:24:09 -04:00
Kconfig
meson.build