This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [committed] Add a MIPS -mfix-vr4130 option


Richard Sandiford wrote:
This patch adds a -mfix-vr4130 switch to the MIPS port.  It works
around the mflo/mfhi errata described here:

http://sources.redhat.com/ml/binutils/2005-03/msg00213.html

As with the -mfix-vr4120 switch, most of the work is done by gas.
The gas side of things has already been comitted to CVS and will
be included in binutils 2.16.

(If GAS is adding NOPs, then, in order to be really correct, you need to modify the length estimates used by the compiler, or we'll start getting out-of-range branch instructions in the compiler.)


I think whether or not to apply this to 4.0 is something that you can decided in your capacity as the target maintainer.

--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304


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