From: lkcl Date: Fri, 18 Dec 2020 19:11:34 +0000 (+0000) Subject: (no commit message) X-Git-Tag: convert-csv-opcode-to-binary~1219 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=726e47ad991cab1eb301c32b52b375559cceddd2;p=libreriscv.git --- 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] + +