From: Luke Kenneth Casson Leighton Date: Sun, 8 Mar 2020 12:53:38 +0000 (+0000) Subject: add SPR enum X-Git-Tag: div_pipeline~1760 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3730dd98a79bbd5504877a7f39fedcfe3f68ba1b;p=soc.git add SPR enum --- diff --git a/src/decoder/power_enums.py b/src/decoder/power_enums.py index f520ee57..4800bdf2 100644 --- a/src/decoder/power_enums.py +++ b/src/decoder/power_enums.py @@ -206,3 +206,22 @@ class CryIn(Enum): ZERO = 0 ONE = 1 CA = 2 + +@unique +class SPR(Enum): + XER = 1 + LR = 8 + CTR = 9 + TB = 268 + SRR0 = 26 + SRR1 = 27 + HSRR0 = 314 + HSRR1 = 315 + SPRG0 = 272 + SPRG1 = 273 + SPRG2 = 274 + SPRG3 = 275 + SPRG3U = 259 + HSPRG0 = 304 + HSPRG1 = 305 +