From a54d6c8cb83cbd7487a804b18ec1aab67d3f05de 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 90682da7..4b2646a2 100644 --- a/src/openpower/decoder/isa/caller.py +++ b/src/openpower/decoder/isa/caller.py @@ -2860,6 +2860,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