linux-mips
[Top] [All Lists]

Re: [PATCH]: fix compiler warnings in the math-emulator

To: linux mips mailing list <linux-mips@linux-mips.org>
Subject: Re: [PATCH]: fix compiler warnings in the math-emulator
From: Greg Lindahl <lindahl@keyresearch.com>
Date: Wed, 18 Dec 2002 13:27:26 -0800
In-reply-to: <Pine.GSO.3.96.1021218220828.14826A-100000@delta.ds2.pg.gda.pl>; from macro@ds2.pg.gda.pl on Wed, Dec 18, 2002 at 10:09:37PM +0100
Mail-followup-to: linux mips mailing list <linux-mips@linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <200212181950.gBIJo4B11893@coplin09.mips.com> <Pine.GSO.3.96.1021218220828.14826A-100000@delta.ds2.pg.gda.pl>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.2.5.1i
> > Sometimes you don't care whether you do only "half" a macro instruction
> > if the branch is taken. Usually though, the warning is a good thing - I
> > remember having spent many hours finding bugs like this with assemblers
> > that don't issue warnings.
> 
>  This is exactly what ".set nomacro" is for -- I can't see any reason for
> such warnings when ".set macro" is active.

While in general I like playing with sharp knives (you should see my
cluster admin toolkit), and I like my kernel to run fast, and the only
thing that gets trashed is usually at, I still think I'd prefer to
have nops in those delay slots in the kernel. Hand-written assembly is
unlikely to use ".set nomacro" properly.

-- greg


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