From a14b724b2d87066f5b1a08897544d0be1de761fe Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 2 Sep 2022 18:41:52 +0100 Subject: [PATCH] add svshape2 to ISACaller first recognising the persistence mode bit, second as not an illegal op --- 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 4c8c0c07..2d8defab 100644 --- a/src/openpower/decoder/isa/caller.py +++ b/src/openpower/decoder/isa/caller.py @@ -1180,7 +1180,8 @@ class ISACaller(ISACallerHelper, ISAFPHelpers): if dotstrp in [ 'fsins', 'fcoss', 'ffmadds', 'fdmadds', 'ffadds', 'mins', 'maxs', 'minu', 'maxu', - 'setvl', 'svindex', 'svremap', 'svstep', 'svshape', + 'setvl', 'svindex', 'svremap', 'svstep', + 'svshape', 'svshape2', 'grev', 'ternlogi', 'bmask', 'cprop', 'absdu', 'absds', 'absdacs', 'absdacu', 'avgadd', 'fmvis', 'fishmv', @@ -1652,7 +1653,7 @@ class ISACaller(ISACallerHelper, ISAFPHelpers): # 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 in ['svremap', 'svindex'] + self.last_op_svshape = asmop in ['svremap', 'svindex', 'svshape2'] return True -- 2.30.2