From 198724fc11da25a18153661bb1c6386180a32515 Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Sun, 4 Sep 2022 19:17:48 +0300 Subject: [PATCH] power_insn: refactor operation order --- src/openpower/decoder/power_insn.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/openpower/decoder/power_insn.py b/src/openpower/decoder/power_insn.py index 5eee8406..7c3f61d6 100644 --- a/src/openpower/decoder/power_insn.py +++ b/src/openpower/decoder/power_insn.py @@ -1145,6 +1145,9 @@ class SVP64Instruction(PrefixedInstruction): yield f"{blob_suffix} .long 0x{int(self.suffix):08x}" return + yield f"{blob_prefix} sv.{record.name}" + yield f"{blob_suffix}" + Rc = False if record.operands["Rc"] is not None: Rc = bool(self[record.fields["Rc"]]) @@ -1223,9 +1226,6 @@ class SVP64Instruction(PrefixedInstruction): if type(mode) is Mode: raise NotImplementedError - yield f"{blob_prefix} sv.{record.name}" - yield f"{blob_suffix}" - if verbose: indent = (" " * 4) binary = self.binary -- 2.30.2