[flac-dev] PATCH: OS SSE support detection for GCC on Windows
Olivier Tristan
o.tristan at uvi.net
Tue Mar 11 07:57:17 PDT 2014
Le 09/03/2014 22:26, lvqcl a écrit :
> libFLAC for Windows compiled with GCC/MinGW can't detect SSE OS support:
> it can't use GCC+Linux detection code and can't use MSVC+Win32 code that
> uses SEH (__try/__except). So it doesn't use any SSE/SSE2/etc routines.
>
> One way to fix it is to call configure script with --enable-sse
> (flac will probably crash on Win95/WinNT4 but who cares).
>
> Another way is to add a new code just for GCC+Win32 case.
> The patch is attached.
I may say something stupid but is this helpful ?
http://stackoverflow.com/questions/6121792/how-to-check-if-a-cpu-supports-the-sse3-instruction-set
--
Olivier TRISTAN
uvi.net
More information about the flac-dev
mailing list