From 660527d66dbf97f48375251dd876c489f3969dc7 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 7 Jun 2020 13:37:17 +0100 Subject: [PATCH] add CA/CA32 to list of special regs --- src/soc/decoder/pseudo/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soc/decoder/pseudo/parser.py b/src/soc/decoder/pseudo/parser.py index d2466eac..55db59cd 100644 --- a/src/soc/decoder/pseudo/parser.py +++ b/src/soc/decoder/pseudo/parser.py @@ -611,7 +611,7 @@ class PowerParser: name = p[1] if name in self.available_op_fields: self.op_fields.add(name) - if name in ['CR', 'LR', 'CTR', 'TAR', 'FPSCR', 'MSR']: + if name in ['CR', 'LR', 'CTR', 'TAR', 'FPSCR', 'MSR', 'CA', 'CA32']: self.special_regs.add(name) self.write_regs.add(name) # and add to list to write p[0] = ast.Name(id=name, ctx=ast.Load()) -- 2.30.2