[00/12] rs6000: Use parameterised names

Message ID cover.1561994239.git.segher@kernel.crashing.org
Headers show
Series
  • rs6000: Use parameterised names
Related show

Message

Segher Boessenkool July 1, 2019, 5:59 p.m.
This series makes the rs6000 backend use parameterised names.  This
means adding an "@" to the start of pattern names, removing the mode
from the gen_* names where you call them, and adding an extra mode
parameter to those calls (as the first argument).

The abs and neg patterns used to call FAIL for some unexpected modes,
they no longer do.  It should have maybe used gcc_unreachable there
instead.  These patches also remove such gcc_unreachable.

Tested all on powerpc64-linux {-m32,-m64} and on p9 powerpc64le-linux.
Committing to trunk.


Segher


Segher Boessenkool (12):
  @neg<mode>2
  @fix_trunc<mode>si2_fprs
  @abs<mode>2_internal
  @indirect_jump<mode>_nospec
  @ctr<mode>
  @eh_set_lr_<mode>
  @extenddf<mode>2_{fprs,vsx}
  @extenddf<mode>2
  @neg<mode>2_hw
  @abs<mode>2_hw
  @ieee_128bit_vsx_neg<mode>2
  @ieee_128bit_vsx_abs<mode>2

 gcc/config/rs6000/rs6000.md | 130 +++++++++++---------------------------------
 1 file changed, 33 insertions(+), 97 deletions(-)

-- 
1.8.3.1