whoops missing variables in new subfunction after
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 21 Jul 2022 16:27:49 +0000 (17:27 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 21 Jul 2022 16:27:49 +0000 (17:27 +0100)
moving code around in ISACaller

src/openpower/decoder/isa/caller.py

index 4c267a58b9e2a2f5dae7a6f5edaf8ff7756d82e0..729dbe9bc371aa408417462fb54f0b4051953907 100644 (file)
@@ -1449,6 +1449,10 @@ class ISACaller(ISACallerHelper, ISAFPHelpers):
     def check_replace_d(self, info, remap_active):
         replace_d = False  # update / replace constant in pseudocode
         ldstmode = yield self.dec2.rm_dec.ldstmode
+        vl = self.svstate.vl
+        subvl = yield self.dec2.rm_dec.rm_in.subvl
+        srcstep, dststep = self.new_srcstep, self.new_dststep
+        ssubstep, dsubstep = self.new_ssubstep, self.new_dsubstep
         # shift mode reads SVD (or SVDS - TODO)
         # *BUT*... because this is "overloading" of LD operations,
         # it gets *STORED* into D (or DS, TODO)