OSDN Git Service

Fix SPARC assembly for 64-bit
authorIan Romanick <idr@us.ibm.com>
Thu, 28 Jul 2005 00:11:10 +0000 (00:11 +0000)
committerIan Romanick <idr@us.ibm.com>
Thu, 28 Jul 2005 00:11:10 +0000 (00:11 +0000)
commit9f23a3a1bff6c8af93e651273c9887bbf119f555
tree0bdc6e08b24ee9f855aa7132944d5a26e1edf37c
parent3e36986e5a59c734b7bd198a16fb9af3314860de
Fix SPARC assembly for 64-bit

- The test for whether or not we're building for 64-bit is '#ifdef __arch64__'.
 This appears to be correct on both Linux and Solaris.

- The test for Solaris is now '#if defined(SVR4) || defined(__SVR4) ||
defined(__svr4__)'.  GCC 3.4.0 has all three defined on Solaris 9.

- Enables assembly language clip routines.

- Fixes to make GLSL code build on Solaris.

- Update gl_SPARC_asm.py.
12 files changed:
configs/linux-sparc
configs/sunos5-gcc
include/GL/glxext.h
src/mesa/glapi/gl_SPARC_asm.py
src/mesa/glapi/glapi.c
src/mesa/shader/grammar/grammar.c
src/mesa/sparc/clip.S
src/mesa/sparc/glapi_sparc.S
src/mesa/sparc/norm.S
src/mesa/sparc/sparc.c
src/mesa/sparc/sparc_matrix.h
src/mesa/sparc/xform.S