From b156e7599ce4feae3fdeb46e5a65a2ffb793f664 Mon Sep 17 00:00:00 2001 From: lkcl Date: Fri, 24 Sep 2021 01:19:29 +0100 Subject: [PATCH] --- 3d_gpu/architecture/dynamic_simd/cat.mdwn | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/3d_gpu/architecture/dynamic_simd/cat.mdwn b/3d_gpu/architecture/dynamic_simd/cat.mdwn index 3326f6598..cf4c69d9d 100644 --- a/3d_gpu/architecture/dynamic_simd/cat.mdwn +++ b/3d_gpu/architecture/dynamic_simd/cat.mdwn @@ -42,19 +42,21 @@ To confirm that let us assume that A is 16-bit and B is 32-bit: a : A3 A2 A1 A0 (16 bits) b : BBB3 BBB2 BBB1 BBB0 (32 bits) -When the partitions are x, the output is: +Output will always be 48 bits, and the partitions we +need to confirm but assume will be 4+8=12 bits. +When the partitions are 1x, the output is: - partition: p p p (3 bits) - out : A3 A2 A1 A0 BBB3 BBB2 BBB1 BBB0 (64 bits) + partition: 0 0 0 (3 bits) + out : A3 A2 A1 A0 BBB3 BBB2 BBB1 BBB0 (48 bits) When 2x: - partition: p p p (3 bits) - out : A3 A2 BBB3 BBB2 A1 A0 BBB1 BBB0 (64 bits) + partition: 0 1 0 (3 bits) + out : A3 A2 BBB3 BBB2 A1 A0 BBB1 BBB0 (48 bits) Finally when 4x: - partition: p p p (3 bits) + partition: 1 1 1 (3 bits) out : A3 BBB3 A2 BBB2 A1 BBB1 A0 BBB0 (48 bits) By a lucky coincidence the lengths match up. In the 1x case, -- 2.30.2