From 3bb1458732713be8b5009a9c75fe92aaf5bfae14 Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Tue, 6 Sep 2022 15:26:42 +0300 Subject: [PATCH] power_insn: fix naming conventions --- src/openpower/decoder/power_insn.py | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/openpower/decoder/power_insn.py b/src/openpower/decoder/power_insn.py index 50889fe5..2ecc2aa8 100644 --- a/src/openpower/decoder/power_insn.py +++ b/src/openpower/decoder/power_insn.py @@ -771,18 +771,19 @@ class Record: def cr_out(self): return self.ppc.cr_out + ptype = property(lambda self: self.svp64.ptype) + etype = property(lambda self: self.svp64.etype) + def extra_idx(self, key): return self.svp64.extra_idx(key) - ptype = property(lambda self: self.svp64.ptype) - etype = property(lambda self: self.svp64.etype) - extra_in1 = property(lambda self: self.svp64.extra_in1) - extra_in2 = property(lambda self: self.svp64.extra_in2) - extra_in3 = property(lambda self: self.svp64.extra_in3) - extra_out = property(lambda self: self.svp64.extra_out) - extra_out2 = property(lambda self: self.svp64.extra_out2) - extra_cr_in = property(lambda self: self.svp64.extra_cr_in) - extra_cr_out = property(lambda self: self.svp64.extra_cr_out) + extra_idx_in1 = property(lambda self: self.svp64.extra_idx_in1) + extra_idx_in2 = property(lambda self: self.svp64.extra_idx_in2) + extra_idx_in3 = property(lambda self: self.svp64.extra_idx_in3) + extra_idx_out = property(lambda self: self.svp64.extra_idx_out) + extra_idx_out2 = property(lambda self: self.svp64.extra_idx_out2) + extra_idx_cr_in = property(lambda self: self.svp64.extra_idx_cr_in) + extra_idx_cr_out = property(lambda self: self.svp64.extra_idx_cr_out) class Instruction(_Mapping): -- 2.30.2