summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2002-09-19 16:07:32 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2002-09-19 16:07:32 +0000
commitcbc1fb0a9a4c97a36608fb20483246559b4c2f76 (patch)
tree0e7a62c759ea782d0cc051cccc3ab285cd784981
parentb6e04ee7c80dc47bad6d67c9b349332b880551cf (diff)
push and pop ESI (Daniel Borca)
-rw-r--r--src/mesa/x86/common_x86_asm.S4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/x86/common_x86_asm.S b/src/mesa/x86/common_x86_asm.S
index 6fe7443c81..5e7e39febe 100644
--- a/src/mesa/x86/common_x86_asm.S
+++ b/src/mesa/x86/common_x86_asm.S
@@ -1,4 +1,4 @@
-/* $Id: common_x86_asm.S,v 1.11 2002/07/11 15:33:02 brianp Exp $ */
+/* $Id: common_x86_asm.S,v 1.12 2002/09/19 16:07:32 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -72,6 +72,7 @@ GLOBL GLNAME( _mesa_identify_x86_cpu_features )
GLNAME( _mesa_identify_x86_cpu_features ):
PUSH_L ( EBX )
+ PUSH_L ( ESI )
/* Test for the CPUID command. If the ID Flag bit in EFLAGS
* (bit 21) is writable, the CPUID command is present.
@@ -167,6 +168,7 @@ LLBL(cpuid_failed):
LLBL (cpuid_done):
+ POP_L ( ESI )
POP_L ( EBX )
RET