diff options
author | Korey Sewell <ksewell@umich.edu> | 2008-10-06 02:07:04 -0400 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2008-10-06 02:07:04 -0400 |
commit | 6c046a28dc6624f57655e5106568721972cbae1e (patch) | |
tree | db4595c0b996ce080acd4d78afccc58c3e0460d3 /src/arch/mips/isa_traits.hh | |
parent | b25755993bbc04be0235975e2967533995a493f0 (diff) | |
download | gem5-6c046a28dc6624f57655e5106568721972cbae1e.tar.xz |
fix shadow set bugs in MIPS code that caused out of bounds access...
panic rdpgpr/wrpgpr instructions until a better impl.
of MIPS shadow sets is available.
Diffstat (limited to 'src/arch/mips/isa_traits.hh')
-rw-r--r-- | src/arch/mips/isa_traits.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/mips/isa_traits.hh b/src/arch/mips/isa_traits.hh index d4d1de479..3450c273e 100644 --- a/src/arch/mips/isa_traits.hh +++ b/src/arch/mips/isa_traits.hh @@ -181,6 +181,8 @@ namespace MipsISA const int NumIntRegs = NumIntArchRegs*NumShadowRegSets + NumIntSpecialRegs; //HI & LO Regs const int NumFloatRegs = NumFloatArchRegs + NumFloatSpecialRegs;// + const int TotalArchRegs = NumIntArchRegs * NumShadowRegSets; + // Static instruction parameters const int MaxInstSrcRegs = 10; const int MaxInstDestRegs = 8; |