This is the mail archive of the gcc@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: [RFC] MIPS, use trap instead of break to detect divide by zero


David Daney <ddaney@avtrex.com> writes:
>> adjust the length attribute of the division instruction.
>
> Currently only integer division operations call mips_output_division()
> and are the only ones effected.  As far as I can see, there are no size
> attributes defined for integer division on mips.md.

See the define_attr definition of the "length" attribute
and mips_idiv_insns().

Richard


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