From: lkcl Date: Sat, 8 Feb 2020 16:24:54 +0000 (+0000) Subject: (no commit message) X-Git-Tag: convert-csv-opcode-to-binary~3512 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6f7f3a71e9587a9fab109badb0dde3e3ff12fe2b;p=libreriscv.git --- diff --git a/3d_gpu/architecture/dynamic_simd/shift.mdwn b/3d_gpu/architecture/dynamic_simd/shift.mdwn index 62e9ea429..1d3dfcdb1 100644 --- a/3d_gpu/architecture/dynamic_simd/shift.mdwn +++ b/3d_gpu/architecture/dynamic_simd/shift.mdwn @@ -32,6 +32,21 @@ input and a 4-way partition: out0 = p00[7..0] out1 = pmask[0] ? p01[7..0] : p00[15..8] +Table based on partitions: + +[[!table data=""" +p2p1p0 | o0 | o1 | o2 | o3 +++++++ | ++++++++ | ++++++++ | ++++++++ | ++ +0 0 0 | a0b0 | a1b0 | a2b0 | a3b0 +0 0 1 | eq0 | &(eq1-3) | 0 | 0 +0 1 0 | &(eq0-1) | 0 | &(eq2-3) | 0 +0 1 1 | eq0 | eq1 | &(eq2-3) | 0 +1 0 0 | &(eq0-2) | 0 | 0 | eq3 +1 0 1 | eq0 | &(eq1-2) | 0 | eq3 +1 1 0 | &(eq0-1) | 0 | eq2 | eq3 +1 1 1 | eq0 | eq1 | eq2 | eq3 +"""]] + # Static Partitioned Shift Static shift is pretty straightforward: the input is the entire number