From afd00f389eeae9a187f92cad523f910df99357d0 Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Tue, 20 Sep 2022 00:24:37 +0300 Subject: [PATCH] power_insn: provide SVL/CTR branch fields --- src/openpower/decoder/power_insn.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/openpower/decoder/power_insn.py b/src/openpower/decoder/power_insn.py index f336acd3..edc103bd 100644 --- 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 -- 2.30.2