[flac-dev] PATCH: CPU feature detection when NASM n/a

Erik de Castro Lopo mle+la at mega-nerd.com
Sun Mar 2 02:40:53 PST 2014

lvqcl wrote:

> There was a commit "Fall back to intrinsics if NASM is not available"
> ( http://git.xiph.org/?p=flac.git;a=commit;h=d163ef456797ef4807138b0ecb5da9ff05e147e2 )
> But CPU detection code for IA-32 uses ASM code, and cpuinfo.use_asm == false
> when NASM isn't available. The attached patch fixes it. Now CPU features are
> also detected when only FLAC__HAS_X86INTRIN is defined.

Applied, thanks.

Erik de Castro Lopo

More information about the flac-dev mailing list