From b4e099b0da1f5965b72c8c8cff623936aeceda28 Mon Sep 17 00:00:00 2001 From: lkcl Date: Tue, 28 Jun 2022 05:33:57 +0100 Subject: [PATCH] --- openpower/sv/branches.mdwn | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/openpower/sv/branches.mdwn b/openpower/sv/branches.mdwn index cc3030ea1..fb9b9da34 100644 --- a/openpower/sv/branches.mdwn +++ b/openpower/sv/branches.mdwn @@ -572,11 +572,14 @@ else if SVRMmode.VLI then SVSTATE.VL = srcstep+1 else SVSTATE.VL = srcstep lr_ok <- LK + svlr_ok <- SVRMmode.SL if ctr_ok & cond_ok then if AA then NIA <-iea EXTS(BD || 0b00) else NIA <-iea CIA + EXTS(BD || 0b00) if SVRMmode.LRu then lr_ok <- ¬lr_ok - if lr_ok then LR <-iea CIA + 4 + if SVRMmode.SLu then svlr_ok <- ¬svlr_ok + if lr_ok then LR <-iea CIA + 4 + if svlr_ok then SVLR <- SVSTATE ``` Below is the pseudocode for SVP64 Branches, which is a little less -- 2.30.2