diff options
author | Eric Anholt <[email protected]> | 2019-06-20 10:35:32 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2019-07-01 11:14:29 -0700 |
commit | 67ffb853f05eb24222970261018f6ed0982e6be4 (patch) | |
tree | 42cf1145acb416178752c858b721edbf95510ffa /src/mesa/sparc/sparc_clip.S | |
parent | 20294dceebc23236e33b22578245f7e6f41b6997 (diff) |
sparc: Reuse m_vector_asm.h.
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/mesa/sparc/sparc_clip.S')
-rw-r--r-- | src/mesa/sparc/sparc_clip.S | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/src/mesa/sparc/sparc_clip.S b/src/mesa/sparc/sparc_clip.S index dc239171ff9..11aa8324ec2 100644 --- a/src/mesa/sparc/sparc_clip.S +++ b/src/mesa/sparc/sparc_clip.S @@ -4,20 +4,12 @@ #if __arch64__ #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 +#define MATH_ASM_PTR_SIZE 8 +#include "math/m_vector_asm.h" #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 +#define MATH_ASM_PTR_SIZE 4 +#include "math/m_vector_asm.h" #endif #define VEC_SIZE_1 1 |