rs6000: New iterator CCEITHER
authorSegher Boessenkool <segher@kernel.crashing.org>
Sat, 15 Jun 2019 00:25:18 +0000 (02:25 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Sat, 15 Jun 2019 00:25:18 +0000 (02:25 +0200)
commit4e20bd42bc04959c4b2f845352046fcfd5313484
treedb47a81bc8e987836a52c2310bd5cfac726be636
parentb2a678af7a6f55aac2664b9f067a373ea89d222b
rs6000: New iterator CCEITHER

This expands to both CC and CCUNS, it's useful for isel for example.

* config/rs6000/rs6000.md (CCEITHER): New define_mode_iterator.
(un): New define_mode_attr.
(isel_signed_<mode>, isel_unsigned_<mode>): Delete, merge into ...
(isel_<un>signed_<GPR:mode>): ... this.  New define_insn.
(isel_reversed_signed_<mode>, isel_reversed_unsigned_<mode>): Delete,
merge into ...
(isel_reversed_<un>signed_<GPR:mode>): ... this.  New define_insn.

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