From: Luke Kenneth Casson Leighton Date: Wed, 28 Sep 2022 21:14:17 +0000 (+0100) Subject: rename iterators init function X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a5070fd458f9dd4e5dff294bd2e812103dd4f162;p=openpower-isa.git rename iterators init function --- 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 """