From: Dmitry Selyutin Date: Tue, 6 Sep 2022 09:01:10 +0000 (+0300) Subject: power_insn: support branch stub X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8bf648e3cfc9f1f5fa8e59afec322867870bdbae;p=openpower-isa.git power_insn: support branch stub --- diff --git a/src/openpower/decoder/power_insn.py b/src/openpower/decoder/power_insn.py index 568542fb..2b231895 100644 --- a/src/openpower/decoder/power_insn.py +++ b/src/openpower/decoder/power_insn.py @@ -1296,7 +1296,10 @@ class SVP64Instruction(PrefixedInstruction): if isinstance(mode, cls): return (mode, desc) - raise NotImplementedError + if record.svp64.mode is _SVMode.BRANCH: + return (self.prefix.rm.mode, "branch") + + raise ValueError(self) def disassemble(self, db, byteorder="little", verbose=False): integer_prefix = int(self.prefix)