[flac-dev] FLAC__SSE_OS change

lvqcl lvqcl.mail at gmail.com
Sun Jun 26 20:11:34 UTC 2016


Thomas Zander wrote:

> In any case, the disable-SSE matter is still important. People are
> still using flac on x86 machines without SSE, for instance AMD Geode
> CPUs seem to live forever.

libFLAC detects CPU SSE support in runtime, so --disable-sse is
necessary for cuch CPUs only because it disables -msse2 switch.

Maybe it makes sense to add new switch, --no-force-sse2 or
--disable-force-sse2 or similar? And replace

     if test "x$asm_optimisation$sse_os" = "xyesyes" ; then
         XIPH_ADD_CFLAGS([-msse2])
         fi

with

     if test "x$force_sse2" = "xyes" ; then
         XIPH_ADD_CFLAGS([-msse2])
         fi

?


More information about the flac-dev mailing list