[patch] MIPS64: Use non-trapping "daddu" in macro expansions

Thiemo Seufer ica2_ts@csv.ica.uni-stuttgart.de
Thu Jul 4 18:30:00 GMT 2002


Maciej W. Rozycki wrote:
> Hello,
> 
>  I believe it's incorrect to use "dadd" to calculate addresses as we don't
> handle overflow traps in any manner.  That is strictly system-dependent
> and should be handled at the compiler level, anyway.  I propose switching
> to "daddu".

The expansion mentioned in the MIPS ELF64 ABI draft uses "dadd",
that's why I used it. The draft has some more weirdnesses in this
section. I believe your patch is ok.


Thiemo



More information about the Binutils mailing list