This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RFC: -msse/-mavx change x86 ABI


Hi,

When passing a parameter with alignment >= 16byte on stack,
 -msse/-mavx may change its alignment on stack. See:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44948

Before gcc 4.4, we couldn't align the stack properly. The
maximum alignment we could generate for parameters on
stack we supported is the alignment of incoming stack. Now
we can properly align the stack.

How should we fix this bug? There are several different
approaches in the PR. Any comments?

Thanks.

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]