------- Comment #18 from hjl dot tools at gmail dot com 2009-07-31 15:51 ------- (In reply to comment #17) > "Even if we align the incoming stack properly, we still have to align the > outgoing stack to 16byte" > > I'm not opposing it. What I mean is: every function will have stack frame size > that is multiple of mpreferred-stack-boundary (16 bytes) --- it is what GCC is > doing now. And additionally, there will be stack realign for functions that do > 16-byte SSE math. >
What you are looking for is an option to turn on force_align_arg_pointer attribute for all functions which use 16byte SSE memory. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40838