From: Brian Paul Date: Wed, 28 Mar 2001 17:22:11 +0000 (+0000) Subject: remove TEST_L and JZ instructions; always jump through the _glapi_Dispatch pointer X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=46560b94aecc67ba9876109adb0d600accb7661f;p=mesa.git remove TEST_L and JZ instructions; always jump through the _glapi_Dispatch pointer --- diff --git a/src/mesa/glapi/glx86asm.py b/src/mesa/glapi/glx86asm.py index 4ccf1f5a1dc..ce93279f5a1 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