ARM: Adjust the FP_Base_DepTag to be larger than the largest int reg index.
This commit is contained in:
parent
897247d63b
commit
4e3183cb1e
2 changed files with 3 additions and 2 deletions
|
@ -83,7 +83,7 @@ const int SyscallPseudoReturnReg = ReturnValueReg;
|
||||||
const int SyscallSuccessReg = ReturnValueReg;
|
const int SyscallSuccessReg = ReturnValueReg;
|
||||||
|
|
||||||
// These help enumerate all the registers for dependence tracking.
|
// These help enumerate all the registers for dependence tracking.
|
||||||
const int FP_Base_DepTag = NumIntRegs;
|
const int FP_Base_DepTag = NumIntRegs * (MODE_MAXMODE + 1);
|
||||||
const int Ctrl_Base_DepTag = FP_Base_DepTag + NumFloatRegs;
|
const int Ctrl_Base_DepTag = FP_Base_DepTag + NumFloatRegs;
|
||||||
|
|
||||||
typedef union {
|
typedef union {
|
||||||
|
|
|
@ -241,7 +241,8 @@ namespace ArmISA
|
||||||
MODE_MON = 22,
|
MODE_MON = 22,
|
||||||
MODE_ABORT = 23,
|
MODE_ABORT = 23,
|
||||||
MODE_UNDEFINED = 27,
|
MODE_UNDEFINED = 27,
|
||||||
MODE_SYSTEM = 31
|
MODE_SYSTEM = 31,
|
||||||
|
MODE_MAXMODE = MODE_SYSTEM
|
||||||
};
|
};
|
||||||
|
|
||||||
static inline bool
|
static inline bool
|
||||||
|
|
Loading…
Reference in a new issue