code-comments identifying tables
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 18 Sep 2022 21:19:43 +0000 (22:19 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 18 Sep 2022 21:19:43 +0000 (22:19 +0100)
src/openpower/decoder/power_insn.py

index e8194b025a0807ba4e1558b13374c98255c6398a..67be2d2ab35ccd63512f6dbe0c0fcf3439090194 100644 (file)
@@ -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",