From: Luke Kenneth Casson Leighton Date: Wed, 18 Oct 2023 20:30:43 +0000 (+0100) Subject: fix bug introduced by having to revert unauthorized addition of X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9dab88318a2938f14873804d83bf85ef9ae2fb93;p=openpower-isa.git fix bug introduced by having to revert unauthorized addition of copy_assign_rhs --- 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)