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

lvqcl lvqcl.mail at gmail.com
Fri Feb 28 08:42:23 PST 2014


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cpuid_no_nasm.patch
Type: application/octet-stream
Size: 3994 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/flac-dev/attachments/20140228/07b76edf/attachment.obj 


More information about the flac-dev mailing list