rs6000: Use symbolic names for the CR fields in more cases
authorSegher Boessenkool <segher@kernel.crashing.org>
Mon, 16 Dec 2019 16:06:17 +0000 (17:06 +0100)
committerSegher Boessenkool <segher@gcc.gnu.org>
Mon, 16 Dec 2019 16:06:17 +0000 (17:06 +0100)
commitbb03700c9b89f42b9e6bccccef8a74ce9b4fb91b
treeda44edff5051ad9f231a0dbc6ab4ea8a0057cb5d
parente8aa9f55f6486a9503d4f9e6b88b8f81d1daab15
rs6000: Use symbolic names for the CR fields in more cases

It turns out we still used hardcoded register numbers for the CR fields
in some cases, and they now use the wrong numbers since we renumbered
most of the registers.  So let's use the symbolic names, instead.

* config/rs6000/rs6000.md (movsi_to_cr_one): Use CR0_REGNO instead of
hardcoding the (old, expired) register number.
(*mtcrfsi): Ditto.

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