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:
6a2de7d
)
power_enums: change SVExtra representation
author
Dmitry Selyutin
<ghostmansd@gmail.com>
Tue, 30 May 2023 16:31:11 +0000
(19:31 +0300)
committer
Dmitry Selyutin
<ghostmansd@gmail.com>
Thu, 1 Jun 2023 08:19:38 +0000
(11:19 +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 242b3a86b221fad73a92d6fbfd909cf3fb565093..56518d86c0f1086a14ef6631d71b07589132b755 100644
(file)
--- a/
src/openpower/decoder/power_enums.py
+++ b/
src/openpower/decoder/power_enums.py
@@
-241,12
+241,12
@@
class SVExtra(Enum):
def __repr__(self):
return {
- SVExtra.NONE: "
NONE
",
- SVExtra.Idx0: "
[0]
",
- SVExtra.Idx1: "
[1]
",
- SVExtra.Idx2: "
[2]
",
- SVExtra.Idx3: "
[3]
",
- SVExtra.Idx_1_2: "
[1:2]
",
+ SVExtra.NONE: "
none
",
+ SVExtra.Idx0: "
extra0
",
+ SVExtra.Idx1: "
extra1
",
+ SVExtra.Idx2: "
extra2
",
+ SVExtra.Idx3: "
extra3
",
+ SVExtra.Idx_1_2: "
extra1/extra2
",
}[self]
# Backward compatibility