From: lkcl Date: Sun, 7 Mar 2021 16:37:37 +0000 (+0000) Subject: (no commit message) X-Git-Tag: convert-csv-opcode-to-binary~71 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=63908ec5f5f43e49fd2815b847ee719ff7616c9d;p=libreriscv.git --- diff --git a/3d_gpu/architecture/dynamic_simd/logicops.mdwn b/3d_gpu/architecture/dynamic_simd/logicops.mdwn index 8a51be53e..5262d3b92 100644 --- a/3d_gpu/architecture/dynamic_simd/logicops.mdwn +++ b/3d_gpu/architecture/dynamic_simd/logicops.mdwn @@ -16,6 +16,15 @@ they are instead SIMD versions of: for i in range(64): result = result xor a[i] # one operand +more specifically (8x8 version): + + result = 0 # 64 bit, clear all bits + for j in range(8) + partial = 0 # initial value (single bit) + for i in range(8): + partial = partial xor a[i+j*8] + result[j*8] = partial + # Requirements Given a signal width (typically 64) and given an array of "Partition Points" (typically 7) that break the signal down into an arbitrary permutaion of 8 bit to 64 bit independent SIMD results, compute the following: