linux-mips
[Top] [All Lists]

Re: [patch] wait instruction on vr4181

To: linux-mips@linux-mips.org
Subject: Re: [patch] wait instruction on vr4181
From: Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de>
Date: Thu, 24 Apr 2003 21:03:55 +0200
In-reply-to: <20030424185313.GA19131@rembrandt.csv.ica.uni-stuttgart.de>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <078a01c30a8c$a4cb9350$3501a8c0@wssseeger> <Pine.GSO.3.96.1030424202042.24567D-100000@delta.ds2.pg.gda.pl> <20030424185313.GA19131@rembrandt.csv.ica.uni-stuttgart.de>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4i
Thiemo Seufer wrote:
> Maciej W. Rozycki wrote:
> > On Thu, 24 Apr 2003, Steven Seeger wrote:
> > 
> > > Hey, when I try to patch in standby, it says that opcode isn't available 
> > > for
> > > the R6000. Why does arch/mips/Makefile use -mcpu=r4600 for the VR41XX?
> 
> Probably because it is the closest match for very old toolchains.
> 
> >  I fear you need to handcode the instruction until gas supports some sort
> > of a CPU override, similar to ".set mips".  Using "-mcpu" or "-march" 
> > won't help as the code wants to be compiled regardless of the CPU
> > selection.  Currently gas supports the opcode for VR4100, VR4111 and
> > VR4120, but there is no way to select any of them except on the command
                                                      ^^^^^^
I have missed this word, but I still can't see how it is relevant to
the problem. AFAICS adding '-Wa,-4100' to CFLAGS should solve it,
even in the case of a very old gcc.

> > line. 
> 
> Huh? Current CVS GAS has command line options for
> -march=vr{4100,4111,4120,4130,4181,4300}, and even rather old
> GAS versions have -4100. Current CVS gcc supports
> -march=vr{4100,4111,4120,4300}.


Thiemo

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