From 2ce36781642bf7fafa5a1c4f489b1f35dbb5a459 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 10 Jul 2022 12:41:32 +0100 Subject: [PATCH] non-persistence enabled on svindex as well as svremap --- src/openpower/decoder/isa/caller.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/openpower/decoder/isa/caller.py b/src/openpower/decoder/isa/caller.py index 859f5211..aa53abd0 100644 --- a/src/openpower/decoder/isa/caller.py +++ b/src/openpower/decoder/isa/caller.py @@ -1754,10 +1754,11 @@ class ISACaller(ISACallerHelper, ISAFPHelpers): else: # XXX only in non-SVP64 mode! # record state of whether the current operation was an svshape, + # OR svindex! # to be able to know if it should apply in the next instruction. # also (if going to use this instruction) should disable ability # to interrupt in between. sigh. - self.last_op_svshape = asmop == 'svremap' + self.last_op_svshape = asmop in ['svremap', 'svindex'] if nia_update: self.update_pc_next() -- 2.30.2