lkml.org 
[lkml]   [1999]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: 2.2.13 & gcc-2.95.1
Date
I Lee Hetherington <ilh@sls.lcs.mit.edu> writes:

> Mikael Pettersson wrote:
>
> > This patch for 2.2.x (originally by Artur Skawina for 2.3.x)
> > eliminates at least one problem of using gcc-2.95, namely its
> > utterly stupid and unnecessary 16-byte stack alignment default.
> > (My 2.2.12 and 2.2.13pre9 kernels are compiled with gcc-2.95.1
> > and this patch, and they work fine.)
>
> Why is it utterly stupid and unnecessary? Have you benchmarked it
> both ways?
>
> I have benchmarked various programs and they do run faster with the
> 16-byte stack alignment on Pentium IIIs.

yes, but afaik from following the gcc/egcs list, the 16-byte stack
alignment is to improve floating point, i.e., double precision
numbers. (let me know if i am mistaken.)

the kernel doesn't use floating point itself, hence this may
be of dubious advantage to use for linux kernel.

--
J o h a n K u l l s t a m
[kullstam@ne.mediaone.net]
Don't Fear the Penguin!

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.060 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site