[Top] [All Lists]

Re: mips64 cpu-probe.c compile failure

Subject: Re: mips64 cpu-probe.c compile failure
From: Atsushi Nemoto <>
Date: Fri, 19 Sep 2003 23:21:23 +0900 (JST)
In-reply-to: <>
Organization: TOSHIBA Personal Computer System Corporation
Original-recipient: rfc822;
References: <> <>
>>>>> On Fri, 19 Sep 2003 13:55:45 +0200 (MET DST), "Maciej W. Rozycki" 
>>>>> <> said:
macro>  Well, the asm statement requires immediates, so if macros are
macro> used variables won't work anyway, but the the code will look
macro> more obscurely.

Yes, though variables won't work anyway, the inline function looks
like it can accept variables (for careless reader).  But that's just
my impression.

macro>  It looks like gcc insists on forcing the constants into
macro> registers.  The following patch should work for gcc 3.x.  A few
macro> warnings will still be emitted, but the code will get build
macro> properly.

Thanks.  It works fine with gcc 3.3.1.
Atsushi Nemoto

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