[flac-dev] Q: test for CPUID instruction presence
Erik de Castro Lopo
mle+la at mega-nerd.com
Sun Dec 4 07:13:35 UTC 2016
lvqcl.mail wrote:
> Currently libFLAC doesn't check the existence of CPUID instruction if
> FLAC__HAS_X86INTRIN is set to 1.
> It's not a real problem because x86 CPUs without CPUID are probably
> extinct, but if libFLAC performs this check then it should do it
> in all cases (when NASM is available or intrinsics are available).
This code in cpu.c has been a mess for over a decade. Forunately the
need for complexity is decreasing.
I propose that we release FLAC with cpu.c as it is now and deal with
the consequences as they arise.
Erik
--
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/
More information about the flac-dev
mailing list