Hi Suwa-san, On Wed, Aug 27, 2025 at 12:18 AM Takayuki 'January June' Suwa <jjsuwa_sys3...@yahoo.co.jp> wrote: > > Also, the omission of the instruction that sets the shift amount register > (SAR) to 8 is now more efficient: it is omitted if there was a previous > BSWAP rtx in the same BB, but not omitted if no BSWAP is found or another > rtx that modifies the SAR is found first. > > gcc/ChangeLog: > > * config/xtensa/xtensa-protos.h (xtensa_bswapsi2_output): > New function prototype. > * config/xtensa/xtensa.cc > (xtensa_bswapsi2_output_1, xtensa_bswapsi2_output): > New functions. > * config/xtensa/xtensa.md (bswapsi2_internal): > Rewrite in compact syntax and use xtensa_bswapsi2_output() as asm > output. > > gcc/testsuite/ChangeLog: > > * gcc.target/xtensa/bswap-SSAI8.c: New. > --- > gcc/config/xtensa/xtensa-protos.h | 1 + > gcc/config/xtensa/xtensa.cc | 67 +++++++++++++++++++ > gcc/config/xtensa/xtensa.md | 37 +++------- > gcc/testsuite/gcc.target/xtensa/bswap-SSAI8.c | 27 ++++++++ > 4 files changed, 103 insertions(+), 29 deletions(-) > create mode 100644 gcc/testsuite/gcc.target/xtensa/bswap-SSAI8.c
This change introduces the following new test failures: +FAIL: gcc.dg/sso/q2.c -Wno-scalar-storage-order -O2 execution test +FAIL: gcc.dg/sso/q2.c -Wno-scalar-storage-order -O3 -finline-functions execution test +FAIL: gcc.dg/sso/q3.c -Wno-scalar-storage-order -O2 execution test +FAIL: gcc.dg/sso/q3.c -Wno-scalar-storage-order -O3 -finline-functions execution test +FAIL: gcc.dg/sso/t2.c -Wno-scalar-storage-order -O2 output pattern test +FAIL: gcc.dg/sso/t2.c -Wno-scalar-storage-order -O3 -finline-functions output pattern test +FAIL: gcc.dg/sso/t3.c -Wno-scalar-storage-order -O2 output pattern test +FAIL: gcc.dg/sso/t3.c -Wno-scalar-storage-order -O3 -finline-functions output pattern test -- Thanks. -- Max