mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
tcg: Add flags argument to tcg_gen_bswap16_*, tcg_gen_bswap32_i64
Implement the new semantics in the fallback expansion. Change all callers to supply the flags that keep the semantics unchanged locally. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
0b76ff8f1b
commit
2b836c2ac1
8 changed files with 99 additions and 54 deletions
|
@ -861,7 +861,7 @@ static void gen_mxu_s32ldd_s32lddr(DisasContext *ctx)
|
|||
|
||||
if (sel == 1) {
|
||||
/* S32LDDR */
|
||||
tcg_gen_bswap32_tl(t1, t1);
|
||||
tcg_gen_bswap32_tl(t1, t1, TCG_BSWAP_IZ | TCG_BSWAP_OZ);
|
||||
}
|
||||
gen_store_mxu_gpr(t1, XRa);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue