linux-mips
[Top] [All Lists]

Re: CVS Update@oss.sgi.com: linux

To: Geert Uytterhoeven <geert@linux-m68k.org>
Subject: Re: CVS Update@oss.sgi.com: linux
From: Ralf Baechle <ralf@oss.sgi.com>
Date: Wed, 19 Dec 2001 00:30:44 -0200
Cc: linux-mips@oss.sgi.com
In-reply-to: <Pine.GSO.4.21.0112181044300.15364-100000@vervain.sonytel.be>; from geert@linux-m68k.org on Tue, Dec 18, 2001 at 11:23:32AM +0100
References: <200112171934.fBHJYx328839@oss.sgi.com> <Pine.GSO.4.21.0112181044300.15364-100000@vervain.sonytel.be>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.2.5i
On Tue, Dec 18, 2001 at 11:23:32AM +0100, Geert Uytterhoeven wrote:

> > Log message:
> >     Rewrite ffz().  Now compiles into code without any branches.
> 
> Depending on your compiler. Gcc seems to be smarter than GreenHills here :-)

I'd rather call this piece of code to be written around the compiler.
Credits for this nice piece of code btw go to Carsten of MIPS who used
this in the Atlas code where I discovered it two days ago.

The old variant of this routine came from the Origin code and produces
60% longer code with ~ 5 branches.  Probably wrapped around the SGI
compiler.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>
  • Re: CVS Update@oss.sgi.com: linux, Ralf Baechle <=