This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RFC: -msse/-mavx change x86 ABI
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>, Uros Bizjak <ubizjak at gmail dot com>, Jan Hubicka <hubicka at ucw dot cz>
- Date: Mon, 19 Jul 2010 07:50:39 -0700
- Subject: 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.