Add new shrpsi instruction variands to gcc/config/pa/pa.md.
commit49482217e0ade3fe92ea050c01f5f7a6ddc31e95
authorJohn David Anglin <danglin@gcc.gnu.org>
Sat, 12 Sep 2020 14:38:51 +0000 (12 14:38 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sat, 12 Sep 2020 14:43:27 +0000 (12 14:43 +0000)
tree88ca087e5a0cb058bf0cd07148765381420ec5b9
parentf2d9f95e9ccac1376aee73345b8b4a00e803d67d
Add new shrpsi instruction variands to gcc/config/pa/pa.md.

2020-09-12  Roger Sayle  <roger@nextmovesoftware.com>
    John David Anglin  <danglin@gcc.gnu.org>

gcc/ChangeLog
* config/pa/pa.md (shrpsi4_1, shrpsi4_2): New define_insns split
out from previous shrpsi4 providing two commutitive variants using
plus_xor_ior_operator as a predicate.
(shrpdi4_1, shrpdi4_2, shrpdi_3, shrpdi_4): Likewise DImode versions
where _1 and _2 take register shifts, and _3 and _4 for integers.
(rotlsi3_internal): Name this anonymous instruction.
(rotrdi3): New DImode insn copied from rotrsi3.
(rotldi3): New DImode expander copied from rotlsi3.
(rotldi4_internal): New DImode insn copied from rotsi3_internal.
gcc/config/pa/pa.md