]> git.ipfire.org Git - thirdparty/qemu.git/commit
tcg/tci: Support bswap flags
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 13 Jun 2021 19:34:30 +0000 (12:34 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 29 Jun 2021 17:04:57 +0000 (10:04 -0700)
commit0d57d36af5de88f86e4ec1e1abc716209f791f8f
treef65a866960eb60cf425df71670d704efb2d71daf
parent1fce6534403c7b8741f8eb6a3528142c86c1bd93
tcg/tci: Support bswap flags

The existing interpreter zero-extends, ignoring high bits.
Simply add a separate sign-extension opcode if required.
Ensure that the interpreter supports ext16s when bswap16 is enabled.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/tci.c
tcg/tci/tcg-target.c.inc