From 46560b94aecc67ba9876109adb0d600accb7661f Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 28 Mar 2001 17:22:11 +0000 Subject: remove TEST_L and JZ instructions; always jump through the _glapi_Dispatch pointer --- src/mesa/glapi/glx86asm.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/mesa/glapi/glx86asm.py b/src/mesa/glapi/glx86asm.py index 4ccf1f5a1d..ce93279f5a 100644 --- a/src/mesa/glapi/glx86asm.py +++ b/src/mesa/glapi/glx86asm.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# $Id: glx86asm.py,v 1.2 2000/09/06 17:33:40 brianp Exp $ +# $Id: glx86asm.py,v 1.3 2001/03/28 17:22:11 brianp Exp $ # Mesa 3-D graphics library # Version: 3.4 @@ -77,8 +77,6 @@ def GenerateDispatchCode(name, offset): print "GLOBL_FN(GL_PREFIX(%s))" % (name) print "GL_PREFIX(%s):" % (name) print '\tMOV_L(GLNAME(_glapi_Dispatch), EAX)' - print '\tTEST_L(EAX, EAX)' - print "\tJZ(GLNAME(_glapi_fallback_%s))" % (name) print "\tJMP(GL_OFFSET(_gloffset_%s))" % (offset) print '' #enddef -- cgit v1.2.3