Revert "fix bug introduced by having to revert unauthorized addition of"
authorJacob Lifshay <programmerjake@gmail.com>
Fri, 20 Oct 2023 01:17:20 +0000 (18:17 -0700)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 22 Dec 2023 19:26:21 +0000 (19:26 +0000)
we need copy_assign_rhs

See https://bugs.libre-soc.org/show_bug.cgi?id=1066

This reverts commit 9dab88318a2938f14873804d83bf85ef9ae2fb93.

src/openpower/decoder/pseudo/parser.py

index 6a94e701e8b2e2b937fa84aa8e0b1161b2465fb8..8610c28469c9229383f7ed239c6beb0ae3836c8d 100644 (file)
@@ -405,8 +405,7 @@ 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] = self.Assign(autoassign, name, p[1], p[3], iea_mode,
-                               p.slice[2])
+            p[0] = Assign(autoassign, name, p[1], p[3], iea_mode)
             if name:
                 self.declared_vars.add(name)