tcg/arm: Support bswap flags
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 13 Jun 2021 07:42:55 +0000 (00:42 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 29 Jun 2021 17:04:57 +0000 (10:04 -0700)
commit2ec89a78a518c4275c6a56ba51b6e1b8ab9e8199
tree142dee654486e6d33c5a49ddc696bd0d1ade7958
parent8fcfc6bff61f1faf0a530b4fae292931a39cc32b
tcg/arm: Support bswap flags

Combine the three bswap16 routines, and differentiate via the flags.
Use the correct flags combination from the load/store routines, and
pass along the constant parameter from tcg_out_op.

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