From: Dmitry Selyutin Date: Mon, 5 Jun 2023 09:11:39 +0000 (+0300) Subject: power_enums: distinguish all reg types X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3037723761af13988c501e0ea558b33d32887acc;p=openpower-isa.git power_enums: distinguish all reg types --- diff --git a/src/openpower/decoder/power_enums.py b/src/openpower/decoder/power_enums.py index 44555ea2..c2f74846 100644 --- 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