From 3037723761af13988c501e0ea558b33d32887acc Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Mon, 5 Jun 2023 12:11:39 +0300 Subject: [PATCH] power_enums: distinguish all reg types --- src/openpower/decoder/power_enums.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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 -- 2.30.2