[committed][STORMY16] Steer aop towards IOR

Jeff Law jeffrey.law@oss.qualcomm.com
Thu Oct 8 13:00:02 GMT 2026


The more aggressive use of aop triggered a regression on the xstormy port:

Tests that now fail, but worked before (1 tests):

xstormy16-sim: gcc: gcc.target/xstormy16/swpn-4.c --save-temps 
-fno-inline-functions 
-L/home/jlaw/jenkins/workspace/xstormy16-elf/gcc/gcc/testsuite/gcc.target/xstormy16 
scan-assembler-times swpn r2 18


I compared the before/after and it was painfully clear that the old code 
was more efficient than the new code.  So an aop pattern to steer back 
towards IOR seems appropriate.

I used two expanders because the QI/HI mode IOR patterns had different 
operand predicates that I wanted to match.

Pushed to the trunk.

jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0011-xstormy.patch
Type: text/x-patch
Size: 1046 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20261008/a7870c78/attachment.bin>


More information about the Gcc-patches mailing list