From: lkcl Date: Sat, 23 Oct 2021 22:08:13 +0000 (+0100) Subject: (no commit message) X-Git-Tag: opf_rfc_ls005_v1~3540 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3c41aeee61c360d68f13688fc982001799c5347e;p=libreriscv.git --- diff --git a/3d_gpu/architecture/dynamic_simd/slice.mdwn b/3d_gpu/architecture/dynamic_simd/slice.mdwn index 86f00cbfa..fc12b86b4 100644 --- a/3d_gpu/architecture/dynamic_simd/slice.mdwn +++ b/3d_gpu/architecture/dynamic_simd/slice.mdwn @@ -237,6 +237,14 @@ entirety of the partition (overall fixed width): 0b01 B7B6 B5B4|B3B2 B1B0 0b10 B7B6|B5B4|B3B2|B1B0 -This gwts interesting. First, the simpler case: Cat() with a 3-bit slice. +This gets interesting. First, the simpler case: Cat() with a 3-bit slice. The end result (assuming `Cat(a[0:3], b)`) is: +* one 11-bit result for elwid=0b00 +* two 7-bit results for elwid=0b01 +* four 5-bit results for elwid=0b10 + + elwid | | | | | | + 0b00 |B7 B6B5B4 B3B2 B1B0A2A1A0 + 0b01 |B7B6 B5B4AaA9 A8| B3B2 B1B0A2A1A0 + 0b10 B7B6Ae AdAc|B5B4AaA9 A8|B3B2A6 A5A4|B1B0A2A1A0