This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: MIPS opcodes patch: change move from andu to or
- To: gavin at cygnus dot com
- Subject: Re: MIPS opcodes patch: change move from andu to or
- From: Ian Lance Taylor <ian at zembu dot com>
- Date: 25 Oct 1999 13:31:12 -0400
- CC: binutils at sourceware dot cygnus dot com
- References: <m11fluC-000s9uC@cetus.cygnus.com>
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