[Top] [All Lists]

Re: [patch] wait instruction on vr4181

Subject: Re: [patch] wait instruction on vr4181
From: Thiemo Seufer <>
Date: Thu, 24 Apr 2003 21:03:55 +0200
In-reply-to: <>
Original-recipient: rfc822;
References: <078a01c30a8c$a4cb9350$3501a8c0@wssseeger> <> <>
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}.


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