From e035dbaf9a37f672406a7b17f846d9ef7968ac4f Mon Sep 17 00:00:00 2001 From: lkcl Date: Mon, 2 Aug 2021 10:31:57 +0100 Subject: [PATCH] --- openpower/sv/branches.mdwn | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/openpower/sv/branches.mdwn b/openpower/sv/branches.mdwn index 3aa447bf5..83ff38bf4 100644 --- a/openpower/sv/branches.mdwn +++ b/openpower/sv/branches.mdwn @@ -114,4 +114,23 @@ Available options to combine: Pseudocode for Horizontal-First Mode: ``` + if BO[0]: + cond_ok = 1 + else + cond_ok = not SVRMmode.ALL + for i in range(VL): + if predicate[i]: + testbit = CR[BI+32+srcstep*4] + else if not SVRMmode.sz: + continue + else testbit = SVRMmode.SNZ + el_cond_ok <- ¬(testbit ^ BO[1]) + if SVRMmode.ALL: + if ~el_cond_ok: + break + cond_ok &= el_cond_ok + else + if el_cond_ok: + break + cond_ok |= el_cond_ok ``` -- 2.30.2