From: Dmitry Selyutin Date: Thu, 1 Sep 2022 12:02:14 +0000 (+0300) Subject: power_insn: disable disassembly for prefixed instructions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=817ce73cfc63cb281fa062ea40c570a0743861c3;p=openpower-isa.git power_insn: disable disassembly for prefixed instructions --- diff --git a/src/openpower/decoder/power_insn.py b/src/openpower/decoder/power_insn.py index 63cc8273..acb131df 100644 --- a/src/openpower/decoder/power_insn.py +++ b/src/openpower/decoder/power_insn.py @@ -704,13 +704,6 @@ class PrefixedInstruction(Instruction): return super().integer(value=value) - def disassemble(self, db): - record = db[self.suffix] - if record is None: - yield f".llong 0x{int(self):016x}" - else: - yield f".llong 0x{int(self):016x} # {record.name}" - class SVP64Instruction(PrefixedInstruction): """SVP64 instruction: https://libre-soc.org/openpower/sv/svp64/"""