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:
81e8161
)
power_enums: fix conversion from selector to reg
author
Dmitry Selyutin
<ghostmansd@gmail.com>
Wed, 17 Aug 2022 18:43:37 +0000
(21:43 +0300)
committer
Dmitry Selyutin
<ghostmansd@gmail.com>
Wed, 17 Aug 2022 18:43:37 +0000
(21:43 +0300)
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 45b30c11a9c9cb578f37d8c0b02619b3f22a6a59..7388a06b092dfad9529f107c634c33caccf426e6 100644
(file)
--- a/
src/openpower/decoder/power_enums.py
+++ b/
src/openpower/decoder/power_enums.py
@@
-252,7
+252,7
@@
class SVExtraReg(Enum):
OutSel, CROutSel,
)
if isinstance(value, selectors):
- return cls.__members__.get(value, cls.NONE)
+ return cls.__members__.get(value
.name
, cls.NONE)
return super()._missing_(value)