diff options
Diffstat (limited to 'src/post/goom/mmx.h')
-rwxr-xr-x | src/post/goom/mmx.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/post/goom/mmx.h b/src/post/goom/mmx.h index ab9d57d49..e43a1987c 100755 --- a/src/post/goom/mmx.h +++ b/src/post/goom/mmx.h @@ -72,6 +72,7 @@ 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 */ "pushf\n\t" @@ -214,9 +215,10 @@ mm_support(void) "movl $0, %0\n\n\t" "Return:\n\t" + "pop %%ebx\n\t" : "=X" (rval) : /* no input */ - : "eax", "ebx", "ecx", "edx" + : "eax", "ecx", "edx" ); /* Return */ |