diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2003-08-24 14:42:11 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2003-08-24 14:42:11 +0000 |
commit | f9dbd07e148fe2044b331d6b4cfbf90381878cd5 (patch) | |
tree | 162f7a7c197608d95ce8ed504386bd6c91309019 /src/mesa/sparc | |
parent | dc22a652c98187b68114c03f7fd7a0facdef1a4b (diff) |
regenerated for GL_IBM_multimode_draw_arrays
Diffstat (limited to 'src/mesa/sparc')
-rw-r--r-- | src/mesa/sparc/glapi_sparc.S | 84 |
1 files changed, 42 insertions, 42 deletions
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: @@ -18794,48 +18836,6 @@ glGetQueryObjectuivARB: #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 nop .globl _mesa_sparc_glapi_end |