Re: [patch] wait instruction on vr4181

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

 



Maciej W. Rozycki wrote:
> On Thu, 24 Apr 2003, Thiemo Seufer wrote:
> 
> > 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.
> 
>  But if I try to build for anything else, say for R3k or MIPS64, there
> will be "-mcpu=r3000" or "-mcpu=r4600" passed and an assembly will fail as
> the "standby" instruction won't magically disappear.  That's why
> r4k_wait() and au1k_wait() use ".set mips3" for "wait". 

The relevant function was #ifdef'ed.

>  BTW, "-m4100" and friends are deprecated and their interaction with
> "-mcpu=", "-march=" and "-mtune=" is unobvious; I have no idea why they
> haven't been banished from the trunk, yet.

True, but as long as people prefer to combine outdated compilers
with the latest binutils this sort of problems will remain.


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