This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [ping] Enable -mstackrealign with SSE on 32-bit Windows
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Eric Botcazou <ebotcazou at adacore dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Kai Tietz <ktietz70 at googlemail dot com>, Dave Korn <dave dot korn dot cygwin at gmail dot com>
- Date: Mon, 22 Feb 2016 15:08:46 +0100
- Subject: Re: [ping] Enable -mstackrealign with SSE on 32-bit Windows
- Authentication-results: sourceware.org; auth=none
- References: <1713459 dot bjXVIIQFeB at polaris> <CAFiYyc3bTs6Aj-egEgL+DE+rkY12q0GuAYv35Ugmos=FLB8Emg at mail dot gmail dot com> <1530379 dot uk1MBSJLvY at polaris>
On Fri, Feb 19, 2016 at 7:50 PM, Eric Botcazou <ebotcazou@adacore.com> wrote:
>> Not sure - why doesn't mingw properly specify the default incoming
>> stack boundary?
>> If it does, why isn't there an issue elsewhere even on non-mingw if you use
>> -mincoming-stack-boundary=2?
>
> Wouldn't that pessimize over -mstackrealign? That's my reading of the manual.
> Note that the issue is present on Solaris 9 and was fixed this way.
No idea. To me it sounds that -mincoming-stack-boundary=2 would allow to do
-mstackrealign in those functions where it is necessary rather than in all.
If it was fixed for Solaris 9 that way I suppose it's ok for 32-bit
Windows as well.
So consider the patch approved,
Thanks,
Richard.
> --
> Eric Botcazou