From 5d5dae0dfcd8e8aac48ee53667ccfc449674f0e3 Mon Sep 17 00:00:00 2001 From: lkcl Date: Sun, 13 Dec 2020 18:20:19 +0000 Subject: [PATCH] --- openpower/sv/mv.vec.mdwn | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/openpower/sv/mv.vec.mdwn b/openpower/sv/mv.vec.mdwn index 84295c18f..72f8c6182 100644 --- a/openpower/sv/mv.vec.mdwn +++ b/openpower/sv/mv.vec.mdwn @@ -24,3 +24,8 @@ mv.destvec (leaving out elwidths and chop): regs[rd+i*SUBVL] = regs[rs+i] +# Twin Predication, saturation, swizzle, and elwidth overrides + +Note that mv is a twin-predicated operation, and is swizzlable. This implies that from the vec2, vec3 or vec4, 1 to 8 bytes may be selected and re-ordered (XYZW), mixed with 0 and 1 constants, skipped by way of twin predicate pack and unpack, and a huge amount besides. + +Also saturation can be applied to individual elements, including the elements within a vec2/3/4. -- 2.30.2