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: Fri, 25 Apr 2003 17:41:12 +0200
In-reply-to: <Pine.GSO.3.96.1030425165319.14121A-100000@delta.ds2.pg.gda.pl>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20030424190355.GB19131@rembrandt.csv.ica.uni-stuttgart.de> <Pine.GSO.3.96.1030425165319.14121A-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, 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

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