This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Mips instruction hazards (part 2/4)


> OK to install?
> 
> Richard
> 
> 
> 	* 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.

OK.

-eric

-- 
Eric Christopher <echristo@redhat.com>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]