projects
/
openpower-isa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45cc558
)
power_enums: fix incorrect naming
author
Dmitry Selyutin
<ghostmansd@gmail.com>
Sun, 14 May 2023 12:09:22 +0000
(12:09 +0000)
committer
Dmitry Selyutin
<ghostmansd@gmail.com>
Sun, 14 May 2023 12:11:43 +0000
(12:11 +0000)
src/openpower/decoder/power_enums.py
patch
|
blob
|
history
diff --git
a/src/openpower/decoder/power_enums.py
b/src/openpower/decoder/power_enums.py
index 1ca39c9841c2ce89aa30d9c1b670059ad3c83543..242b3a86b221fad73a92d6fbfd909cf3fb565093 100644
(file)
--- a/
src/openpower/decoder/power_enums.py
+++ b/
src/openpower/decoder/power_enums.py
@@
-194,7
+194,7
@@
class SVPType(Enum):
@classmethod
def _missing_(cls, desc):
- return {"1P": SVPType.P1, "2P": SVPType.P2, "2PM": SVType.P2M}.get(desc)
+ return {"1P": SVPType.P1, "2P": SVPType.P2, "2PM": SV
P
Type.P2M}.get(desc)
def __repr__(self):
return {