From: lkcl Date: Wed, 15 Jun 2022 16:31:51 +0000 (+0100) Subject: (no commit message) X-Git-Tag: opf_rfc_ls005_v1~1770 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cdb68bad00116a6c376f6c2e03eef5d47c827a4d;p=libreriscv.git --- diff --git a/openpower/sv/mv.swizzle.mdwn b/openpower/sv/mv.swizzle.mdwn index 268299af1..3e4cbefb2 100644 --- a/openpower/sv/mv.swizzle.mdwn +++ b/openpower/sv/mv.swizzle.mdwn @@ -22,10 +22,11 @@ swizzle as well as constants 1/1.0 and 0/0.0. An extremely important aspect of 3D GPU workloads is that the source and destination subvector lengths may be *different*. A vector of -contiguous array of vec3 may only have 2 elements swizzle-copied to +contiguous array of vec3 (XYZ) may only have 2 elements (ZY) +swizzle-copied to a contiguous array of vec2. A contiguous array of vec2 sources -may have multiple of each vec2 elements copied to a contiguous -vec4 array. For this reason +may have multiple of each vec2 elements (XY) copied to a contiguous +vec4 array (YYXX or XYXX). For this reason Swizzle Moves support independent subvector lengths for both source and destination.