Re: [patch] wait instruction on vr4181

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux