Re: [-mm patch] i386: enable REGPARM by default

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, May 15, 2005 at 02:22:34PM +0200, Andi Kleen wrote:
> Adrian Bunk <[email protected]> writes:
> 
> > This patch should _not_ go into Linus' tree.
> >
> > At some time in the future, we want to unconditionally enable REGPARM on 
> > i386.
> >
> > Let's give it a bit broader testing coverage among -mm users.
> 
> iirc problem is that gcc 2.95 and possibly 3.0.x have some known
> miscompilations with regparams. That is why it was only used
> with fastcall for a long time. One 3.1.x+ it should be safe.
> But you cannot express dependencies on the compiler version
> in Kconfig right now.
> 
> Of course getting rid of gcc 2.95 and 3.0.x support would be a good idea,
> that would allow many other nice things.

If you'd read either arch/i386/Makefile or the help text for 
CONFIG_REGPARM, you'd have noticed that we do never use regparm with
gcc < 3.0 .

> -Andi

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux