From 8bd87762349401f4534e86e267c988091059ff86 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Mon, 20 Nov 2023 17:45:23 -0800 Subject: [PATCH] fix vertical-first sv.bc https://bugs.libre-soc.org/show_bug.cgi?id=1210 --- src/openpower/decoder/isa/caller.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/openpower/decoder/isa/caller.py b/src/openpower/decoder/isa/caller.py index 735252c7..8f1881cc 100644 --- a/src/openpower/decoder/isa/caller.py +++ b/src/openpower/decoder/isa/caller.py @@ -2831,6 +2831,9 @@ class ISACaller(ISACallerHelper, ISAFPHelpers, StepLoop): vfirst = self.svstate.vfirst log(" SV Vertical First", vf, vfirst) if not vf and vfirst == 1: + if insn_name.startswith("sv.bc"): + self.update_pc_next() + return False self.update_nia() return True -- 2.30.2