Re: [PATCH 5/5] xtensa: Improve bswap[sd]i2 insn patterns

2022-05-26 Thread Max Filippov via Gcc-patches
On Fri, May 13, 2022 at 6:35 AM Takayuki 'January June' Suwa wrote: > > This patch makes bswap[sd]i2 better register allocation, and reconstructs > bswapsi2 in order to take advantage of GIMPLE manual byte-swapping > recognition. > > gcc/ChangeLog: > > * gcc/config/xtensa/xtensa.md (bswaps

[PATCH 5/5] xtensa: Improve bswap[sd]i2 insn patterns

2022-05-13 Thread Takayuki 'January June' Suwa via Gcc-patches
This patch makes bswap[sd]i2 better register allocation, and reconstructs bswapsi2 in order to take advantage of GIMPLE manual byte-swapping recognition. gcc/ChangeLog: * gcc/config/xtensa/xtensa.md (bswapsi2): New expansion pattern. (bswapsi2_internal): Revise the template and c