📄 glapi_sparc.s
字号:
/* DO NOT EDIT - This file generated automatically by gl_SPARC_asm.py (from Mesa) script */
/*
* Copyright (C) 1999-2003 Brian Paul All Rights Reserved.
* (C) Copyright IBM Corporation 2004
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sub license,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
* BRIAN PAUL, IBM,
* AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
* OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
#include "glapioffsets.h"
#ifdef __arch64__
# define GL_STUB(fn,off) \
fn: \
sethi %hi(0x00000000), %g4 ; \
sethi %hi(0x00000000), %g1 ; \
or %g4, %lo(0x00000000), %g4 ; \
or %g1, %lo(0x00000000), %g1 ; \
sllx %g4, 32, %g4 ; \
ldx [%g1 + %g4], %g1 ; \
sethi %hi(8 * off), %g4 ; \
or %g4, %lo(8 * off), %g4 ; \
ldx [%g1 + %g4], %g5 ; \
jmpl %g5, %g0 ; \
nop
#else
# define GL_STUB(fn,off) \
fn: \
sethi %hi(0x00000000), %g1 ; \
ld [%g1 + %lo(0x00000000)], %g1 ; \
ld [%g1 + (4 * off)], %g5 ; \
jmpl %g5, %g0 ; \
nop
#endif
#define GL_STUB_ALIAS(fn,alias) fn = alias
.text
.align 32
.globl __glapi_sparc_icache_flush ; .type __glapi_sparc_icache_flush,#function
__glapi_sparc_icache_flush: /* %o0 = insn_addr */
flush %o0
retl
nop
.data
.align 64
.globl glNewList ; .type glNewList,#function
.globl glEndList ; .type glEndList,#function
.globl glCallList ; .type glCallList,#function
.globl glCallLists ; .type glCallLists,#function
.globl glDeleteLists ; .type glDeleteLists,#function
.globl glGenLists ; .type glGenLists,#function
.globl glListBase ; .type glListBase,#function
.globl glBegin ; .type glBegin,#function
.globl glBitmap ; .type glBitmap,#function
.globl glColor3b ; .type glColor3b,#function
.globl glColor3bv ; .type glColor3bv,#function
.globl glColor3d ; .type glColor3d,#function
.globl glColor3dv ; .type glColor3dv,#function
.globl glColor3f ; .type glColor3f,#function
.globl glColor3fv ; .type glColor3fv,#function
.globl glColor3i ; .type glColor3i,#function
.globl glColor3iv ; .type glColor3iv,#function
.globl glColor3s ; .type glColor3s,#function
.globl glColor3sv ; .type glColor3sv,#function
.globl glColor3ub ; .type glColor3ub,#function
.globl glColor3ubv ; .type glColor3ubv,#function
.globl glColor3ui ; .type glColor3ui,#function
.globl glColor3uiv ; .type glColor3uiv,#function
.globl glColor3us ; .type glColor3us,#function
.globl glColor3usv ; .type glColor3usv,#function
.globl glColor4b ; .type glColor4b,#function
.globl glColor4bv ; .type glColor4bv,#function
.globl glColor4d ; .type glColor4d,#function
.globl glColor4dv ; .type glColor4dv,#function
.globl glColor4f ; .type glColor4f,#function
.globl glColor4fv ; .type glColor4fv,#function
.globl glColor4i ; .type glColor4i,#function
.globl glColor4iv ; .type glColor4iv,#function
.globl glColor4s ; .type glColor4s,#function
.globl glColor4sv ; .type glColor4sv,#function
.globl glColor4ub ; .type glColor4ub,#function
.globl glColor4ubv ; .type glColor4ubv,#function
.globl glColor4ui ; .type glColor4ui,#function
.globl glColor4uiv ; .type glColor4uiv,#function
.globl glColor4us ; .type glColor4us,#function
.globl glColor4usv ; .type glColor4usv,#function
.globl glEdgeFlag ; .type glEdgeFlag,#function
.globl glEdgeFlagv ; .type glEdgeFlagv,#function
.globl glEnd ; .type glEnd,#function
.globl glIndexd ; .type glIndexd,#function
.globl glIndexdv ; .type glIndexdv,#function
.globl glIndexf ; .type glIndexf,#function
.globl glIndexfv ; .type glIndexfv,#function
.globl glIndexi ; .type glIndexi,#function
.globl glIndexiv ; .type glIndexiv,#function
.globl glIndexs ; .type glIndexs,#function
.globl glIndexsv ; .type glIndexsv,#function
.globl glNormal3b ; .type glNormal3b,#function
.globl glNormal3bv ; .type glNormal3bv,#function
.globl glNormal3d ; .type glNormal3d,#function
.globl glNormal3dv ; .type glNormal3dv,#function
.globl glNormal3f ; .type glNormal3f,#function
.globl glNormal3fv ; .type glNormal3fv,#function
.globl glNormal3i ; .type glNormal3i,#function
.globl glNormal3iv ; .type glNormal3iv,#function
.globl glNormal3s ; .type glNormal3s,#function
.globl glNormal3sv ; .type glNormal3sv,#function
.globl glRasterPos2d ; .type glRasterPos2d,#function
.globl glRasterPos2dv ; .type glRasterPos2dv,#function
.globl glRasterPos2f ; .type glRasterPos2f,#function
.globl glRasterPos2fv ; .type glRasterPos2fv,#function
.globl glRasterPos2i ; .type glRasterPos2i,#function
.globl glRasterPos2iv ; .type glRasterPos2iv,#function
.globl glRasterPos2s ; .type glRasterPos2s,#function
.globl glRasterPos2sv ; .type glRasterPos2sv,#function
.globl glRasterPos3d ; .type glRasterPos3d,#function
.globl glRasterPos3dv ; .type glRasterPos3dv,#function
.globl glRasterPos3f ; .type glRasterPos3f,#function
.globl glRasterPos3fv ; .type glRasterPos3fv,#function
.globl glRasterPos3i ; .type glRasterPos3i,#function
.globl glRasterPos3iv ; .type glRasterPos3iv,#function
.globl glRasterPos3s ; .type glRasterPos3s,#function
.globl glRasterPos3sv ; .type glRasterPos3sv,#function
.globl glRasterPos4d ; .type glRasterPos4d,#function
.globl glRasterPos4dv ; .type glRasterPos4dv,#function
.globl glRasterPos4f ; .type glRasterPos4f,#function
.globl glRasterPos4fv ; .type glRasterPos4fv,#function
.globl glRasterPos4i ; .type glRasterPos4i,#function
.globl glRasterPos4iv ; .type glRasterPos4iv,#function
.globl glRasterPos4s ; .type glRasterPos4s,#function
.globl glRasterPos4sv ; .type glRasterPos4sv,#function
.globl glRectd ; .type glRectd,#function
.globl glRectdv ; .type glRectdv,#function
.globl glRectf ; .type glRectf,#function
.globl glRectfv ; .type glRectfv,#function
.globl glRecti ; .type glRecti,#function
.globl glRectiv ; .type glRectiv,#function
.globl glRects ; .type glRects,#function
.globl glRectsv ; .type glRectsv,#function
.globl glTexCoord1d ; .type glTexCoord1d,#function
.globl glTexCoord1dv ; .type glTexCoord1dv,#function
.globl glTexCoord1f ; .type glTexCoord1f,#function
.globl glTexCoord1fv ; .type glTexCoord1fv,#function
.globl glTexCoord1i ; .type glTexCoord1i,#function
.globl glTexCoord1iv ; .type glTexCoord1iv,#function
.globl glTexCoord1s ; .type glTexCoord1s,#function
.globl glTexCoord1sv ; .type glTexCoord1sv,#function
.globl glTexCoord2d ; .type glTexCoord2d,#function
.globl glTexCoord2dv ; .type glTexCoord2dv,#function
.globl glTexCoord2f ; .type glTexCoord2f,#function
.globl glTexCoord2fv ; .type glTexCoord2fv,#function
.globl glTexCoord2i ; .type glTexCoord2i,#function
.globl glTexCoord2iv ; .type glTexCoord2iv,#function
.globl glTexCoord2s ; .type glTexCoord2s,#function
.globl glTexCoord2sv ; .type glTexCoord2sv,#function
.globl glTexCoord3d ; .type glTexCoord3d,#function
.globl glTexCoord3dv ; .type glTexCoord3dv,#function
.globl glTexCoord3f ; .type glTexCoord3f,#function
.globl glTexCoord3fv ; .type glTexCoord3fv,#function
.globl glTexCoord3i ; .type glTexCoord3i,#function
.globl glTexCoord3iv ; .type glTexCoord3iv,#function
.globl glTexCoord3s ; .type glTexCoord3s,#function
.globl glTexCoord3sv ; .type glTexCoord3sv,#function
.globl glTexCoord4d ; .type glTexCoord4d,#function
.globl glTexCoord4dv ; .type glTexCoord4dv,#function
.globl glTexCoord4f ; .type glTexCoord4f,#function
.globl glTexCoord4fv ; .type glTexCoord4fv,#function
.globl glTexCoord4i ; .type glTexCoord4i,#function
.globl glTexCoord4iv ; .type glTexCoord4iv,#function
.globl glTexCoord4s ; .type glTexCoord4s,#function
.globl glTexCoord4sv ; .type glTexCoord4sv,#function
.globl glVertex2d ; .type glVertex2d,#function
.globl glVertex2dv ; .type glVertex2dv,#function
.globl glVertex2f ; .type glVertex2f,#function
.globl glVertex2fv ; .type glVertex2fv,#function
.globl glVertex2i ; .type glVertex2i,#function
.globl glVertex2iv ; .type glVertex2iv,#function
.globl glVertex2s ; .type glVertex2s,#function
.globl glVertex2sv ; .type glVertex2sv,#function
.globl glVertex3d ; .type glVertex3d,#function
.globl glVertex3dv ; .type glVertex3dv,#function
.globl glVertex3f ; .type glVertex3f,#function
.globl glVertex3fv ; .type glVertex3fv,#function
.globl glVertex3i ; .type glVertex3i,#function
.globl glVertex3iv ; .type glVertex3iv,#function
.globl glVertex3s ; .type glVertex3s,#function
.globl glVertex3sv ; .type glVertex3sv,#function
.globl glVertex4d ; .type glVertex4d,#function
.globl glVertex4dv ; .type glVertex4dv,#function
.globl glVertex4f ; .type glVertex4f,#function
.globl glVertex4fv ; .type glVertex4fv,#function
.globl glVertex4i ; .type glVertex4i,#function
.globl glVertex4iv ; .type glVertex4iv,#function
.globl glVertex4s ; .type glVertex4s,#function
.globl glVertex4sv ; .type glVertex4sv,#function
.globl glClipPlane ; .type glClipPlane,#function
.globl glColorMaterial ; .type glColorMaterial,#function
.globl glCullFace ; .type glCullFace,#function
.globl glFogf ; .type glFogf,#function
.globl glFogfv ; .type glFogfv,#function
.globl glFogi ; .type glFogi,#function
.globl glFogiv ; .type glFogiv,#function
.globl glFrontFace ; .type glFrontFace,#function
.globl glHint ; .type glHint,#function
.globl glLightf ; .type glLightf,#function
.globl glLightfv ; .type glLightfv,#function
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -