tcg: Make use of bswap flags in tcg_gen_qemu_st_*
commitb53357acb4d2c96adaf4dbf1f21999b0e1cf5bda
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 13 Jun 2021 22:53:43 +0000 (13 15:53 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 29 Jun 2021 17:04:57 +0000 (29 10:04 -0700)
treea66d463214d30e3a641cc71f5097d21f4f11deb1
parent359feba534b3473471d35934ffd66781aaff468d
tcg: Make use of bswap flags in tcg_gen_qemu_st_*

By removing TCG_BSWAP_IZ we indicate that the input is
not zero-extended, and thus can remove an explicit extend.
By removing TCG_BSWAP_OZ, we allow the implementation to
leave high bits set, which will be ignored by the store.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/tcg-op.c