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]

Re: [ping] Enable -mstackrealign with SSE on 32-bit Windows


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


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