13 #ifdef GET_REGINFO_ENUM
14 #undef GET_REGINFO_ENUM
39 XCore_RRegsRegClassID = 0,
40 XCore_GRRegsRegClassID = 1
54 #ifdef GET_REGINFO_MC_DESC
55 #undef GET_REGINFO_MC_DESC
57 static const MCPhysReg XCoreRegDiffLists[] = {
61 static const uint16_t XCoreSubRegIdxLists[] = {
67 { 38, 1, 1, 0, 1, 0 },
68 { 41, 1, 1, 0, 1, 0 },
69 { 47, 1, 1, 0, 1, 0 },
70 { 44, 1, 1, 0, 1, 0 },
72 { 11, 1, 1, 0, 1, 0 },
73 { 14, 1, 1, 0, 1, 0 },
74 { 17, 1, 1, 0, 1, 0 },
75 { 20, 1, 1, 0, 1, 0 },
76 { 23, 1, 1, 0, 1, 0 },
77 { 26, 1, 1, 0, 1, 0 },
78 { 29, 1, 1, 0, 1, 0 },
79 { 32, 1, 1, 0, 1, 0 },
80 { 35, 1, 1, 0, 1, 0 },
87 XCore_R0, XCore_R1, XCore_R2, XCore_R3, XCore_R4, XCore_R5, XCore_R6, XCore_R7, XCore_R8, XCore_R9, XCore_R10, XCore_R11, XCore_CP, XCore_DP, XCore_SP, XCore_LR,
91 static const uint8_t RRegsBits[] = {
97 XCore_R0, XCore_R1, XCore_R2, XCore_R3, XCore_R4, XCore_R5, XCore_R6, XCore_R7, XCore_R8, XCore_R9, XCore_R10, XCore_R11,
101 static const uint8_t GRRegsBits[] = {
106 { RRegs, RRegsBits, 1, 16,
sizeof(RRegsBits), XCore_RRegsRegClassID, 4, 4, 1, 0 },
107 { GRRegs, GRRegsBits, 0, 12,
sizeof(GRRegsBits), XCore_GRRegsRegClassID, 4, 4, 1, 1 },