aboutsummaryrefslogtreecommitdiff
path: root/src/vectors-4-Altivec.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vectors-4-Altivec.h')
-rw-r--r--src/vectors-4-Altivec.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vectors-4-Altivec.h b/src/vectors-4-Altivec.h
index d6281c8..3975c77 100644
--- a/src/vectors-4-Altivec.h
+++ b/src/vectors-4-Altivec.h
@@ -17,6 +17,12 @@
// Number of vector elements in a CCTK_REAL_VEC
#define CCTK_REAL4_VEC_SIZE 4
+// Integer and boolean types corresponding to this real type
+#define CCTK_INTEGER4 CCTK_REAL4
+#define CCTK_BOOLEAN4 CCTK_REAL4
+#define CCTK_INTEGER4_VEC CCTK_REAL4_VEC
+#define CCTK_BOOLEAN4_VEC CCTK_REAL4_VEC
+
// Create vectors, extract vector elements