From: Dmitry Selyutin Date: Sun, 18 Dec 2022 20:16:28 +0000 (+0300) Subject: power_enums: fix CR register types X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=18b36471acd151f7e0baaf80bd84f2fa39b344dc;p=openpower-isa.git power_enums: fix CR register types --- diff --git a/src/openpower/decoder/power_enums.py b/src/openpower/decoder/power_enums.py index 4651102e..130d0815 100644 --- a/src/openpower/decoder/power_enums.py +++ b/src/openpower/decoder/power_enums.py @@ -582,16 +582,16 @@ class RegType(Enum): FRS = FPR FRT = FPR - CR_5BIT = 2 # CR field; the CR register is 32-bit - BF = CR_5BIT - BFA = CR_5BIT - - CR_3BIT = 3 # bit of the 32-bit CR register - BA = CR_3BIT - BB = CR_3BIT - BC = CR_3BIT - BI = CR_3BIT - BT = CR_3BIT + CR_3BIT = 2 # CR field; the CR register is 32-bit + BF = CR_3BIT + BFA = CR_3BIT + + CR_5BIT = 3 # bit of the 32-bit CR register + BA = CR_5BIT + BB = CR_5BIT + BC = CR_5BIT + BI = CR_5BIT + BT = CR_5BIT XER_BIT = 4 # XER bits, includes OV, OV32, SO, CA, CA32 OV = XER_BIT