From cbc1fb0a9a4c97a36608fb20483246559b4c2f76 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 19 Sep 2002 16:07:32 +0000 Subject: [PATCH] push and pop ESI (Daniel Borca) --- src/mesa/x86/common_x86_asm.S | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mesa/x86/common_x86_asm.S b/src/mesa/x86/common_x86_asm.S index 6fe7443c814..5e7e39febe5 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 -- 2.30.2