tcg/tci: Remove tci_read_r16
commit0dd0170cb1f697f4d8b8d6fa0243363f22c9649e
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 29 Jan 2021 21:26:34 +0000 (29 11:26 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Sat, 6 Mar 2021 19:45:21 +0000 (6 11:45 -0800)
treec62f695be3ae55280513932648cb22b4679f4a98
parent9758c8cbbdeaefc4e065c7614a6d10c9db810c25
tcg/tci: Remove tci_read_r16

Use explicit casts for ext16u opcodes, and allow truncation
to happen with the store for st16 opcodes, and with the call
for bswap16 opcodes.

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