summaryrefslogtreecommitdiffstats
path: root/src/mesa/sparc/glapi_sparc.S
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2001-11-18 23:52:37 +0000
committerBrian Paul <[email protected]>2001-11-18 23:52:37 +0000
commit5b7dab2e4c7df1fde0a7fcf28b8b54745b9fcd2e (patch)
tree05ce265fc4b97cfb18e32b20eefd6c05cfbad42a /src/mesa/sparc/glapi_sparc.S
parent17fe22d3bfcce0471ab9ae638cc6b0c91f7d8e65 (diff)
added test implementation of GL_ARB_window_pos
Diffstat (limited to 'src/mesa/sparc/glapi_sparc.S')
-rw-r--r--src/mesa/sparc/glapi_sparc.S336
1 files changed, 336 insertions, 0 deletions
diff --git a/src/mesa/sparc/glapi_sparc.S b/src/mesa/sparc/glapi_sparc.S
index c4ca052ac54..95da2212f84 100644
--- a/src/mesa/sparc/glapi_sparc.S
+++ b/src/mesa/sparc/glapi_sparc.S
@@ -14072,6 +14072,342 @@ GL_PREFIX(SamplePatternEXT):
#endif
jmpl %g3, %g0
nop
+
+GLOBL_FN(GL_PREFIX(WindowPos2dARB))
+.type WindowPos2dARB,#function
+GL_PREFIX(WindowPos2dARB):
+#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_WindowPos2dARB), %g2
+ or %g2, %lo(8 * _gloffset_WindowPos2dARB), %g2
+ ldx [%g1 + %g2], %g3
+#else
+ sethi %hi(0x00000000), %g1
+ ld [%g1 + %lo(0x00000000)], %g1
+ ld [%g1 + (4 * _gloffset_WindowPos2dARB)], %g3
+#endif
+ jmpl %g3, %g0
+ nop
+
+GLOBL_FN(GL_PREFIX(WindowPos2fARB))
+.type WindowPos2fARB,#function
+GL_PREFIX(WindowPos2fARB):
+#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_WindowPos2fARB), %g2
+ or %g2, %lo(8 * _gloffset_WindowPos2fARB), %g2
+ ldx [%g1 + %g2], %g3
+#else
+ sethi %hi(0x00000000), %g1
+ ld [%g1 + %lo(0x00000000)], %g1
+ ld [%g1 + (4 * _gloffset_WindowPos2fARB)], %g3
+#endif
+ jmpl %g3, %g0
+ nop
+
+GLOBL_FN(GL_PREFIX(WindowPos2iARB))
+.type WindowPos2iARB,#function
+GL_PREFIX(WindowPos2iARB):
+#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_WindowPos2iARB), %g2
+ or %g2, %lo(8 * _gloffset_WindowPos2iARB), %g2
+ ldx [%g1 + %g2], %g3
+#else
+ sethi %hi(0x00000000), %g1
+ ld [%g1 + %lo(0x00000000)], %g1
+ ld [%g1 + (4 * _gloffset_WindowPos2iARB)], %g3
+#endif
+ jmpl %g3, %g0
+ nop
+
+GLOBL_FN(GL_PREFIX(WindowPos2sARB))
+.type WindowPos2sARB,#function
+GL_PREFIX(WindowPos2sARB):
+#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_WindowPos2sARB), %g2
+ or %g2, %lo(8 * _gloffset_WindowPos2sARB), %g2
+ ldx [%g1 + %g2], %g3
+#else
+ sethi %hi(0x00000000), %g1
+ ld [%g1 + %lo(0x00000000)], %g1
+ ld [%g1 + (4 * _gloffset_WindowPos2sARB)], %g3
+#endif
+ jmpl %g3, %g0
+ nop
+
+GLOBL_FN(GL_PREFIX(WindowPos2dvARB))
+.type WindowPos2dvARB,#function
+GL_PREFIX(WindowPos2dvARB):
+#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_WindowPos2dvARB), %g2
+ or %g2, %lo(8 * _gloffset_WindowPos2dvARB), %g2
+ ldx [%g1 + %g2], %g3
+#else
+ sethi %hi(0x00000000), %g1
+ ld [%g1 + %lo(0x00000000)], %g1
+ ld [%g1 + (4 * _gloffset_WindowPos2dvARB)], %g3
+#endif
+ jmpl %g3, %g0
+ nop
+
+GLOBL_FN(GL_PREFIX(WindowPos2fvARB))
+.type WindowPos2fvARB,#function
+GL_PREFIX(WindowPos2fvARB):
+#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_WindowPos2fvARB), %g2
+ or %g2, %lo(8 * _gloffset_WindowPos2fvARB), %g2
+ ldx [%g1 + %g2], %g3
+#else
+ sethi %hi(0x00000000), %g1
+ ld [%g1 + %lo(0x00000000)], %g1
+ ld [%g1 + (4 * _gloffset_WindowPos2fvARB)], %g3
+#endif
+ jmpl %g3, %g0
+ nop
+
+GLOBL_FN(GL_PREFIX(WindowPos2ivARB))
+.type WindowPos2ivARB,#function
+GL_PREFIX(WindowPos2ivARB):
+#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_WindowPos2ivARB), %g2
+ or %g2, %lo(8 * _gloffset_WindowPos2ivARB), %g2
+ ldx [%g1 + %g2], %g3
+#else
+ sethi %hi(0x00000000), %g1
+ ld [%g1 + %lo(0x00000000)], %g1
+ ld [%g1 + (4 * _gloffset_WindowPos2ivARB)], %g3
+#endif
+ jmpl %g3, %g0
+ nop
+
+GLOBL_FN(GL_PREFIX(WindowPos2svARB))
+.type WindowPos2svARB,#function
+GL_PREFIX(WindowPos2svARB):
+#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_WindowPos2svARB), %g2
+ or %g2, %lo(8 * _gloffset_WindowPos2svARB), %g2
+ ldx [%g1 + %g2], %g3
+#else
+ sethi %hi(0x00000000), %g1
+ ld [%g1 + %lo(0x00000000)], %g1
+ ld [%g1 + (4 * _gloffset_WindowPos2svARB)], %g3
+#endif
+ jmpl %g3, %g0
+ nop
+
+GLOBL_FN(GL_PREFIX(WindowPos3dARB))
+.type WindowPos3dARB,#function
+GL_PREFIX(WindowPos3dARB):
+#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_WindowPos3dARB), %g2
+ or %g2, %lo(8 * _gloffset_WindowPos3dARB), %g2
+ ldx [%g1 + %g2], %g3
+#else
+ sethi %hi(0x00000000), %g1
+ ld [%g1 + %lo(0x00000000)], %g1
+ ld [%g1 + (4 * _gloffset_WindowPos3dARB)], %g3
+#endif
+ jmpl %g3, %g0
+ nop
+
+GLOBL_FN(GL_PREFIX(WindowPos3fARB))
+.type WindowPos3fARB,#function
+GL_PREFIX(WindowPos3fARB):
+#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_WindowPos3fARB), %g2
+ or %g2, %lo(8 * _gloffset_WindowPos3fARB), %g2
+ ldx [%g1 + %g2], %g3
+#else
+ sethi %hi(0x00000000), %g1
+ ld [%g1 + %lo(0x00000000)], %g1
+ ld [%g1 + (4 * _gloffset_WindowPos3fARB)], %g3
+#endif
+ jmpl %g3, %g0
+ nop
+
+GLOBL_FN(GL_PREFIX(WindowPos3iARB))
+.type WindowPos3iARB,#function
+GL_PREFIX(WindowPos3iARB):
+#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_WindowPos3iARB), %g2
+ or %g2, %lo(8 * _gloffset_WindowPos3iARB), %g2
+ ldx [%g1 + %g2], %g3
+#else
+ sethi %hi(0x00000000), %g1
+ ld [%g1 + %lo(0x00000000)], %g1
+ ld [%g1 + (4 * _gloffset_WindowPos3iARB)], %g3
+#endif
+ jmpl %g3, %g0
+ nop
+
+GLOBL_FN(GL_PREFIX(WindowPos3sARB))
+.type WindowPos3sARB,#function
+GL_PREFIX(WindowPos3sARB):
+#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_WindowPos3sARB), %g2
+ or %g2, %lo(8 * _gloffset_WindowPos3sARB), %g2
+ ldx [%g1 + %g2], %g3
+#else
+ sethi %hi(0x00000000), %g1
+ ld [%g1 + %lo(0x00000000)], %g1
+ ld [%g1 + (4 * _gloffset_WindowPos3sARB)], %g3
+#endif
+ jmpl %g3, %g0
+ nop
+
+GLOBL_FN(GL_PREFIX(WindowPos3dvARB))
+.type WindowPos3dvARB,#function
+GL_PREFIX(WindowPos3dvARB):
+#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_WindowPos3dvARB), %g2
+ or %g2, %lo(8 * _gloffset_WindowPos3dvARB), %g2
+ ldx [%g1 + %g2], %g3
+#else
+ sethi %hi(0x00000000), %g1
+ ld [%g1 + %lo(0x00000000)], %g1
+ ld [%g1 + (4 * _gloffset_WindowPos3dvARB)], %g3
+#endif
+ jmpl %g3, %g0
+ nop
+
+GLOBL_FN(GL_PREFIX(WindowPos3fvARB))
+.type WindowPos3fvARB,#function
+GL_PREFIX(WindowPos3fvARB):
+#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_WindowPos3fvARB), %g2
+ or %g2, %lo(8 * _gloffset_WindowPos3fvARB), %g2
+ ldx [%g1 + %g2], %g3
+#else
+ sethi %hi(0x00000000), %g1
+ ld [%g1 + %lo(0x00000000)], %g1
+ ld [%g1 + (4 * _gloffset_WindowPos3fvARB)], %g3
+#endif
+ jmpl %g3, %g0
+ nop
+
+GLOBL_FN(GL_PREFIX(WindowPos3ivARB))
+.type WindowPos3ivARB,#function
+GL_PREFIX(WindowPos3ivARB):
+#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_WindowPos3ivARB), %g2
+ or %g2, %lo(8 * _gloffset_WindowPos3ivARB), %g2
+ ldx [%g1 + %g2], %g3
+#else
+ sethi %hi(0x00000000), %g1
+ ld [%g1 + %lo(0x00000000)], %g1
+ ld [%g1 + (4 * _gloffset_WindowPos3ivARB)], %g3
+#endif
+ jmpl %g3, %g0
+ nop
+
+GLOBL_FN(GL_PREFIX(WindowPos3svARB))
+.type WindowPos3svARB,#function
+GL_PREFIX(WindowPos3svARB):
+#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_WindowPos3svARB), %g2
+ or %g2, %lo(8 * _gloffset_WindowPos3svARB), %g2
+ ldx [%g1 + %g2], %g3
+#else
+ sethi %hi(0x00000000), %g1
+ ld [%g1 + %lo(0x00000000)], %g1
+ ld [%g1 + (4 * _gloffset_WindowPos3svARB)], %g3
+#endif
+ jmpl %g3, %g0
+ nop
nop
.globl _mesa_sparc_glapi_end