From: Dmitry Selyutin Date: Sat, 3 Sep 2022 10:06:05 +0000 (+0300) Subject: power_insn: canonicalize Rc field name X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3c389a713cacd93959e1b1410ac92df06eb55e5d;p=openpower-isa.git power_insn: canonicalize Rc field name --- diff --git a/src/openpower/decoder/power_insn.py b/src/openpower/decoder/power_insn.py index dd936134..2cc942dd 100644 --- a/src/openpower/decoder/power_insn.py +++ b/src/openpower/decoder/power_insn.py @@ -200,7 +200,7 @@ class PPCRecord: cry_in: _CryIn = _CryIn.ZERO ldst_len: _LDSTLen = _LDSTLen.NONE upd: _LDSTMode = _LDSTMode.NONE - rc: _RCOE = _RCOE.NONE + Rc: _RCOE = _RCOE.NONE form: _Form = _Form.NONE conditions: str = "" unofficial: bool = False @@ -212,6 +212,7 @@ class PPCRecord: "CR out": "cr_out", "cry in": "cry_in", "ldst len": "ldst_len", + "rc": "Rc", "CONDITIONS": "conditions", } @@ -1072,7 +1073,7 @@ class PPCDatabase: if not key.endswith("."): return False - if not record.rc is _RCOE.RC: + if not record.Rc is _RCOE.RC: return False return exact_match(key[:-1], record)