]> git.ipfire.org Git - thirdparty/gcc.git/commit
rs6000: Delete RS6000_CONSTRAINT_f
authorSegher Boessenkool <segher@kernel.crashing.org>
Tue, 10 May 2022 18:47:31 +0000 (18:47 +0000)
committerSegher Boessenkool <segher@kernel.crashing.org>
Wed, 11 May 2022 14:59:08 +0000 (14:59 +0000)
commit401abb8f646087c2235457dd9d1789bd63c4e7e4
treeab11d630a6cfca996577a76f70c7af1e76e60a80
parent684c97dd084b7a535deb400ab8b26b914d011c5c
rs6000: Delete RS6000_CONSTRAINT_f

Constraint "f" is always exactly the same as constraint "d", so we do
not need RS6000_CONSTRAINT_f.

2022-05-11  Segher Boessenkool  <segher@kernel.crashing.org>

* config/rs6000/constraints.md (register_constraint "f"): Use
RS6000_CONSTRAINT_d.
* config/rs6000/rs6000.cc (rs6000_debug_reg_global): Do not handle
RS6000_CONSTRAINT_f.
(rs6000_init_hard_regno_mode_ok): Ditto.  Reorder and simplify a bit.
* config/rs6000/rs6000.h (r6000_reg_class_enum): Delete
RS6000_CONSTRAINT_d.
gcc/config/rs6000/constraints.md
gcc/config/rs6000/rs6000.cc
gcc/config/rs6000/rs6000.h