From a1f4452076ea05cfad2c93b2536734fa4a767926 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 30 Sep 2022 14:39:27 +0100 Subject: [PATCH] set srcstep/dststep to zero in StepLoop (ISACaller) at loopend see if a different style of looping can be used --- src/openpower/decoder/isa/caller.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/openpower/decoder/isa/caller.py b/src/openpower/decoder/isa/caller.py index 942987d9..1bc5bed4 100644 --- a/src/openpower/decoder/isa/caller.py +++ b/src/openpower/decoder/isa/caller.py @@ -732,6 +732,7 @@ class StepLoop: end_src = srcstep == vl-1 if end_src: # end-point self.loopend = True + srcstep = 0 break else: srcstep += 1 @@ -794,6 +795,7 @@ class StepLoop: end_dst = dststep == vl-1 if end_dst: # end-point self.loopend = True + dststep = 0 break else: dststep += 1 -- 2.30.2