diff test/test_align.h @ 4:75ab77f874e2

*: aligned generics, fixed altivec, aligned tests...
author Paper <paper@tflc.us>
date Wed, 23 Oct 2024 10:13:25 -0400
parents 3c5545b1568f
children 6ff0b7a44bb6
line wrap: on
line diff
--- a/test/test_align.h	Tue Oct 22 23:27:15 2024 -0400
+++ b/test/test_align.h	Wed Oct 23 10:13:25 2024 -0400
@@ -22,6 +22,9 @@
 	\
 		/* mark success or failure */ \
 		ret |= !!memcmp(vec_arr, vec_arr_out, V##csign##INT##bits##x##size##_ALIGNED_ARRAY_LENGTH(vec_arr)); \
+	\
+		ret |= !V##csign##INT##bits##x##size##_PTR_ALIGNED(vec_arr); \
+		ret |= !V##csign##INT##bits##x##size##_PTR_ALIGNED(vec_arr_out); \
 	} while (0);
 
 #define RUN_TESTS(bits, size) \