From f08376bbd2d87789e16fb52f7e8d160233a89a21 Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Wed, 20 Apr 2022 09:10:47 +0000 Subject: [PATCH] isa.caller: support default SVP64PrefixFields initialization --- src/openpower/decoder/isa/caller.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openpower/decoder/isa/caller.py b/src/openpower/decoder/isa/caller.py index a55023ef..524d393c 100644 --- a/src/openpower/decoder/isa/caller.py +++ b/src/openpower/decoder/isa/caller.py @@ -302,8 +302,8 @@ SVP64RM_MODE_SIZE = len(SVP64RMFields().mode.br) # SVP64 Prefix fields: see https://libre-soc.org/openpower/sv/svp64/ class SVP64PrefixFields(SelectableIntMapping): - def __init__(self): - self.insn = SelectableInt(0, 32) + def __init__(self, value=0): + self.insn = SelectableInt(value, 32) return super().__init__(si=self.insn, fields={ "insn": range(32), # 6 bit major opcode EXT001, 2 bits "identifying" (7, 9), 24 SV ReMap -- 2.30.2