1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 20:38:08 +01:00

Forgot the 'popal' at the end of asm.

This commit is contained in:
dan
2000-01-20 04:52:42 +00:00
parent a5cc413432
commit 3b374faadc

View File

@@ -49,8 +49,8 @@ x86_check_mmx()
"xorl %%ebx, %%eax \n"
"andl $(1<<21), %%eax \n"
"jz .NotPentium \n"
"xorl %%eax, %%eax \n"
"xorl %%eax, %%eax \n" // no eax effect because of the movl below
// except reseting flags. is it needed?
"movl $1, %%eax \n"
"cpuid \n"
"test $(1<<23), %%edx \n"
@@ -60,6 +60,7 @@ x86_check_mmx()
".NotMMX: \n"
".Bye: \n"
".NotPentium: \n"
"popal \n"
: "=rm" (result));