On 6/5/2026 7:50 AM, Jakub Jelinek wrote:
I don't have setup to test this on riscv, but can test on x86_64/i686.
2026-06-05 Jakub Jelinek <[email protected]>
* gimple-ssa-store-merging.cc (maybe_optimize_vector_constructor):
Also support bswap32 if bswapdi2 expander is present. Add comment
about bswap64 support on 32-bit targets with bswapsi2 expander.
(pass_optimize_bswap::execute): Likewise.
* config/riscv/bitmanip.md (bswapsi2): Change condition to disable
the expander on TARGET_64BIT without TARGET_XTHEADBB, never FAIL.
Given I think I added that nugget (or turd depending on your point of
view) I can test it.
Jeff