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:
55364ba
)
power_insn: provide SVL/CTR branch fields
author
Dmitry Selyutin
<ghostmansd@gmail.com>
Mon, 19 Sep 2022 21:24:37 +0000
(
00:24
+0300)
committer
Dmitry Selyutin
<ghostmansd@gmail.com>
Mon, 19 Sep 2022 21:38:36 +0000
(
00:38
+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 f336acd37b0cd0558d7252ccfa1e84ff3eb61d02..edc103bdff360a1551b99323b742a933475a0c25 100644
(file)
--- a/
src/openpower/decoder/power_insn.py
+++ b/
src/openpower/decoder/power_insn.py
@@
-1723,13
+1723,15
@@
class CROpRM(CROpBaseRM):
# ********************
# Branches mode
# https://libre-soc.org/openpower/sv/branches/
-class BranchBaseRM(BaseRM):
+class BranchBaseRM(
SZBaseRM,
BaseRM):
ALL: BaseRM[4]
SNZ: BaseRM[5]
SL: BaseRM[17]
SLu: BaseRM[18]
LRu: BaseRM[22]
sz: BaseRM[23]
+ CTR: BaseRM[19]
+ VLS: BaseRM[20]
class BranchSimpleRM(BranchBaseRM):
@@
-1765,6
+1767,7
@@
class RM(BaseRM):
ldst_imm: LDSTImmRM
ldst_idx: LDSTIdxRM
cr_op: CROpRM
+ branch: BranchRM
def select(self, record, Rc):
rm = self