From b5dc10a8cd4c2528a69654e4583618ad56b9f30f Mon Sep 17 00:00:00 2001 From: lkcl Date: Mon, 13 Jun 2022 14:38:45 +0100 Subject: [PATCH] --- openpower/sv/mv.swizzle.mdwn | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) ``` -- 2.30.2