From a265e203e4cb703c4b458e68e85b69058ce4d3b1 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 9 Dec 2021 10:01:57 +0000 Subject: [PATCH] add FAST SPRs temporarily to power_enums --- src/openpower/decoder/power_enums.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/openpower/decoder/power_enums.py b/src/openpower/decoder/power_enums.py index df1239f8..de8a0a47 100644 --- a/src/openpower/decoder/power_enums.py +++ b/src/openpower/decoder/power_enums.py @@ -559,7 +559,9 @@ def get_spr_enum(full_file): short_list = {'PIDR', 'DAR', 'PRTBL', 'DSISR', 'SVSRR0', 'SVSTATE', 'SVSTATE0', 'SVSTATE1', 'SVSTATE2', 'SVSTATE3', 'SPRG0_priv', 'SPRG1_priv', 'SPRG2_priv', 'SPRG3_priv', - 'SPRG3' + 'SPRG3', + # hmmm should not be including these, they are FAST regs + 'CTR', 'LR', 'TAR', 'SRR0', 'SRR1', 'XER', 'DEC', 'TB', 'TBU', } spr_csv = [] for row in get_csv("sprs.csv"): -- 2.30.2