From a5070fd458f9dd4e5dff294bd2e812103dd4f162 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 28 Sep 2022 22:14:17 +0100 Subject: [PATCH] rename iterators init function --- src/openpower/decoder/isa/caller.py | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/openpower/decoder/isa/caller.py b/src/openpower/decoder/isa/caller.py index a3224fd9..9d0b6d75 100644 --- a/src/openpower/decoder/isa/caller.py +++ b/src/openpower/decoder/isa/caller.py @@ -537,11 +537,20 @@ class StepLoop: def __init__(self, svstate): self.svstate = svstate self.loopend = False + self.new_iterators() - def get_iterators(self): + def new_iterators(self): self.src_it = self.src_iterator() self.dst_it = self.dst_iterator() - + self.end_src = False + self.end_dst = False + self.new_srcstep = 0 + self.new_dststep = 0 + self.new_ssubstep = 0 + self.new_dsubstep = 0 + self.pred_dst_zero = 0 + self.pred_src_zero = 0 + def src_iterator(self): """source-stepping iterator """ -- 2.30.2