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:
8a14461
)
power_insn: support function property
author
Dmitry Selyutin
<ghostmansd@gmail.com>
Wed, 17 Aug 2022 19:13:11 +0000
(22:13 +0300)
committer
Dmitry Selyutin
<ghostmansd@gmail.com>
Wed, 17 Aug 2022 19:13:11 +0000
(22:13 +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 e0af08d2db600a0175e77971437b2bc4f528abec..824aff147a05cb06859914bda01f73f7a93891cc 100644
(file)
--- a/
src/openpower/decoder/power_insn.py
+++ b/
src/openpower/decoder/power_insn.py
@@
-440,6
+440,10
@@
class Instruction:
return FieldsOpcode(fields)
+ @property
+ def function(self):
+ return self.ppc.unit
+
@property
def in1(self):
return self.ppc.in1