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:
fbeedfd
)
power_enum: modify SVPtype stringification
author
Dmitry Selyutin
<ghostmansd@gmail.com>
Thu, 22 Jun 2023 19:07:59 +0000
(22:07 +0300)
committer
Dmitry Selyutin
<ghostmansd@gmail.com>
Fri, 23 Jun 2023 07:40:44 +0000
(10:40 +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 707e3986fb5778b198241ee99040c8086c92cf3e..300a4653f6aa6cc2c42ea71273aa27a5ecf8c6f2 100644
(file)
--- a/
src/openpower/decoder/power_enums.py
+++ b/
src/openpower/decoder/power_enums.py
@@
-202,7
+202,7
@@
class SVPType(Enum):
def _missing_(cls, desc):
return {"1P": SVPType.P1, "2P": SVPType.P2, "2PM": SVPType.P2M}.get(desc)
- def __
rep
r__(self):
+ def __
st
r__(self):
return {
SVPType.NONE: "NONE",
SVPType.P1: "1P",