rename iterators init function
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 28 Sep 2022 21:14:17 +0000 (22:14 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 28 Sep 2022 21:14:17 +0000 (22:14 +0100)
src/openpower/decoder/isa/caller.py

index a3224fd9c1afc49c9931a973509f661c174522a9..9d0b6d75a6d34dc81c5cfc57663f8ab71d0ccb89 100644 (file)
@@ -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
         """