From: Dmitry Selyutin Date: Sun, 6 Nov 2022 09:29:55 +0000 (+0300) Subject: power_insn: fix repr for opcode mask and value X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=27edd867c48ab26c576a5eb171199bfe3b728168;p=openpower-isa.git power_insn: fix repr for opcode mask and value --- diff --git a/src/openpower/decoder/power_insn.py b/src/openpower/decoder/power_insn.py index 1eabff03..4c51a09b 100644 --- a/src/openpower/decoder/power_insn.py +++ b/src/openpower/decoder/power_insn.py @@ -125,7 +125,7 @@ class Opcode: return super().__new__(cls, value) def __str__(self): - return super().__repr__() + return self.__repr__() def __repr__(self): return f"{self:0{self.bit_length()}b}"