From: Dmitry Selyutin Date: Fri, 9 Sep 2022 22:04:35 +0000 (+0300) Subject: power_insn: do not print blob suffix unless needed X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7b08f915a0b03666b87fc7a426afd6b0405d0e0f;p=openpower-isa.git power_insn: do not print blob suffix unless needed --- diff --git a/src/openpower/decoder/power_insn.py b/src/openpower/decoder/power_insn.py index add1f85b..565ec85c 100644 --- a/src/openpower/decoder/power_insn.py +++ b/src/openpower/decoder/power_insn.py @@ -1510,7 +1510,8 @@ class SVP64Instruction(PrefixedInstruction): yield f"{blob_prefix}sv.{record.name} {','.join(operands)}" else: yield f"{blob_prefix}{record.name}" - yield f"{blob_suffix}" + if blob_suffix: + yield f"{blob_suffix}" (mode, mode_desc) = self.mode(db=db)