fix bug introduced by having to revert unauthorized addition of
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 18 Oct 2023 20:30:43 +0000 (21:30 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 22 Dec 2023 19:26:21 +0000 (19:26 +0000)
copy_assign_rhs

src/openpower/decoder/pseudo/parser.py

index 00d49247c8212ccdd273fe6618b1eb4de28a4c24..37644443065f36a52d3d12d6cdde2bce3195248c 100644 (file)
@@ -401,7 +401,8 @@ class PowerParser:
                     self.read_regs.add(toname)
             if name and name in self.gprs:
                 self.write_regs.add(name)  # add to list of regs to write
-            p[0] = Assign(autoassign, name, p[1], p[3], iea_mode)
+            p[0] = self.Assign(autoassign, name, p[1], p[3], iea_mode,
+                               p.slice[2])
             if name:
                 self.declared_vars.add(name)