6da170beda
According to PoP, both 32- and 64-bit shifts use lowest 6 address
bits. The current code special-cases 32-bit shifts to use only 5 bits,
which is not correct. For example, shifting by 32 bits currently
preserves the initial value, however, it's supposed zero it out
instead.
Fix by merging sh32 and sh64 and adapting CC calculation to shift
values greater than 31.
Fixes:
|
||
---|---|---|
.. | ||
cc_helper.c | ||
crypto_helper.c | ||
excp_helper.c | ||
fpu_helper.c | ||
insn-data.def | ||
insn-format.def | ||
int_helper.c | ||
mem_helper.c | ||
meson.build | ||
misc_helper.c | ||
s390-tod.h | ||
tcg_s390x.h | ||
translate_vx.c.inc | ||
translate.c | ||
vec_fpu_helper.c | ||
vec_helper.c | ||
vec_int_helper.c | ||
vec_string_helper.c | ||
vec.h |