[flac-dev] ensure that stack is aligned for SSE functions if using mingw32

lvqcl lvqcl.mail at gmail.com
Tue Mar 10 10:01:52 PDT 2015


Erik de Castro Lopo wrote:

>>> One workaround is to use -mstackrealign where ever -msse2 is used
>>
>> Yes, that was one of the options mentioned in the article I linked
>> (http://www.peterstock.co.uk/games/mingw_sse)
>
> Can someone confirm that -mstackrealign fixes this issue? If it works,
> that seems like the sanest solution.


IIRC stack realignment is not necessary for x64 programs in Windows,
so only 32-bit programs require -mstackrealign. Right?


More information about the flac-dev mailing list