From: Luke Kenneth Casson Leighton Date: Sat, 25 Sep 2021 19:46:38 +0000 (+0100) Subject: inherit ISACallerHelper in ISACaller X-Git-Tag: sv_maxu_works-initial~825 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=29f42eb7d211d3125ca5d112c04d7da9305b876b;p=openpower-isa.git inherit ISACallerHelper in ISACaller --- 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