mips.h (ISA_HAS_LOAD_DELAY, [...]): New macros.
authorRichard Sandiford <rsandifo@redhat.com>
Mon, 19 May 2003 07:36:28 +0000 (07:36 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 19 May 2003 07:36:28 +0000 (07:36 +0000)
commit21c9500d3e100b6bef46632377fffe4044545238
tree37db0843298620ceead329ec9e3bbde91233521d
parentf29d1b660c804bc72de196a8b33841c1033a90eb
mips.h (ISA_HAS_LOAD_DELAY, [...]): New macros.

* config/mips/mips.h (ISA_HAS_LOAD_DELAY, ISA_HAS_XFER_DELAY,
ISA_HAS_FCMP_DELAY, ISA_HAS_HILO_INTERLOCKS): New macros.
(PREDICATE_CODES): Add hilo_operand.
* config/mips/mips.c (hilo_operand): New predicate.
(mips_adjust_insn_length): Account for the number nops that might
be needed to avoid hardware hazards.
* config/mips/mips.md (dslot): Remove attribute.
(hazard): New attribute.
(can_delay): Use it.  Check for calls, branches & jumps.
(muldi3): Use the standard dmult pattern for mips16 code.
(muldi3_internal, muldi3_internal2): Adjust conditions accordingly.

From-SVN: r66952
gcc/ChangeLog
gcc/config/mips/mips.c
gcc/config/mips/mips.h
gcc/config/mips/mips.md