(no commit message)
authorlkcl <lkcl@web>
Fri, 18 Dec 2020 19:11:34 +0000 (19:11 +0000)
committerIkiWiki <ikiwiki.info>
Fri, 18 Dec 2020 19:11:34 +0000 (19:11 +0000)
3d_gpu/architecture/dynamic_simd/logicops.mdwn [new file with mode: 0644]

diff --git a/3d_gpu/architecture/dynamic_simd/logicops.mdwn b/3d_gpu/architecture/dynamic_simd/logicops.mdwn
new file mode 100644 (file)
index 0000000..fca18cb
--- /dev/null
@@ -0,0 +1,14 @@
+# Logic boolean operations
+
+These are not the same as bitwise operations equivslent to:
+
+     for i in range(64):
+         result[i] = a[i] or b[i]
+
+they are instead SIMD versions of:
+
+     result = 0 # initial value
+     for i in range(64):
+         result = result or a[i]
+
+