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:
1c300aa
)
power_enum: tune SVEtype representation
author
Dmitry Selyutin
<ghostmansd@gmail.com>
Mon, 5 Sep 2022 18:35:33 +0000
(21:35 +0300)
committer
Dmitry Selyutin
<ghostmansd@gmail.com>
Tue, 6 Sep 2022 11:44:56 +0000
(14:44 +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 cf08672a66cfcc354618ab053af65d4f98d9f958..4a8add835994bcafad9e864d81f87bfaa6c1c71b 100644
(file)
--- a/
src/openpower/decoder/power_enums.py
+++ b/
src/openpower/decoder/power_enums.py
@@
-199,6
+199,9
@@
class SVEtype(Enum):
EXTRA2 = 1
EXTRA3 = 2
+ def __repr__(self):
+ return self.name
+
@unique
class SVExtra(Enum):