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=d9544764b1710f3807a9c0685d150a665f70b9a2;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 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