Erik de Castro Lopo wrote:

> This is also a little misleading as its not the OS we are checking
> for SSE support but the compiler. I'll fix this.

How so? ./configure script tests a compiler by checking the existence of 
x86intrin.h.
If the file exist then it is assumed that a compiler supports SSE intrinsics.

--enable-sse results in a definition of FLAC__SSE_OS preprocessor variable.
If it is defined then SSE detection code in src/libFLAC/cpu.c
assumes that OS supports SSE.

Otherwise it tries to perform a runtime check (basically, it executes
an SSE operation and tries to catch invalid opcode exception).
_______________________________________________
flac-dev mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/flac-dev

Reply via email to