This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [patch] MIPS64: Use non-trapping "daddu" in macro expansions
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