From: lkcl Date: Sun, 13 Dec 2020 18:20:19 +0000 (+0000) Subject: (no commit message) X-Git-Tag: convert-csv-opcode-to-binary~1342 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5d5dae0dfcd8e8aac48ee53667ccfc449674f0e3;p=libreriscv.git --- 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.