Gekko: Convert UReg_XER over to using Common::BitField

This commit is contained in:
Lioncash 2021-08-27 10:46:38 -04:00
parent 4816195366
commit 1863212d94
1 changed files with 8 additions and 10 deletions

View File

@ -350,16 +350,14 @@ union UGQR
// XER // XER
union UReg_XER union UReg_XER
{ {
struct BitField<0, 7, u32> BYTE_COUNT;
{ BitField<7, 1, u32> reserved_1;
u32 BYTE_COUNT : 7; BitField<8, 8, u32> BYTE_CMP;
u32 : 1; BitField<16, 13, u32> reserved_2;
u32 BYTE_CMP : 8; BitField<29, 1, u32> CA;
u32 : 13; BitField<30, 1, u32> OV;
u32 CA : 1; BitField<31, 1, u32> SO;
u32 OV : 1;
u32 SO : 1;
};
u32 Hex = 0; u32 Hex = 0;
UReg_XER() = default; UReg_XER() = default;