From c941f8f2bbc7741f957788148e20fe24c2fe1db8 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 18 Oct 2023 21:30:43 +0100 Subject: [PATCH] fix bug introduced by having to revert unauthorized addition of copy_assign_rhs --- src/openpower/decoder/pseudo/parser.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/openpower/decoder/pseudo/parser.py b/src/openpower/decoder/pseudo/parser.py index 00d49247..37644443 100644 --- a/src/openpower/decoder/pseudo/parser.py +++ b/src/openpower/decoder/pseudo/parser.py @@ -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) -- 2.30.2