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, 30 Jan 2024 20:56:36 +0000 (20:56 +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 d8ae38524663877ca664d4f38d5788d853da3fa6..1a2068becf765892daa52f06ce1595b15e52d641 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