take copy of GPR/FPR inputs into ISACaller
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 15 Aug 2021 21:53:52 +0000 (22:53 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 15 Aug 2021 21:53:52 +0000 (22:53 +0100)
src/openpower/decoder/isa/caller.py

index 0c1a873093fa2601030862026a5f915d15832531..9bbef83afdf84d9ae71b2e438506d9668dc814c3 100644 (file)
@@ -1359,9 +1359,9 @@ class ISACaller:
             if not self.is_svp64_mode or not pred_src_zero:
                 log('reading reg %s %s' % (name, str(regnum)), is_vec)
                 if name in fregs:
-                    reg_val = self.fpr(regnum)
+                    reg_val = SelectableInt(self.fpr(regnum))
                 elif name is not None:
-                    reg_val = self.gpr(regnum)
+                    reg_val = SelectableInt(self.gpr(regnum))
             else:
                 log('zero input reg %s %s' % (name, str(regnum)), is_vec)
                 reg_val = 0