From: Dmitry Selyutin Date: Wed, 17 Aug 2022 19:13:11 +0000 (+0300) Subject: power_insn: support function property X-Git-Tag: sv_maxu_works-initial~128 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=def3e1163228304604a27b24aec45688dcfb04b8;p=openpower-isa.git power_insn: support function property --- diff --git a/src/openpower/decoder/power_insn.py b/src/openpower/decoder/power_insn.py index e0af08d2..824aff14 100644 --- 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