[XviD-devel] Bug in cpuid.asm

Edouard Gomez ed.gomez at free.fr
Thu Mar 8 21:44:46 CET 2007


Hey,

A user brought to me a bug in the cpuid.asm file.

The SSE3 bit is tested in the wrong register. The macro CHECK_FEATURES
checks feature from edx, but the sse3 bit is bit0 in ecx when using
eax=1 cpuid function.

This needs obviously fixing to avoid breakage on all FPU equiped CPUs
(bit 0 of edx for eax=1 cpuid) that don't have sse3 also... quite a bit
of them starting from pentium, pentiumII, pentium3, all k6, all athlons
before x86_64

And why isn't the code ported to x86_64 ?

-- 
Edouard Gomez


More information about the XviD-devel mailing list