This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Linux-asm (was A patch for linux 2.1.127)


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]