------- Comment #15 from hjl dot tools at gmail dot com 2009-07-31 14:27 ------- It is too late to change now. Even if we align the incoming stack properly, we still have to align the outgoing stack to 16byte since the existing binaries which use SSE won't align the stack. That means we have to align the incoming stack for all non-leaf functions. Otherwise, we can't align the outgoing stack. It is quite expensive.
The good news is we won't make the same mistake for AVX. We now align the incoming stack as needed for AVX. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40838