STUB_MOVE in elfxx-mips.c

Richard Henderson rth@redhat.com
Wed Oct 1 20:57:00 GMT 2003


On Wed, Oct 01, 2003 at 11:29:36AM -0700, Ian Lance Taylor wrote:
> Sure.  As I said, it seemed to me at the time that `add' would never
> be slower than `or', so it seemed reasonable to always use `add' as
> the implementation of the `move' pseudo-op.  Which is what the
> assembler does today.  And it still seems reasonable to me.

Problem is, that on everyone except one chip, add sign-extends,
and or doesn't.  Which leads to very subtle bugs.


r~



More information about the Binutils mailing list