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 20:53:13 +0200
In-reply-to: <Pine.GSO.3.96.1030424202042.24567D-100000@delta.ds2.pg.gda.pl>
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>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4i
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
> 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>