Messages in this thread | ![/](/images/icornerl.gif) | | Date | Sun, 14 Sep 2003 16:56:54 +0100 | From | Jamie Lokier <> | Subject | Re: stack alignment in the kernel was Re: nasm over gas? |
| |
Andi Kleen wrote: > Hmm. The i386 Makefile sets that already. Where exactly did you see > bogus stack adjustments in kernel code?
I didn't. I saw them in a test program for __builtin_expect() in the "oops_in_progress is unlikely()" thread.
I'm used to seeing redundant "mov" instructions and such from GCC, so when I saw the stack adjustments with -O2 go away with -Os I thought they were more of the same - not realising that -Os turns off the stack alignment. My error.
-- Jamie - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |