power_enums: consider CRIn2Sel
authorDmitry Selyutin <ghostmansd@gmail.com>
Mon, 12 Sep 2022 17:35:29 +0000 (20:35 +0300)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 12 Sep 2022 20:41:44 +0000 (21:41 +0100)
src/openpower/decoder/power_enums.py

index a22a4991b397715251d402b2a78ae32c92aafce0..5089942ae60b204257bb1befa90c9103bf1d14df 100644 (file)
@@ -270,7 +270,7 @@ class SVExtraReg(Enum):
     @classmethod
     def _missing_(cls, value):
         selectors = (
-            In1Sel, In2Sel, In3Sel, CRInSel,
+            In1Sel, In2Sel, In3Sel, CRInSel, CRIn2Sel,
             OutSel, CROutSel,
         )
         if isinstance(value, selectors):