From ce3c60acb01aed51e587bddac6b7f4850e05e0c3 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Thu, 19 Oct 2023 18:17:20 -0700 Subject: [PATCH] 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. --- src/openpower/decoder/pseudo/parser.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) -- 2.30.2