[XviD-devel] Bug in cpuid.asm

Michael Militzer michael at xvid.org
Thu Mar 8 22:42:53 CET 2007


Hi,

> 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

done.

> And why isn't the code ported to x86_64 ?

done.

Unfortunately, I'm neither running a SSE3 nor x86_64 machine, so I can't
test it...

Regards,
Michael


Quoting Edouard Gomez <ed.gomez at free.fr>:

> 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
> _______________________________________________
> XviD-devel mailing list
> XviD-devel at xvid.org
> http://list.xvid.org/mailman/listinfo/xvid-devel
>






More information about the XviD-devel mailing list