This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 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>, "Kreitzer, David L" <david dot l dot kreitzer at intel dot com>, "Girkar, Milind" <milind dot girkar at intel dot com>
- Date: Fri, 20 Aug 2010 07:53:27 -0700
- Subject: Re: RFC: -msse/-mavx change x86 ABI
- References: <AANLkTilUi1c6uRc5ttbOVYe7p2apVXEjTal2Ou-H_NiN@mail.gmail.com>
On Mon, Jul 19, 2010 at 7:50 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> 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?
>
CC Intel compiler people. David, Milind, do you have any
comments?
Thanks.
--
H.J.