mirror of https://github.com/mpv-player/mpv
fixed?
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2283 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
637ead4353
commit
236f115d9b
|
@ -135,6 +135,7 @@ void GetCpuCaps( CpuCaps *caps)
|
||||||
regs[3] == 0x69746e65 &&
|
regs[3] == 0x69746e65 &&
|
||||||
regs[2] == 0x444d4163) {
|
regs[2] == 0x444d4163) {
|
||||||
do_cpuid(0x80000000, regs);
|
do_cpuid(0x80000000, regs);
|
||||||
|
printf("AMD cpuid-level: 0x%X\n",regs[0]);
|
||||||
if (regs[0]>=0x80000001) {
|
if (regs[0]>=0x80000001) {
|
||||||
do_cpuid(0x80000001, regs2);
|
do_cpuid(0x80000001, regs2);
|
||||||
caps->hasMMX = (regs2[3] & (1 << 23 )) >> 23; // 0x0800000
|
caps->hasMMX = (regs2[3] & (1 << 23 )) >> 23; // 0x0800000
|
||||||
|
|
Loading…
Reference in New Issue