rs6000: Use parameterized names for tablejump
authorSegher Boessenkool <segher@kernel.crashing.org>
Mon, 28 Sep 2020 23:57:52 +0000 (23:57 +0000)
committerSegher Boessenkool <segher@kernel.crashing.org>
Wed, 30 Sep 2020 00:13:47 +0000 (00:13 +0000)
commit58614b10edc9a66fa3ef23dd0fee034e3a2cbc2d
tree7b0a469de56cf55ed64a63c362c11994fa4eb576
parent873f8c1e6df94a9dcbfbe69f06538e3e45ba151d
rs6000: Use parameterized names for tablejump

We have too many tablejump patterns.  Using parameterized names
simplifies the code a bit.

2020-09-29  Segher Boessenkool  <segher@kernel.crashing.org>

* config/rs6000/rs6000.md (tablejump): Simplify.
(tablejumpsi): Merge this ...
(tablejumpdi): ... and this ...
(@tablejump<mode>_normal): ... into this.
(tablejumpsi_nospec): Merge this ...
(tablejumpdi_nospec): ... and this ...
(@tablejump<mode>_nospec): ... into this.
(*tablejump<mode>_internal1): Delete, rename to ...
(@tablejump<mode>_insn_normal): ... this.
(*tablejump<mode>_internal1_nospec): Delete, rename to ...
(@tablejump<mode>_insn_nospec): ... this.
gcc/config/rs6000/rs6000.md