ARM: Adjust the FP_Base_DepTag to be larger than the largest int reg index.

This commit is contained in:
Gabe Black 2010-07-13 22:41:47 -07:00
parent 897247d63b
commit 4e3183cb1e
2 changed files with 3 additions and 2 deletions

View file

@ -83,7 +83,7 @@ const int SyscallPseudoReturnReg = ReturnValueReg;
const int SyscallSuccessReg = ReturnValueReg;
// 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;
typedef union {

View file

@ -241,7 +241,8 @@ namespace ArmISA
MODE_MON = 22,
MODE_ABORT = 23,
MODE_UNDEFINED = 27,
MODE_SYSTEM = 31
MODE_SYSTEM = 31,
MODE_MAXMODE = MODE_SYSTEM
};
static inline bool