This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: MIPS opcodes patch: change move from andu to or


   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?

Ian

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]