From 726e47ad991cab1eb301c32b52b375559cceddd2 Mon Sep 17 00:00:00 2001 From: lkcl Date: Fri, 18 Dec 2020 19:11:34 +0000 Subject: [PATCH] --- 3d_gpu/architecture/dynamic_simd/logicops.mdwn | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 3d_gpu/architecture/dynamic_simd/logicops.mdwn diff --git a/3d_gpu/architecture/dynamic_simd/logicops.mdwn b/3d_gpu/architecture/dynamic_simd/logicops.mdwn new file mode 100644 index 000000000..fca18cb62 --- /dev/null +++ b/3d_gpu/architecture/dynamic_simd/logicops.mdwn @@ -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] + + -- 2.30.2