[flac-dev] [PATCH] for configure.ac
lvqcl
lvqcl.mail at gmail.com
Wed Oct 15 08:25:57 PDT 2014
Erik de Castro Lopo wrote:
>>> - echo " SSE optimizations : ................... ${sse_os}"
>>> + echo " SSE enabled : ......................... ${sse_enabled}"
>
> I renamed sse_os to sse_enabled :-)
But --disable-sse doesn't _fully_ disable SSE.
--enable-sse does two things: defines FLAC__SSE_OS preprocessor
variable and adds "-msse2" to the list of compiler options.
When FLAC__SSE_OS is defined: libFLAC checks CPU for SSE support.
It is assumed that OS supports SSE.
When FLAC__SSE_OS is undefined: libFLAC checks CPU for SSE support.
If SSE is supported then libFLAC checks OS for SSE support.
But in both cases libFLAC usually uses SSE-accelerated code.
More information about the flac-dev
mailing list