bug 676: although spotted under maxloc, sv.mcrf was incomplete
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 21 Dec 2023 16:33:34 +0000 (16:33 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 9 Jan 2024 13:44:28 +0000 (13:44 +0000)
https://bugs.libre-soc.org/show_bug.cgi?id=1239
BF was "vectorised" (through a rewrite of the immediate field)
but BFA was not. a *lot* more unit tests are needed for ISACaller
to be "up to spec"

src/openpower/decoder/isa/caller.py

index 934929498a442a18966807e667d9bfb8d0875351..91c24cc85d90821c97a1dc954c79f38fbc8a8ff7 100644 (file)
@@ -566,6 +566,8 @@ def get_cr_in(dec2, name):
         if in_sel == CRInSel.BFA.value:
     if name in ['BA', 'BB']:
         if in_sel == CRInSel.BA_BB.value:
+    if name == 'BFA':
+        if in_sel == CRInSel.BFA.value:
             return in1, cr_isvec
     log("get_cr_in not found", name)
     return None, False