From: lkcl Date: Fri, 24 Sep 2021 21:37:09 +0000 (+0100) Subject: (no commit message) X-Git-Tag: DRAFT_SVP64_0_1~17 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=45152e25f617a0eb0a80d93f3334766bad932b5a;p=libreriscv.git --- diff --git a/3d_gpu/architecture/dynamic_simd/assign.mdwn b/3d_gpu/architecture/dynamic_simd/assign.mdwn index 8f1435a44..1d199467d 100644 --- a/3d_gpu/architecture/dynamic_simd/assign.mdwn +++ b/3d_gpu/architecture/dynamic_simd/assign.mdwn @@ -19,12 +19,15 @@ For all partition settings this copies verbatim. However if A is shorter than B: partition: p p p (3 bits) - a : A3 A2 A1 A0 (16 bits) - b : BBB3 BBB2 BBB1 BBB0 (32 bits) + a : A7A6 A5A4 A3A2 A1A0 (8 bits) + b : BBB3 BBB2 BBB1 BBB0 (16 bits) then it matters what the partition settings are: -| partition | o3 | o2 | o1 | o0 | -| --------- | -- | -- | -- | -- | -| 000 | [MA3]*4 | [MA3]*4 | A3 A2 | A1 A0 | +| partition | o3 | o2 | o1 | o0 | +| --------- | -- | -- | -- | -- | +| 000 | [A7A7A7A7] | [A7A7A7A7] | A7A6A5A4 | A3A2A1A0 | +| 111 | [A7A7]A7A6 | [A5A5]A5A4 | [A3A3]A3A2 | [A1A1]A1A0 | +where square brackets are zero if A is unsigned, and contains +the specified bits if signed.