349372ff9e
The expression "imm * 2" in gen_ri2() can wrap around if imm is large
enough.
Fix by casting imm to int64_t, like it's done in disas_jdest().
Fixes:
|
||
---|---|---|
.. | ||
cc_helper.c | ||
crypto_helper.c | ||
excp_helper.c | ||
fpu_helper.c | ||
insn-data.h.inc | ||
insn-format.h.inc | ||
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 |