From: lkcl Date: Sat, 16 Jan 2021 13:01:51 +0000 (+0000) Subject: (no commit message) X-Git-Tag: convert-csv-opcode-to-binary~447 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1068fe8ff1e6f5c0fd15e9b9bf82781784220afc;p=libreriscv.git --- diff --git a/3d_gpu/architecture/dynamic_simd/logicops.mdwn b/3d_gpu/architecture/dynamic_simd/logicops.mdwn index 581114ab3..2fe7671a2 100644 --- a/3d_gpu/architecture/dynamic_simd/logicops.mdwn +++ b/3d_gpu/architecture/dynamic_simd/logicops.mdwn @@ -73,13 +73,15 @@ Exactly the same as for eq, instead the "xor" operator for example is the amalga partition: P P P (3 partition bits) a : .... .... .... .... (32 input bits) xor-a : x0 P x1 P x2 P x3 (4+3 bits, P=0 "breaks") + +the partial results x0-x3 are computed as follows: x0 = input[0:7].xor() x1 = input[8:15].xor() x2 = input[16:23].xor() x3 = input[24:31].xor() -table showing how to combine x0-3 based on partitions p0-2 to produce result o0-3 +here is the table showing how to combine `x0-3` based on partitions `p0-2`, to produce results `o0-3` [[!table data=""" p2p1p0 | o0 | o1 | o2 | o3 |