From: Luke Kenneth Casson Leighton Date: Sun, 18 Sep 2022 21:19:43 +0000 (+0100) Subject: code-comments identifying tables X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f8e485050b21b2480d2b08bb673f1174d2d56533;p=openpower-isa.git code-comments identifying tables --- diff --git a/src/openpower/decoder/power_insn.py b/src/openpower/decoder/power_insn.py index e8194b02..67be2d2a 100644 --- a/src/openpower/decoder/power_insn.py +++ b/src/openpower/decoder/power_insn.py @@ -1303,7 +1303,7 @@ class FFPRRc1BaseRM(BaseRM): inv = _SelectableInt(value=int(self.inv), bits=1) CR = _SelectableInt(value=int(self.CR), bits=2) mask = int(_selectconcat(inv, CR)) - predicate = { + predicate = { # exactly same table as in NormalLDSTBaseRM 0b000: "lt", 0b001: "ge", 0b010: "gt", @@ -1389,7 +1389,7 @@ class NormalLDSTBaseRM(BaseRM): (0, 0b101): "~r10", (0, 0b110): "r30", (0, 0b111): "~r30", - # CRs + # CRs - exactly the same table as in FFPRRc1BaseRM (1, 0b000): "lt", (1, 0b001): "ge", (1, 0b010): "gt",