MIPS opcodes patch: change move from andu to or

Ian Lance Taylor ian@zembu.com
Mon Oct 25 10:31:00 GMT 1999

   Date: Mon, 25 Oct 1999 11:19:28 -0400 (EDT)
   From: Gavin Romig-Koch <gavin@cygnus.com>

   OK to commit?

   For opcodes:
	   * mips-opc.c (move): Use "or" rather than "addu" or "daddu".

We deliberately chose ``addu'' and ``daddu'' rather than ``or''
because several MIPS chips have two pipelined addition units but only
one pipelined logical unit.  Those chips can move two pairs of
registers around at once if we use ``addu'', but they can only move
one pair if we use ``or''.

Is there any reason we should use ``or''?  Your comment mentions
something about ``gcc -mips3 -gp32''; can't we fix gcc?


More information about the Binutils mailing list