[flac-dev] FLAC__SSE_OS change
Erik de Castro Lopo
mle+la at mega-nerd.com
Tue Jun 28 09:30:31 UTC 2016
lvqcl wrote:
> 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
No, what is needed is a way to disable SSE at run time even if it has
been compiled in at build time.
Erik
--
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/
More information about the flac-dev
mailing list