From: lkcl Date: Tue, 5 Oct 2021 19:32:37 +0000 (+0100) Subject: (no commit message) X-Git-Tag: opf_rfc_ls005_v1~3701 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1ec8666a733ff217730ba080a7cdd4d82f2c280e;p=libreriscv.git --- diff --git a/3d_gpu/architecture/dynamic_simd/repl.mdwn b/3d_gpu/architecture/dynamic_simd/repl.mdwn index 5e676cc4f..a97460554 100644 --- a/3d_gpu/architecture/dynamic_simd/repl.mdwn +++ b/3d_gpu/architecture/dynamic_simd/repl.mdwn @@ -6,7 +6,7 @@ Partitioned Repl is very similar to [[cat]] and [[assign]]. The output completely changes depending on the partition mask. -Take a PartitionedSignal: +Take a PartitionedSignal and a repeat quantity of 2: partition: p p p (3 bits) a : AAA3 AAA2 AAA1 AAA0 (32 bits) @@ -14,16 +14,16 @@ Take a PartitionedSignal: 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) + out : AAA3 AAA2 AAA1 AAA0 AAA3 AAA2 AAA1 AAA0 (64 bits) -When 2x16, the top 2 halves of A and B are Catted together, +When 2x16, the top half of A is replicated, and likewise the lower: partition: p p p (3 bits) - out : AAA3 AAA2 BBB3 BBB2 AAA1 AAA0 BBB1 BBB0 (64 bits) + out : AAA3 AAA2 AAA3 AAA2 AAA1 AAA0 AAA1 AAA0 (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) + out : AAA3 AAA3 AAA2 AAA2 AAA1 AAA1 AAA0 AAA0 (64 bits)