diff options
author | davem69 <davem69> | 2001-06-05 23:54:00 +0000 |
---|---|---|
committer | davem69 <davem69> | 2001-06-05 23:54:00 +0000 |
commit | 775355a88a0927e2e3a855036c26950397a61d7b (patch) | |
tree | 21cb0c4eb6e3829ccfb3099933cfd80921516ef0 /src/mesa/sparc/xform.S | |
parent | 0fab0702b03a0036e20cd823ad31bdc361f8fc1b (diff) |
Sparc optimized GLAPI dispatch table.
Diffstat (limited to 'src/mesa/sparc/xform.S')
-rw-r--r-- | src/mesa/sparc/xform.S | 27 |
1 files changed, 2 insertions, 25 deletions
diff --git a/src/mesa/sparc/xform.S b/src/mesa/sparc/xform.S index 368fdd98c10..a57d35720e4 100644 --- a/src/mesa/sparc/xform.S +++ b/src/mesa/sparc/xform.S @@ -1,4 +1,4 @@ -/* $Id: xform.S,v 1.1 2001/05/23 14:27:03 brianp Exp $ */ +/* $Id: xform.S,v 1.2 2001/06/05 23:54:01 davem69 Exp $ */ /* TODO * @@ -16,28 +16,7 @@ * tricky and not much of a gain though. */ -#ifdef __sparc_v9__ -#define LDPTR ldx -#define V4F_DATA 0x00 -#define V4F_START 0x08 -#define V4F_COUNT 0x10 -#define V4F_STRIDE 0x14 -#define V4F_SIZE 0x18 -#define V4F_FLAGS 0x1c -#else -#define LDPTR ld -#define V4F_DATA 0x00 -#define V4F_START 0x04 -#define V4F_COUNT 0x08 -#define V4F_STRIDE 0x0c -#define V4F_SIZE 0x10 -#define V4F_FLAGS 0x14 -#endif - -#define VEC_SIZE_1 1 -#define VEC_SIZE_2 3 -#define VEC_SIZE_3 7 -#define VEC_SIZE_4 15 +#include "sparc_matrix.h" .text .align 64 @@ -71,8 +50,6 @@ __set_v4f_4: retl st %g2, [%o0 + V4F_FLAGS] -#include "sparc_matrix.h" - /* First the raw versions. */ .globl _mesa_sparc_transform_points1_general |