Re: [PATCH 28/28] tcg/riscv: Remove MO_BSWAP handling

2021-06-17 Thread Alistair Francis
On Mon, Jun 14, 2021 at 6:54 PM Richard Henderson wrote: > > 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. > >

[PATCH 28/28] tcg/riscv: Remove MO_BSWAP handling

2021-06-14 Thread Richard Henderson
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