mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 23:11:14 +01:00
- again CPUID :°D
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7101 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
d373258517
commit
05ef2c1337
@ -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),
|
||||
|
Loading…
x
Reference in New Issue
Block a user