diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2019-12-16 17:06:17 +0100 |
---|---|---|
committer | Segher Boessenkool <segher@gcc.gnu.org> | 2019-12-16 17:06:17 +0100 |
commit | bb03700c9b89f42b9e6bccccef8a74ce9b4fb91b (patch) | |
tree | da44edff5051ad9f231a0dbc6ab4ea8a0057cb5d /gcc/builtins.c | |
parent | e8aa9f55f6486a9503d4f9e6b88b8f81d1daab15 (diff) | |
download | gcc-bb03700c9b89f42b9e6bccccef8a74ce9b4fb91b.zip gcc-bb03700c9b89f42b9e6bccccef8a74ce9b4fb91b.tar.gz gcc-bb03700c9b89f42b9e6bccccef8a74ce9b4fb91b.tar.bz2 |
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
Diffstat (limited to 'gcc/builtins.c')
0 files changed, 0 insertions, 0 deletions