From: Dmitry Selyutin Date: Mon, 5 Sep 2022 18:35:33 +0000 (+0300) Subject: power_enum: tune SVEtype representation X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1e0f8ba0ace2c61b01102f3b7f8ae088a18d0e72;p=openpower-isa.git power_enum: tune SVEtype representation --- diff --git a/src/openpower/decoder/power_enums.py b/src/openpower/decoder/power_enums.py index cf08672a..4a8add83 100644 --- 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):