OSDN Git Service

tcg/s390: Support bswap flags
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 13 Jun 2021 18:15:41 +0000 (14:15 -0400)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 29 Jun 2021 17:04:57 +0000 (10:04 -0700)
commit1619ee9e93ed8f7bbbae61b946c56bd34713d4ac
treed7105912ffb1d761e3348a0e422e3c80c8cf1d88
parent780b573fcec68bd35878e886bea418c2b74f1fe5
tcg/s390: Support bswap flags

For INDEX_op_bswap16_i64, use 64-bit instructions so that we can
easily provide the extension to 64-bits.  Drop the special case,
previously used, where the input is already zero-extended -- the
minor code size savings is not worth the complication.

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