From: Luke Kenneth Casson Leighton Date: Sat, 8 Oct 2022 10:04:05 +0000 (+0100) Subject: add XER bits to register enums X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fd4512e9fa50ca14154ce6981c13a9c45556025d;p=openpower-isa.git add XER bits to register enums --- diff --git a/src/openpower/decoder/power_enums.py b/src/openpower/decoder/power_enums.py index 081a703c..f3da7119 100644 --- a/src/openpower/decoder/power_enums.py +++ b/src/openpower/decoder/power_enums.py @@ -414,6 +414,13 @@ class RegType(Enum): BI = CR_BIT BT = CR_BIT + XER_BIT = 4 # XER bits, includes OV, OV32, SO, CA, CA32 + OV = XER_BIT + OV32 = XER_BIT + CA = XER_BIT + CA32 = XER_BIT + SO = XER_BIT + @classmethod def _missing_(cls, value): if isinstance(value, SVExtraReg):