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:
7ffad8f
)
power_enums: distinguish all reg types
author
Dmitry Selyutin
<ghostmansd@gmail.com>
Mon, 5 Jun 2023 09:11:39 +0000
(12:11 +0300)
committer
Dmitry Selyutin
<ghostmansd@gmail.com>
Mon, 5 Jun 2023 09:11:39 +0000
(12:11 +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 44555ea2dffec8a97db8189834c3bf271f915115..c2f74846fe6a132f9c6e81fc5bfd5a8081ff33ce 100644
(file)
--- a/
src/openpower/decoder/power_enums.py
+++ b/
src/openpower/decoder/power_enums.py
@@
-256,12
+256,12
@@
SVEXTRA = SVExtra
class Reg(Enum):
NONE = auto()
RA = auto()
- RA_OR_ZERO =
RA
+ RA_OR_ZERO =
auto()
RB = auto()
RC = auto()
RS = auto()
RT = auto()
- RT_OR_ZERO =
RT
+ RT_OR_ZERO =
auto()
FRA = auto()
FRB = auto()
FRC = auto()
@@
-280,12
+280,12
@@
class Reg(Enum):
BFT = auto()
WHOLE_REG = auto()
SPR = auto()
- RSp =
RS
- RTp =
RT
- FRAp =
FRA
- FRBp =
FRB
- FRSp =
FRS
- FRTp =
FRT
+ RSp =
auto()
+ RTp =
auto()
+ FRAp =
auto()
+ FRBp =
auto()
+ FRSp =
auto()
+ FRTp =
auto()
def __str__(self):
return self.name