Make the GSR into a renamed control register. It should be split into a renamed part and a control part for the different bitfields, but the renamed part is all that's actually used.
--HG-- extra : convert_revision : ffeb4f874bd4430255064f6e8bcb135309932ff8
This commit is contained in:
@@ -149,7 +149,8 @@ def operands {{
|
||||
'Fprs': ('ControlReg', 'udw', 'MISCREG_FPRS', None, 43),
|
||||
'Pcr': ('ControlReg', 'udw', 'MISCREG_PCR', None, 44),
|
||||
'Pic': ('ControlReg', 'udw', 'MISCREG_PIC', None, 45),
|
||||
'Gsr': ('ControlReg', 'udw', 'MISCREG_GSR', None, 46),
|
||||
# 'Gsr': ('ControlReg', 'udw', 'MISCREG_GSR', (None, None, ['IsSerializeAfter','IsSerializing','IsNonSpeculative']), 46),
|
||||
'Gsr': ('IntReg', 'udw', 'NumIntArchRegs + 8', None, 46),
|
||||
'Softint': ('ControlReg', 'udw', 'MISCREG_SOFTINT', None, 47),
|
||||
'SoftintSet': ('ControlReg', 'udw', 'MISCREG_SOFTINT_SET', None, 48),
|
||||
'SoftintClr': ('ControlReg', 'udw', 'MISCREG_SOFTINT_CLR', None, 49),
|
||||
|
||||
@@ -58,7 +58,7 @@ namespace SparcISA
|
||||
|
||||
// These enumerate all the registers for dependence tracking.
|
||||
enum DependenceTags {
|
||||
FP_Base_DepTag = 32*3+8,
|
||||
FP_Base_DepTag = 32*3+9,
|
||||
Ctrl_Base_DepTag = FP_Base_DepTag + 64
|
||||
};
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ namespace SparcISA
|
||||
// Number of register windows, can legally be 3 to 32
|
||||
const int NWindows = 8;
|
||||
//const int NumMicroIntRegs = 1;
|
||||
const int NumMicroIntRegs = 8;
|
||||
const int NumMicroIntRegs = 9;
|
||||
|
||||
// const int NumRegularIntRegs = MaxGL * 8 + NWindows * 16;
|
||||
// const int NumMicroIntRegs = 1;
|
||||
|
||||
Reference in New Issue
Block a user