From 42447f08fe4e7aec70b0fbbf80323a51b307139f Mon Sep 17 00:00:00 2001 From: lkcl Date: Mon, 2 Aug 2021 10:42:23 +0100 Subject: [PATCH] --- openpower/sv/branches.mdwn | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/openpower/sv/branches.mdwn b/openpower/sv/branches.mdwn index c42f3df89..baff71632 100644 --- a/openpower/sv/branches.mdwn +++ b/openpower/sv/branches.mdwn @@ -118,9 +118,9 @@ Pseudocode for Horizontal-First Mode: cond_ok = 1 else cond_ok = not SVRMmode.ALL - for i in range(VL): + for srcstep in range(VL): # select predicate bit or zero/one - if predicate[i]: + if predicate[srcstep]: testbit = CR[BI+32+srcstep*4] else if not SVRMmode.sz: continue @@ -136,9 +136,9 @@ Pseudocode for Horizontal-First Mode: # test for VL to be set (and exit) if ~el_cond_ok and VLSET if SVRMmode.VLI - SVSTATE.VL = i+1 + SVSTATE.VL = srcstep+1 else - SVSTATE.VL = i + SVSTATE.VL = srcstep break # early exit? if SVRMmode.ALL: -- 2.30.2