power_insn: disable disassembly for prefixed instructions
authorDmitry Selyutin <ghostmansd@gmail.com>
Thu, 1 Sep 2022 12:02:14 +0000 (15:02 +0300)
committerDmitry Selyutin <ghostmansd@gmail.com>
Fri, 2 Sep 2022 08:44:11 +0000 (11:44 +0300)
src/openpower/decoder/power_insn.py

index 63cc827344e732d5dce3013a9b737a167649cf4b..acb131df246e5a368f4f50082e9e7efdcb0ac4a6 100644 (file)
@@ -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/"""