diff test/test_align.h @ 15:e05c257c6a23

*: huge refactor, add many new x86 intrinsics and the like ALSO!! now intrinsics are enabled at runtime, depending on what is detected. altivec *should* still work but I only tested compiling it. the major version has been updated to 2.0 for this...
author Paper <paper@tflc.us>
date Wed, 20 Nov 2024 04:10:37 -0500
parents 53197dbf4e8e
children 41dd962abdd1
line wrap: on
line diff
--- a/test/test_align.h	Tue Nov 19 15:55:01 2024 -0500
+++ b/test/test_align.h	Wed Nov 20 04:10:37 2024 -0500
@@ -31,7 +31,24 @@
 	RUN_TEST( ,  , bits, size) \
 	RUN_TEST(u, U, bits, size)
 
+	RUN_TESTS(8, 8)
+	RUN_TESTS(16, 4)
+	RUN_TESTS(32, 2)
+
 	RUN_TESTS(8, 16)
+	RUN_TESTS(16, 8)
+	RUN_TESTS(32, 4)
+	RUN_TESTS(64, 2)
+
+	RUN_TESTS(8, 32)
+	RUN_TESTS(16, 16)
+	RUN_TESTS(32, 8)
+	RUN_TESTS(64, 4)
+
+	RUN_TESTS(8, 64)
+	RUN_TESTS(16, 32)
+	RUN_TESTS(32, 16)
+	RUN_TESTS(64, 8)
 
 #undef RUN_TESTS
 #undef RUN_TEST