From: Luke Kenneth Casson Leighton Date: Tue, 13 Aug 2019 11:55:41 +0000 (+0100) Subject: add pseudocode for swizzle X-Git-Tag: convert-csv-opcode-to-binary~4208 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6d52540dea9d3ed1d2cf92ab61e0a2abb87a285a;p=libreriscv.git add pseudocode for swizzle --- diff --git a/simple_v_extension/abridged_spec.mdwn b/simple_v_extension/abridged_spec.mdwn index 0a41c01ec..350548c30 100644 --- a/simple_v_extension/abridged_spec.mdwn +++ b/simple_v_extension/abridged_spec.mdwn @@ -228,8 +228,9 @@ register is used, and SUBVL is 2, 3 or 4) that the sub-elements are to be re-ordered according to the indices in the Swizzle format. Like the Predication Table, it is an indirect lookup: use of a source or destination register in any given operation, if that register -occurs in the table, "activates" swizzling for that register. -Note that the target is taken from the "Register Table" (regidx). +occurs in the table, "activates" sub-vector element swizzling for +that register. Note that the target is taken from the "Register Table" +(regidx). Source vectors are free to have the swizzle indices point to the same sub-vector element. However when using swizzling on destination vectors,