From: lkcl Date: Mon, 13 Jun 2022 13:38:45 +0000 (+0100) Subject: (no commit message) X-Git-Tag: opf_rfc_ls005_v1~1815 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b5dc10a8cd4c2528a69654e4583618ad56b9f30f;p=libreriscv.git --- diff --git a/openpower/sv/mv.swizzle.mdwn b/openpower/sv/mv.swizzle.mdwn index 1e2ce0f7e..33074dc05 100644 --- a/openpower/sv/mv.swizzle.mdwn +++ b/openpower/sv/mv.swizzle.mdwn @@ -154,7 +154,9 @@ Swizzle Pseudocode: # determine implied subvector length from Swizzle dst_subvl = 4 for i in range(4): - if swiz[i] == 0b001: dst_subvl = i+1 + if swiz[i] == 0b001: + dst_subvl = i+1 + break # source subvector length is maximum of both RM fields src_subvl = MAX(SRC_SUBVL, SUBVL) ```