From 3a0b0fa5df37c493afc277846f219c84c8cca4ec Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 8 Jun 2020 15:59:31 +0100 Subject: [PATCH] add CA/CA32 to write regs fields in parser --- src/soc/decoder/pseudo/parser.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/soc/decoder/pseudo/parser.py b/src/soc/decoder/pseudo/parser.py index d2466eac..ed63184d 100644 --- a/src/soc/decoder/pseudo/parser.py +++ b/src/soc/decoder/pseudo/parser.py @@ -611,6 +611,8 @@ class PowerParser: name = p[1] if name in self.available_op_fields: self.op_fields.add(name) + if name in ['CA', 'CA32']: + self.write_regs.add(name) 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 -- 2.30.2