summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/CPUDetect.cpp
diff options
context:
space:
mode:
authorgnick79 <gnick79@gmail.com>2011-02-07 20:19:21 +0000
committergnick79 <gnick79@gmail.com>2011-02-07 20:19:21 +0000
commit05ef2c1337a2c38b99738074c83babf2dee9400b (patch)
treeb6ff325423368c3be9db1f5499e8991955b7f1b3 /Source/Core/Common/Src/CPUDetect.cpp
parentd373258517900511af1073479398d38a49437ee0 (diff)
- again CPUID :°D
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7101 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common/Src/CPUDetect.cpp')
-rw-r--r--Source/Core/Common/Src/CPUDetect.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Common/Src/CPUDetect.cpp b/Source/Core/Common/Src/CPUDetect.cpp
index b7e85a7301..4549f61103 100644
--- a/Source/Core/Common/Src/CPUDetect.cpp
+++ b/Source/Core/Common/Src/CPUDetect.cpp
@@ -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),