summaryrefslogtreecommitdiff
path: root/generic/include/clc/relational/bitselect.h
diff options
context:
space:
mode:
Diffstat (limited to 'generic/include/clc/relational/bitselect.h')
-rw-r--r--generic/include/clc/relational/bitselect.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/include/clc/relational/bitselect.h b/generic/include/clc/relational/bitselect.h
new file mode 100644
index 0000000..e91cbfd
--- /dev/null
+++ b/generic/include/clc/relational/bitselect.h
@@ -0,0 +1 @@
+#define bitselect(x, y, z) ((x) ^ ((z) & ((y) ^ (x))))