I think this fixes bug #244
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401860
This commit is contained in:
parent
d565a14593
commit
e3993a9c60
1 changed files with 2 additions and 2 deletions
|
@ -109,7 +109,7 @@ CPUid by definition. But it's nice to be able to prove it. :) */
|
||||||
mov has_CPUID,1 ; We have CPUID support
|
mov has_CPUID,1 ; We have CPUID support
|
||||||
done:
|
done:
|
||||||
}
|
}
|
||||||
#elif defined(__sun) && defined(__x86)
|
#elif defined(__sun) && defined(__i386)
|
||||||
__asm (
|
__asm (
|
||||||
" pushfl \n"
|
" pushfl \n"
|
||||||
" popl %eax \n"
|
" popl %eax \n"
|
||||||
|
@ -175,7 +175,7 @@ static __inline__ int CPU_getCPUIDFeatures(void)
|
||||||
mov features, edx
|
mov features, edx
|
||||||
done:
|
done:
|
||||||
}
|
}
|
||||||
#elif defined(__sun) && (defined(__x86) || defined(__amd64))
|
#elif defined(__sun) && (defined(__i386) || defined(__amd64))
|
||||||
__asm(
|
__asm(
|
||||||
" movl %ebx,%edi\n"
|
" movl %ebx,%edi\n"
|
||||||
" xorl %eax,%eax \n"
|
" xorl %eax,%eax \n"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue