diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-02-25 10:21:33 -0800 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-02-25 10:21:33 -0800 |
commit | 88ee7d4c32854608a9887ecbd60139dc20ab1974 (patch) | |
tree | 8c188b9c7a72fe16caa59b61c81542606a97c811 /src/arch/sparc/intregfile.cc | |
parent | 7aa875f4f3598c8ca6e3ba8946cf6eb3697a7696 (diff) | |
download | gem5-88ee7d4c32854608a9887ecbd60139dc20ab1974.tar.xz |
SPARC: Add a traceflag for register windows.
Diffstat (limited to 'src/arch/sparc/intregfile.cc')
-rw-r--r-- | src/arch/sparc/intregfile.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/sparc/intregfile.cc b/src/arch/sparc/intregfile.cc index 39a613a0d..6419f0f93 100644 --- a/src/arch/sparc/intregfile.cc +++ b/src/arch/sparc/intregfile.cc @@ -55,7 +55,7 @@ int IntRegFile::flattenIndex(int reg) { int flatIndex = offset[reg >> FrameOffsetBits] | (reg & FrameOffsetMask); - DPRINTF(Sparc, "Flattened index %d into %d.\n", reg, flatIndex); + DPRINTF(RegisterWindows, "Flattened index %d into %d.\n", reg, flatIndex); return flatIndex; } @@ -135,12 +135,12 @@ void IntRegFile::setCWP(int cwp) regView[Locals] = regSegments[index+1]; regView[Inputs] = regSegments[(index+2) % (NWindows * 2)]; - DPRINTF(Sparc, "Changed the CWP value to %d\n", cwp); + DPRINTF(RegisterWindows, "Changed the CWP value to %d\n", cwp); } void IntRegFile::setGlobals(int gl) { - DPRINTF(Sparc, "Now using %d globals\n", gl); + DPRINTF(RegisterWindows, "Now using %d globals\n", gl); regView[Globals] = regGlobals[gl]; offset[Globals] = RegGlobalOffset + gl * RegsPerFrame; |