projects
/
openpower-isa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3620a29
)
power_insn: canonicalize Rc field name
author
Dmitry Selyutin
<ghostmansd@gmail.com>
Sat, 3 Sep 2022 10:06:05 +0000
(13:06 +0300)
committer
Dmitry Selyutin
<ghostmansd@gmail.com>
Sat, 3 Sep 2022 18:41:28 +0000
(21:41 +0300)
src/openpower/decoder/power_insn.py
patch
|
blob
|
history
diff --git
a/src/openpower/decoder/power_insn.py
b/src/openpower/decoder/power_insn.py
index dd936134a4d3505b8a174ef4f781c9f4690c9aba..2cc942dd46e2bcc5fe07cb4786075d8b8f24c0d0 100644
(file)
--- 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
-
r
c: _RCOE = _RCOE.NONE
+
R
c: _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.
r
c is _RCOE.RC:
+ if not record.
R
c is _RCOE.RC:
return False
return exact_match(key[:-1], record)