- again CPUID :°D

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7101 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
gnick79 2011-02-07 20:19:21 +00:00
parent d373258517
commit 05ef2c1337

View File

@ -39,10 +39,10 @@ static inline void do_cpuid(unsigned int *eax, unsigned int *ebx,
// Note: EBX is reserved on Mac OS X and in PIC on Linux, so it has to
// restored at the end of the asm block.
__asm__(
"pushl %%rbx;"
"push %%rbx;"
"cpuid;"
"movl %%rbx,%1;"
"popl %%rbx;"
"pop %%rbx;"
: "=a" (*eax),
"=r" (*ebx),
"=c" (*ecx),