power_enums: introduce SVExtra alias
authorDmitry Selyutin <ghostmansd@gmail.com>
Tue, 2 Aug 2022 18:23:07 +0000 (21:23 +0300)
committerDmitry Selyutin <ghostmansd@gmail.com>
Sun, 14 Aug 2022 19:07:43 +0000 (22:07 +0300)
src/openpower/decoder/power_enums.py

index 78015c362dea09d04358704034a7e4205260f0c1..1d4add4e71374126f7e347451859ceed85c95e9e 100644 (file)
@@ -191,7 +191,7 @@ class SVEtype(Enum):
 
 
 @unique
-class SVEXTRA(Enum):
+class SVExtra(Enum):
     NONE = 0
     Idx0 = 1
     Idx1 = 2
@@ -199,6 +199,9 @@ class SVEXTRA(Enum):
     Idx3 = 4
     Idx_1_2 = 5  # due to weird BA/BB for crops
 
+# Backward compatibility
+SVEXTRA = SVExtra
+
 
 @unique
 class SVP64PredMode(Enum):