radeon,r200: allow hyperz for radeon DRM module v2
[mesa.git] / src / mesa / sparc / sparc_matrix.h
index 85beef9d927b6d10907d06ab2a404958bcfef106..f677d9bda132b53c332962a97c9b9bdc93dccaa2 100644 (file)
@@ -1,9 +1,11 @@
-/* $Id: sparc_matrix.h,v 1.2 2001/06/05 23:54:01 davem69 Exp $ */
+/*
+ * SPARC assembly matrix code.
+ */
 
 #ifndef _SPARC_MATRIX_H
 #define _SPARC_MATRIX_H
 
-#ifdef __sparc_v9__
+#ifdef __arch64__
 #define LDPTR          ldx
 #define MAT_M          0x00
 #define MAT_INV                0x08
        ldd     [BASE + (12 * 0x4)], M12;       \
        ld      [BASE + (14 * 0x4)], M14
 
+#define LDMATRIX_0_5_10(BASE)                  \
+       ld      [BASE + ( 0 * 0x4)], M0;        \
+       ld      [BASE + ( 5 * 0x4)], M5;        \
+       ld      [BASE + (10 * 0x4)], M10;       \
+
 #define LDMATRIX_0_5_10_12_13_14(BASE)                 \
        ld      [BASE + ( 0 * 0x4)], M0;        \
        ld      [BASE + ( 5 * 0x4)], M5;        \