]> git.ipfire.org Git - thirdparty/gcc.git/commit
rs6000: Add second variant of adde
authorSegher Boessenkool <segher@kernel.crashing.org>
Wed, 29 Nov 2017 22:30:24 +0000 (23:30 +0100)
committerSegher Boessenkool <segher@gcc.gnu.org>
Wed, 29 Nov 2017 22:30:24 +0000 (23:30 +0100)
commit18b776e936e15310907e014e4e460d45d148bbf6
treea4b9d5a275d732e4fbc2ce408ac37570452e2977
parent561c58b4d9d0c4d17a29bc38b50fa2b4762f0afb
rs6000: Add second variant of adde

This adds a second variant of the adde insn pattern, this one with the
CA register as the second operand.  The existing pattern has it as the
third operand.  It would be ideal if RTL was always canonicalised like
that, but it isn't (and that is not trivial), and this is a simple and
harmless patch.

* config/rs6000/rs6000.md (*add<mode>3_carry_in_internal2): New.

From-SVN: r255259
gcc/ChangeLog
gcc/config/rs6000/rs6000.md