From: Luke Kenneth Casson Leighton Date: Thu, 21 Dec 2023 16:33:34 +0000 (+0000) Subject: bug 676: although spotted under maxloc, sv.mcrf was incomplete X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7411feb700d25dfee79096ae8648afacd55bc9b0;p=openpower-isa.git bug 676: although spotted under maxloc, sv.mcrf was incomplete 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" --- diff --git a/src/openpower/decoder/isa/caller.py b/src/openpower/decoder/isa/caller.py index 93492949..91c24cc8 100644 --- a/src/openpower/decoder/isa/caller.py +++ b/src/openpower/decoder/isa/caller.py @@ -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