summaryrefslogtreecommitdiff
path: root/src/post/goom/mmx.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/post/goom/mmx.h')
-rwxr-xr-xsrc/post/goom/mmx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/post/goom/mmx.h b/src/post/goom/mmx.h
index e43a1987c..3fae26b98 100755
--- a/src/post/goom/mmx.h
+++ b/src/post/goom/mmx.h
@@ -72,9 +72,9 @@ mm_support(void)
register int rval = 0;
__asm__ __volatile__ (
- "push %%ebx\n\t"
/* See if CPUID instruction is supported ... */
/* ... Get copies of EFLAGS into eax and ecx */
+ "pushl %%ebx\n\t"
"pushf\n\t"
"popl %%eax\n\t"
"movl %%eax, %%ecx\n\t"
@@ -215,7 +215,7 @@ mm_support(void)
"movl $0, %0\n\n\t"
"Return:\n\t"
- "pop %%ebx\n\t"
+ "popl %%ebx\n\t"
: "=X" (rval)
: /* no input */
: "eax", "ecx", "edx"