From: Jacob Lifshay Date: Tue, 21 Nov 2023 01:45:23 +0000 (-0800) Subject: fix vertical-first sv.bc X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a54d6c8cb83cbd7487a804b18ec1aab67d3f05de;p=openpower-isa.git fix vertical-first sv.bc https://bugs.libre-soc.org/show_bug.cgi?id=1210 --- 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