changeset 12:c93928877234

vec: define not operation for doubled size types
author Paper <paper@tflc.us>
date Tue, 19 Nov 2024 01:00:09 -0500
parents 13575ba795d3
children 981cf0bc7f3a
files include/vec/vec.h
diffstat 1 files changed, 18 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/include/vec/vec.h	Mon Nov 18 16:12:24 2024 -0500
+++ b/include/vec/vec.h	Tue Nov 19 01:00:09 2024 -0500
@@ -474,6 +474,24 @@
 DEFINE_NOT_OPERATION(u, 32, 4)
 DEFINE_NOT_OPERATION(u, 64, 2)
 
+DEFINE_NOT_OPERATION(, 8, 32)
+DEFINE_NOT_OPERATION(, 16, 16)
+DEFINE_NOT_OPERATION(, 32, 8)
+DEFINE_NOT_OPERATION(, 64, 4)
+DEFINE_NOT_OPERATION(u, 8, 32)
+DEFINE_NOT_OPERATION(u, 16, 16)
+DEFINE_NOT_OPERATION(u, 32, 8)
+DEFINE_NOT_OPERATION(u, 64, 4)
+
+DEFINE_NOT_OPERATION(, 8, 64)
+DEFINE_NOT_OPERATION(, 16, 32)
+DEFINE_NOT_OPERATION(, 32, 16)
+DEFINE_NOT_OPERATION(, 64, 8)
+DEFINE_NOT_OPERATION(u, 8, 64)
+DEFINE_NOT_OPERATION(u, 16, 32)
+DEFINE_NOT_OPERATION(u, 32, 16)
+DEFINE_NOT_OPERATION(u, 64, 8)
+
 #undef DEFINE_NOT_OPERATION
 
 /* ---------------------------------------------------------------- */