This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Linux-asm (was A patch for linux 2.1.127)
- To: root at chaos dot analogic dot com
- Subject: Re: Linux-asm (was A patch for linux 2.1.127)
- From: Lauri Tischler <lauri dot tischler at efore dot fi>
- Date: Sun, 15 Nov 1998 20:19:58 +0200
- CC: Riccardo Facchetti <fizban at tin dot it>, Ken Raeburn <raeburn at cygnus dot com>, Alex Buell <alex dot buell at tahallah dot demon dot co dot uk>, Linux-Egcs <egcs at cygnus dot com>, Linux Kernel <linux-kernel at vger dot rutgers dot edu>
- Organization: Efore Oy
- References: <Pine.LNX.3.95.981115104847.6433E-100000@chaos.analogic.com>
Richard B. Johnson wrote:
>
> >
> > #if defined(i386)
> > #include "fasti386.S"
> > #elif defined(i486)
> > #include "fasti486.S"
> > #elif defined(P5)
> > #include "fastP5.S"
> > #elif defined(P6)
> > #include "fastP6.S"
> > else
> > #include "slow.c"
> > #endif
> >
> This might be a bit extreme, but I get your point!
Extreme? No. Definately optimal.
Of cource, if You consider optimal code to be extreme... :)
In this case, maintainability may not be optimal.