-/* $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; \