[Top] [All Lists]

Re: r4600 flag

Subject: Re: r4600 flag
From: Thiemo Seufer <>
Date: Tue, 31 Jul 2001 14:58:50 +0200
In-reply-to: <>
User-agent: Mutt/1.3.18i
Ralf Baechle wrote:
> On Tue, Jul 31, 2001 at 09:28:22AM +0200, Thiemo Seufer wrote:
> > > The la macro is split into a lui and a daddiu. The daddiu is not correct 
> > > for a mips32 cpu. Getting rid of the -mcpu=4600 fixes the problem and 
> > > the daddiu is then changed addiu.
> > 
> > This is IIRC a known bug in at least current binutils CVS, a patch
> > to fix it really was already discussed.
> Is this macro expaned by the compiler or assembler?  Just -mcpu=r4600
> should not make cc1 generate any instructions beyond MIPS I.

It's the assembler, -mcpu does not only affect scheduling in gas.
To clean this up -march and -tune were introduced recently to
obsolete -mcpu and -m<cpu> (in both binutils and gcc).


<Prev in Thread] Current Thread [Next in Thread>