From: lkcl Date: Thu, 23 Sep 2021 21:21:36 +0000 (+0100) Subject: (no commit message) X-Git-Tag: DRAFT_SVP64_0_1~34 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c88b0c3bd3786f084081e131792329b4365ee38c;p=libreriscv.git --- diff --git a/3d_gpu/architecture/dynamic_simd/cat.mdwn b/3d_gpu/architecture/dynamic_simd/cat.mdwn index 1b84666b7..ac05be256 100644 --- a/3d_gpu/architecture/dynamic_simd/cat.mdwn +++ b/3d_gpu/architecture/dynamic_simd/cat.mdwn @@ -19,5 +19,19 @@ When the partitions are 32-bit, the output is: partition: p p p (3 bits) out : AAA3 AAA2 AAA1 AAA0 BBB3 BBB2 BBB1 BBB0 (64 bits) -When 2x16: +When 2x16, the top 2 halves of A and B are Catted together, +and likewise the lower: + partition: p p p (3 bits) + out : AAA3 AAA2 BBB3 BBB2 AAA1 AAA0 BBB1 BBB0 (64 bits) + +Finally when 4x8, each byte is concatenated: + + partition: p p p (3 bits) + out : AAA3 BBB3 AAA2 BBB2 AAA1 BBB1 AAA0 BBB0 (64 bits) + +This then generalises regardless of the number of PartitionedSignals +being Concatenated, and, also, regardless of the actual length of +each individual PartitionedSignal. + +To confirm that et us assume that A is 16-bit and B is 32-bit: