tcg/riscv: Remove MO_BSWAP handling
commitc86bd2dc4c1d37653c27293b2dacee6bb46bb995
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 14 Jun 2021 00:12:49 +0000 (13 17:12 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 29 Jun 2021 17:04:57 +0000 (29 10:04 -0700)
tree61391b9c4498448412df48c23a87effbf4e55ab7
parent51c559c761de3ee94b06e931454d86995d86d013
tcg/riscv: Remove MO_BSWAP handling

TCG_TARGET_HAS_MEMORY_BSWAP is already unset for this backend,
which means that MO_BSWAP be handled by the middle-end and
will never be seen by the backend.  Thus the indexes used with
qemu_{ld,st}_helpers will always be zero.

Tidy the comments and asserts in tcg_out_qemu_{ld,st}_direct.
It is not that we do not handle bswap "yet", but never will.

Acked-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/riscv/tcg-target.c.inc