From: Brian Paul Date: Sun, 24 Aug 2003 14:42:11 +0000 (+0000) Subject: regenerated for GL_IBM_multimode_draw_arrays X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f9dbd07e148fe2044b331d6b4cfbf90381878cd5;p=mesa.git regenerated for GL_IBM_multimode_draw_arrays --- diff --git a/src/mesa/sparc/glapi_sparc.S b/src/mesa/sparc/glapi_sparc.S index 90d2b78f1cf..43797b339cb 100644 --- a/src/mesa/sparc/glapi_sparc.S +++ b/src/mesa/sparc/glapi_sparc.S @@ -14049,6 +14049,48 @@ glWindowPos4svMESA: jmpl %g3, %g0 nop +.globl glMultiModeDrawArraysIBM +.type glMultiModeDrawArraysIBM,#function +glMultiModeDrawArraysIBM: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_MultiModeDrawArraysIBM), %g2 + or %g2, %lo(8 * _gloffset_MultiModeDrawArraysIBM), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_MultiModeDrawArraysIBM)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glMultiModeDrawElementsIBM +.type glMultiModeDrawElementsIBM,#function +glMultiModeDrawElementsIBM: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_MultiModeDrawElementsIBM), %g2 + or %g2, %lo(8 * _gloffset_MultiModeDrawElementsIBM), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_MultiModeDrawElementsIBM)], %g3 +#endif + jmpl %g3, %g0 + nop + .globl glTbufferMask3DFX .type glTbufferMask3DFX,#function glTbufferMask3DFX: @@ -18791,48 +18833,6 @@ glGetQueryObjectuivARB: sethi %hi(0x00000000), %g1 ld [%g1 + %lo(0x00000000)], %g1 ld [%g1 + (4 * _gloffset_GetQueryObjectuivARB)], %g3 -#endif - jmpl %g3, %g0 - nop - -.globl glMultiModeDrawArraysIBM -.type glMultiModeDrawArraysIBM,#function -glMultiModeDrawArraysIBM: -#ifdef __sparc_v9__ - sethi %hi(0x00000000), %g2 - sethi %hi(0x00000000), %g1 - or %g2, %lo(0x00000000), %g2 - or %g1, %lo(0x00000000), %g1 - sllx %g2, 32, %g2 - ldx [%g1 + %g2], %g1 - sethi %hi(8 * _gloffset_MultiModeDrawArraysIBM), %g2 - or %g2, %lo(8 * _gloffset_MultiModeDrawArraysIBM), %g2 - ldx [%g1 + %g2], %g3 -#else - sethi %hi(0x00000000), %g1 - ld [%g1 + %lo(0x00000000)], %g1 - ld [%g1 + (4 * _gloffset_MultiModeDrawArraysIBM)], %g3 -#endif - jmpl %g3, %g0 - nop - -.globl glMultiModeDrawElementsIBM -.type glMultiModeDrawElementsIBM,#function -glMultiModeDrawElementsIBM: -#ifdef __sparc_v9__ - sethi %hi(0x00000000), %g2 - sethi %hi(0x00000000), %g1 - or %g2, %lo(0x00000000), %g2 - or %g1, %lo(0x00000000), %g1 - sllx %g2, 32, %g2 - ldx [%g1 + %g2], %g1 - sethi %hi(8 * _gloffset_MultiModeDrawElementsIBM), %g2 - or %g2, %lo(8 * _gloffset_MultiModeDrawElementsIBM), %g2 - ldx [%g1 + %g2], %g3 -#else - sethi %hi(0x00000000), %g1 - ld [%g1 + %lo(0x00000000)], %g1 - ld [%g1 + (4 * _gloffset_MultiModeDrawElementsIBM)], %g3 #endif jmpl %g3, %g0 nop diff --git a/src/mesa/x86/glapi_x86.S b/src/mesa/x86/glapi_x86.S index 47c3cba4325..54c3670ed13 100644 --- a/src/mesa/x86/glapi_x86.S +++ b/src/mesa/x86/glapi_x86.S @@ -4029,6 +4029,18 @@ GL_PREFIX(WindowPos4svMESA): MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) JMP(GL_OFFSET(_gloffset_WindowPos4svMESA)) +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(MultiModeDrawArraysIBM)) +GL_PREFIX(MultiModeDrawArraysIBM): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_MultiModeDrawArraysIBM)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(MultiModeDrawElementsIBM)) +GL_PREFIX(MultiModeDrawElementsIBM): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_MultiModeDrawElementsIBM)) + ALIGNTEXT16 GLOBL_FN(GL_PREFIX(TbufferMask3DFX)) GL_PREFIX(TbufferMask3DFX): @@ -5385,17 +5397,5 @@ GL_PREFIX(GetQueryObjectuivARB): MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) JMP(GL_OFFSET(_gloffset_GetQueryObjectuivARB)) -ALIGNTEXT16 -GLOBL_FN(GL_PREFIX(MultiModeDrawArraysIBM)) -GL_PREFIX(MultiModeDrawArraysIBM): - MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) - JMP(GL_OFFSET(_gloffset_MultiModeDrawArraysIBM)) - -ALIGNTEXT16 -GLOBL_FN(GL_PREFIX(MultiModeDrawElementsIBM)) -GL_PREFIX(MultiModeDrawElementsIBM): - MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) - JMP(GL_OFFSET(_gloffset_MultiModeDrawElementsIBM)) - #endif /* __WIN32__ */