Fix operand order to subf for p10 fusion.
authorAaron Sawdey <acsawdey@linux.ibm.com>
Thu, 3 Jun 2021 03:54:08 +0000 (22:54 -0500)
committerAaron Sawdey <acsawdey@linux.ibm.com>
Thu, 3 Jun 2021 16:42:15 +0000 (11:42 -0500)
commit52e130652a76ff3d14c0f572fcd79fa53637ce2c
tree3aaf5949bd1ca62d6bef239562e5484a091f37a7
parent0614bbbe59c6953e088cffa39dfe63d86fc1fa96
Fix operand order to subf for p10 fusion.

This certainly causes a bootstrap miscompare, and might also be
responsible for PR/100820. The operands to subf were reversed
in the logical-add/sub fusion patterns, and I screwed up my
bootstrap test which is how it ended up getting committed.

gcc/ChangeLog

* config/rs6000/genfusion.pl (gen_logical_addsubf): Fix input
order to subf instruction.
* config/rs6000/fusion.md: Regenerate.
gcc/config/rs6000/fusion.md
gcc/config/rs6000/genfusion.pl