Re: [PATCH] [2/58] x86_64: Tell gcc to only align stack to 8 bytes

2007-07-19 Thread Chuck Ebbert
On 07/19/2007 05:54 AM, Andi Kleen wrote: > Don't need 16 byte alignment because kernel doesn't use SSE2 > > Signed-off-by: Andi Kleen <[EMAIL PROTECTED]> > > --- > arch/x86_64/Makefile |1 + > 1 file changed, 1 insertion(+) > > Index: linux/arch/x86_64/Makefile >

Re: [PATCH] [2/58] x86_64: Tell gcc to only align stack to 8 bytes

2007-07-19 Thread Andi Kleen
On Thursday 19 July 2007 13:50:20 Serge Belyshev wrote: > So -mpreferred-stack-boundary=4 is the default and to align stack > to 8 bytes you want -mpreferred-stack-boundary=3, not 4, IIUC. Fixed thanks -Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: [PATCH] [2/58] x86_64: Tell gcc to only align stack to 8 bytes

2007-07-19 Thread Serge Belyshev
Andi Kleen <[EMAIL PROTECTED]> writes: > Don't need 16 byte alignment because kernel doesn't use SSE2 > ... > cflags-y += -maccumulate-outgoing-args > +cflags-y += -mpreferred-stack-boundary=4 > >From gcc manpage: -mpreferred-stack-boundary=num Attempt to keep the stack

[PATCH] [2/58] x86_64: Tell gcc to only align stack to 8 bytes

2007-07-19 Thread Andi Kleen
Don't need 16 byte alignment because kernel doesn't use SSE2 Signed-off-by: Andi Kleen <[EMAIL PROTECTED]> --- arch/x86_64/Makefile |1 + 1 file changed, 1 insertion(+) Index: linux/arch/x86_64/Makefile === ---

[PATCH] [2/58] x86_64: Tell gcc to only align stack to 8 bytes

2007-07-19 Thread Andi Kleen
Don't need 16 byte alignment because kernel doesn't use SSE2 Signed-off-by: Andi Kleen [EMAIL PROTECTED] --- arch/x86_64/Makefile |1 + 1 file changed, 1 insertion(+) Index: linux/arch/x86_64/Makefile === ---

Re: [PATCH] [2/58] x86_64: Tell gcc to only align stack to 8 bytes

2007-07-19 Thread Serge Belyshev
Andi Kleen [EMAIL PROTECTED] writes: Don't need 16 byte alignment because kernel doesn't use SSE2 ... cflags-y += -maccumulate-outgoing-args +cflags-y += -mpreferred-stack-boundary=4 From gcc manpage: -mpreferred-stack-boundary=num Attempt to keep the stack boundary

Re: [PATCH] [2/58] x86_64: Tell gcc to only align stack to 8 bytes

2007-07-19 Thread Andi Kleen
On Thursday 19 July 2007 13:50:20 Serge Belyshev wrote: So -mpreferred-stack-boundary=4 is the default and to align stack to 8 bytes you want -mpreferred-stack-boundary=3, not 4, IIUC. Fixed thanks -Andi - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of

Re: [PATCH] [2/58] x86_64: Tell gcc to only align stack to 8 bytes

2007-07-19 Thread Chuck Ebbert
On 07/19/2007 05:54 AM, Andi Kleen wrote: Don't need 16 byte alignment because kernel doesn't use SSE2 Signed-off-by: Andi Kleen [EMAIL PROTECTED] --- arch/x86_64/Makefile |1 + 1 file changed, 1 insertion(+) Index: linux/arch/x86_64/Makefile