From ba4cb715f7049587fd83a37663d539d210dcd8d8 Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Tue, 30 May 2023 19:31:11 +0300 Subject: [PATCH] power_enums: change SVExtra representation --- src/openpower/decoder/power_enums.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 -- 2.30.2