projects
/
openpower-isa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e73c4c
)
power_insn: refactor operation order
author
Dmitry Selyutin
<ghostmansd@gmail.com>
Sun, 4 Sep 2022 16:17:48 +0000
(19:17 +0300)
committer
Dmitry Selyutin
<ghostmansd@gmail.com>
Sun, 4 Sep 2022 16:17:48 +0000
(19:17 +0300)
src/openpower/decoder/power_insn.py
patch
|
blob
|
history
diff --git
a/src/openpower/decoder/power_insn.py
b/src/openpower/decoder/power_insn.py
index 5eee84061dbace0953e88c86bcbbe48afa098601..7c3f61d6aa0983f53947e551c7f831b54bca6ff2 100644
(file)
--- 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