From 29f42eb7d211d3125ca5d112c04d7da9305b876b Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 25 Sep 2021 20:46:38 +0100 Subject: [PATCH] inherit ISACallerHelper in ISACaller --- src/openpower/decoder/isa/caller.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/openpower/decoder/isa/caller.py b/src/openpower/decoder/isa/caller.py index f444b14f..100b686c 100644 --- a/src/openpower/decoder/isa/caller.py +++ b/src/openpower/decoder/isa/caller.py @@ -28,7 +28,8 @@ from openpower.decoder.power_enums import (spr_dict, spr_byname, XER_bits, from openpower.decoder.power_enums import SVPtype -from openpower.decoder.helpers import (exts, gtu, ltu, undefined) +from openpower.decoder.helpers import (exts, gtu, ltu, undefined, + ISACallerHelper) from openpower.consts import PIb, MSRb # big-endian (PowerISA versions) from openpower.consts import (SVP64MODE, SVP64CROffs, @@ -559,7 +560,7 @@ def get_pdecode_idx_out2(dec2, name): return None, False -class ISACaller: +class ISACaller(ISACallerHelper): # decoder2 - an instance of power_decoder2 # regfile - a list of initial values for the registers # initial_{etc} - initial values for SPRs, Condition Register, Mem, MSR -- 2.30.2