rs6000: Delete wg
authorSegher Boessenkool <segher@kernel.crashing.org>
Mon, 3 Jun 2019 22:33:11 +0000 (00:33 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Mon, 3 Jun 2019 22:33:11 +0000 (00:33 +0200)
commitec7fd7807d5e1a06a8fe957d0e12df0753acb6c4
tree70d855c8c2cb0c88e6d46dc4a8dae53e3f810c89
parent51b2b05a85f02f4ab10000f278d796b27778ccf6
rs6000: Delete wg

The "wg" constraint is used for the floating point side on mfpgpr
instructions.  Those instructions do not exist on any relevant
hardware.  This patch deletes the constraint and the insns using it.

* config/rs6000/constraints.md (define_register_constraint "wg"):
Delete.
* config/rs6000/rs6000.h (enum r6000_reg_class_enum): Delete
RS6000_CONSTRAINT_wg.
* config/rs6000/rs6000.c (rs6000_debug_reg_global): Adjust.
(rs6000_init_hard_regno_mode_ok): Adjust.
* config/rs6000/rs6000.md (*mov<mode>_softfloat32, *movdi_internal64):
Delete "wg" alternatives.
* doc/md.texi (Machine Constraints): Adjust.

From-SVN: r271888
gcc/ChangeLog
gcc/config/rs6000/constraints.md
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.h
gcc/config/rs6000/rs6000.md
gcc/doc/md.texi