STUB_MOVE in elfxx-mips.c

cgd@broadcom.com cgd@broadcom.com
Wed Oct 1 16:27:00 GMT 2003


At Wed, 1 Oct 2003 14:44:53 +0000 (UTC), "Thiemo Seufer" wrote:
> Probably because it mimics what the SGI toolchain for N64 did.
> AFAICS it should be API_64_P instead, and it's better to use
> 'daddu' instead of 'or', as this helps CPUs with several adders.

This has been claimed repeatedly, going back several years now.

Do you have actual examples of CPUs which have more units that can
'add' than can 'or'?

As far as I can remember, everyone else who's made this assertion was
unable to produce any, and was speaking from vague memory...  (That
may include myself; my memory is vague.  8-)


given that various MIPS-related documentation bits say that 'move' ==
'or', and that no counterexamples have been demonstrated that I'm
aware of, it seems to me like a bad idea to be using 'addu' to move
stuff.


cgd



More information about the Binutils mailing list