missing BC in get_cr_in
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 3 Feb 2024 07:42:53 +0000 (07:42 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 3 Feb 2024 07:42:53 +0000 (07:42 +0000)
src/openpower/decoder/isa/caller.py

index 14e81888bcf27da8538fd00210bcfe1f5fc32f32..9234c3006903931e43fecb16d465fb11b735184a 100644 (file)
@@ -563,6 +563,9 @@ def get_cr_in(dec2, name):
     log("    spec", spec)
     log("    override", sv_override)
     # identify which regnames map to in / o2
+    if name == 'BC':
+        if in_sel == CRInSel.BC.value:
+            return in1, cr_isvec
     if name == 'BI':
         if in_sel == CRInSel.BI.value:
             return in1, cr_isvec