From: Dmitry Selyutin Date: Tue, 30 May 2023 16:31:11 +0000 (+0300) Subject: power_enums: change SVExtra representation X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=533bd644b9569960ab9117ff0b0c9befa539c909;p=openpower-isa.git power_enums: change SVExtra representation --- diff --git a/src/openpower/decoder/power_enums.py b/src/openpower/decoder/power_enums.py index 242b3a86..56518d86 100644 --- 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