diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2010-07-13 22:41:47 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2010-07-13 22:41:47 -0700 |
commit | 4e3183cb1e5d4081fa7688bf89f8c776c52ec393 (patch) | |
tree | 596ec63b05ca27115221e5b76c24247fb7ee4f75 | |
parent | 897247d63bf2ae8b799a867e891d862eec2bfa5d (diff) | |
download | gem5-4e3183cb1e5d4081fa7688bf89f8c776c52ec393.tar.xz |
ARM: Adjust the FP_Base_DepTag to be larger than the largest int reg index.
-rw-r--r-- | src/arch/arm/registers.hh | 2 | ||||
-rw-r--r-- | src/arch/arm/types.hh | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/arch/arm/registers.hh b/src/arch/arm/registers.hh index ac95f4091..670b4b841 100644 --- a/src/arch/arm/registers.hh +++ b/src/arch/arm/registers.hh @@ -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 { diff --git a/src/arch/arm/types.hh b/src/arch/arm/types.hh index dd6b7e610..78c9790f6 100644 --- a/src/arch/arm/types.hh +++ b/src/arch/arm/types.hh @@ -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 |