From: Jacob Lifshay Date: Fri, 20 Oct 2023 01:17:20 +0000 (-0700) Subject: Revert "fix bug introduced by having to revert unauthorized addition of" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6a816b8090d6b5ee6aa7d3caa09c2c1a2b087533;p=openpower-isa.git Revert "fix bug introduced by having to revert unauthorized addition of" we need copy_assign_rhs See https://bugs.libre-soc.org/show_bug.cgi?id=1066 This reverts commit 9dab88318a2938f14873804d83bf85ef9ae2fb93. --- diff --git a/src/openpower/decoder/pseudo/parser.py b/src/openpower/decoder/pseudo/parser.py index 6a94e701..8610c284 100644 --- a/src/openpower/decoder/pseudo/parser.py +++ b/src/openpower/decoder/pseudo/parser.py @@ -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)