add RC input to isa/caller.py
authorJacob Lifshay <programmerjake@gmail.com>
Fri, 23 Sep 2022 02:59:40 +0000 (19:59 -0700)
committerJacob Lifshay <programmerjake@gmail.com>
Fri, 23 Sep 2022 02:59:40 +0000 (19:59 -0700)
src/openpower/decoder/isa/caller.py

index 166c3e2e9b15102cb10563781fc48c261ce3cc55..5f54a01eb53d0123279131149d0c6ad8e7055141 100644 (file)
@@ -376,6 +376,8 @@ def get_pdecode_idx_in(dec2, name):
             return in3, in3_isvec
     # XXX TODO, RC doesn't exist yet!
     elif name == 'RC':
+        if in3_sel == In3Sel.RC.value:
+            return in3, in3_isvec
         assert False, "RC does not exist yet"
     elif name == 'RS':
         if in1_sel == In1Sel.RS.value: