From: lkcl Date: Sat, 16 Jan 2021 12:59:36 +0000 (+0000) Subject: (no commit message) X-Git-Tag: convert-csv-opcode-to-binary~448 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=26c27b2118ee4e027bb3c7899ba2465c66000ebb;p=libreriscv.git --- diff --git a/3d_gpu/architecture/dynamic_simd/logicops.mdwn b/3d_gpu/architecture/dynamic_simd/logicops.mdwn index f20009dd5..581114ab3 100644 --- a/3d_gpu/architecture/dynamic_simd/logicops.mdwn +++ b/3d_gpu/architecture/dynamic_simd/logicops.mdwn @@ -82,16 +82,16 @@ Exactly the same as for eq, instead the "xor" operator for example is the amalga table showing how to combine x0-3 based on partitions p0-2 to produce result o0-3 [[!table data=""" -p2p1p0 | o0 | o1 | o2 | o3 ------- | -------- | -------- | -------- | -- -0 0 0 | ^(x0-3) | ^(x0-3) | ^(x0-3) | ^(x0-3) -0 0 1 | x0 | ^(x1-3) | ^(x1-3) | ^(x1-3) -0 1 0 | ^(x0-1) | ^(x0-1) | ^(x2-3) | ^(x2-3) -0 1 1 | x0 | x1 | ^(x2-3) | ^(x2-3) -1 0 0 | ^(x0-2) | ^(x0-2) | ^(x0-2) | x3 -1 0 1 | x0 | ^(x1-2) | ^(x1-2) | x3 -1 1 0 | ^(x0-1) | ^(x0-1) | x2 | x3 -1 1 1 | x0 | x1 | x2 | x3 +p2p1p0 | o0 | o1 | o2 | o3 | +------ | -------- | -------- | -------- | -------- | +0 0 0 | ^(x0-3) | ^(x0-3) | ^(x0-3) | ^(x0-3) | +0 0 1 | x0 | ^(x1-3) | ^(x1-3) | ^(x1-3) | +0 1 0 | ^(x0-1) | ^(x0-1) | ^(x2-3) | ^(x2-3) | +0 1 1 | x0 | x1 | ^(x2-3) | ^(x2-3) | +1 0 0 | ^(x0-2) | ^(x0-2) | ^(x0-2) | x3 | +1 0 1 | x0 | ^(x1-2) | ^(x1-2) | x3 | +1 1 0 | ^(x0-1) | ^(x0-1) | x2 | x3 | +1 1 1 | x0 | x1 | x2 | x3 | """]] Example: