Commit c12bfa0e authored by Erik de Castro Lopo's avatar Erik de Castro Lopo
Browse files

libFLAC: Fix cpuid detecton on old Cyrix CPUs

Some old CPUs (eg Cyrix) set EDX but not ECX when executing CPUID.
One of the solutions is to clear ECX before calling cpuid. From bug

Patch-from: lvqcl <>
parent 74e751c4
......@@ -78,6 +78,7 @@ cident FLAC__cpu_info_asm_ia32
cmp eax, 1
jb .no_cpuid
xor ecx, ecx
mov eax, 1
mov ebx, [esp + 8]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment