Displaying 2 results from an estimated 2 matches for "flac__stack_align".
2015 Mar 09
2
crash on lpc_restore_signal_16_intrin_sse2
On Mon, Mar 9, 2015 at 5:15 PM, lvqcl <lvqcl.mail at gmail.com> wrote:
> Janne Hyv?rinen wrote:
>
>> I compiled flac.exe without NASM and verified that
>> FLAC__lpc_restore_signal_16_intrin_sse2 is used. Decoding the same file
>> that made VLC 2.2 crash decoded without issues. Would be nice if VLC was
>> compilable with MSVC and we could use its debugger.
2015 Mar 09
2
[PATCH 1/1] ensure that stack is aligned for SSE functions if using mingw32
.../libFLAC/include/private/cpu.h b/src/libFLAC/include/private/cpu.h
index 8927897..bd40012 100644
--- a/src/libFLAC/include/private/cpu.h
+++ b/src/libFLAC/include/private/cpu.h
@@ -72,8 +72,13 @@
#define FLAC__FMA_SUPPORTED 1
#endif
#elif defined __GNUC__
+ #ifdef __MINGW32__
+ #define FLAC__STACK_ALIGN __attribute__((force_align_arg_pointer))
+ #else
+ #define FLAC__STACK_ALIGN
+ #endif /* SSE stack alignment fixups */
#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 9)) /* since GCC 4.9 -msse.. compiler options aren't necessary */
- #define FLAC__SSE_TARGET(x...