dang missed *another* argument in ISACaller on the function-morphing
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 14 Aug 2022 21:36:50 +0000 (22:36 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 14 Aug 2022 21:42:46 +0000 (22:42 +0100)
src/openpower/decoder/isa/caller.py

index b2fcdfb69cc4ecce10abd2a606ee59ffebc18f38..e7476231273a6e4b6dc200c93da232056902653c 100644 (file)
@@ -1442,7 +1442,7 @@ class ISACaller(ISACallerHelper, ISAFPHelpers):
         # any modified return results?
         if info.write_regs:
             for name, output in zip(output_names, results):
-                yield from self.check_write(info, name, output)
+                yield from self.check_write(info, name, output, carry_en)
 
         nia_update = (yield from self.check_step_increment(results, rc_en,
                                                            asmop, ins_name))
@@ -1565,7 +1565,7 @@ class ISACaller(ISACallerHelper, ISAFPHelpers):
         for x in rremaps:
             log("shape remap", x)
 
-    def check_write(self, info, name, output):
+    def check_write(self, info, name, output, carry_en):
         if name == 'overflow':  # ignore, done already (above)
             return
         if isinstance(output, int):