mips.md (any_shift): New code macro.
commite5f14571a8c82e5a3a627e40a480c62e504d9f1e
authorRichard Sandiford <rsandifo@redhat.com>
Wed, 25 Aug 2004 19:18:22 +0000 (25 19:18 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Wed, 25 Aug 2004 19:18:22 +0000 (25 19:18 +0000)
tree5abfaa699a4662e46516b45897e35a6dca9e4030
parent769cf6cd9d267369dc8fb959a84813f620f5cf54
mips.md (any_shift): New code macro.

* config/mips/mips.md (any_shift): New code macro.
(optab, insn): New code attributes.
({ashl,ashr,lshr}[sd]i3): Redefine using :GPR and any_shift.
Use the standard rather than internal patterns for the MIPS16
double-shift optimization.
(*{ashl,ashr,lshr}[sd]i3): New names for the non-mips16 shift patterns.
Redefine using :GPR and any_shift.
(*{ashl,ashr,lshr}si3_extend): Generalize ashlsi3_internal1_extend
to cover all three shifts.
(*{ashl,ashr,lshr}si3_mips16): New names for the mips16 SImode shifts.
Redefine using any_shift.  Use :GPR and any_shift to combine splitters.
(*{ashl,ashr,lshr}di3_mips16): New names for the mips16 DImode shifts.

From-SVN: r86566
gcc/ChangeLog
gcc/config/mips/mips.md