[flac-dev] [PATCH 13] cpu.c / cpu_asm.nasm

lvqcl lvqcl.mail at gmail.com
Sat Jun 28 03:48:34 PDT 2014


According to docs, it's incorrect to just call CPUID with EAX=1.
One must to ensure that this value is supported.

CPUs that don't support CPUID level 1 are very old, but...
if FLAC tests CPUID presence it should also test CPUID level support.

Also the function FLAC__cpu_have_cpuid_asm_ia32 was simplified
according to the docs at Intel website and in Wikipedia.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 13_cpu.patch
Type: application/octet-stream
Size: 1338 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/flac-dev/attachments/20140628/647a170f/attachment.obj 


More information about the flac-dev mailing list