From: Luke Kenneth Casson Leighton Date: Sun, 7 Jun 2020 11:55:41 +0000 (+0100) Subject: add gprs to PowerParser write_regs in p_atom_name X-Git-Tag: div_pipeline~511 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=11134dd94c4a1d1c1cff15e75d12b50c19c80b36;p=soc.git add gprs to PowerParser write_regs in p_atom_name --- diff --git a/src/soc/decoder/pseudo/parser.py b/src/soc/decoder/pseudo/parser.py index 2f6d9375..3e84646b 100644 --- a/src/soc/decoder/pseudo/parser.py +++ b/src/soc/decoder/pseudo/parser.py @@ -613,6 +613,7 @@ class PowerParser: self.op_fields.add(name) if name in self.gprs: self.read_regs.add(name) # add to list of regs to read + self.write_regs.add(name) # and add to list to write if name in ['CR', 'LR', 'CTR', 'TAR', 'FPSCR', 'MSR']: self.special_regs.add(name) self.write_regs.add(name) # and add to list to write