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/regfile.cc | |
parent | 7aa875f4f3598c8ca6e3ba8946cf6eb3697a7696 (diff) | |
download | gem5-88ee7d4c32854608a9887ecbd60139dc20ab1974.tar.xz |
SPARC: Add a traceflag for register windows.
Diffstat (limited to 'src/arch/sparc/regfile.cc')
-rw-r--r-- | src/arch/sparc/regfile.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/sparc/regfile.cc b/src/arch/sparc/regfile.cc index f390be508..1c172a4d5 100644 --- a/src/arch/sparc/regfile.cc +++ b/src/arch/sparc/regfile.cc @@ -155,7 +155,7 @@ int SparcISA::flattenIntIndex(ThreadContext * tc, int reg) { int gl = tc->readMiscRegNoEffect(MISCREG_GL); int cwp = tc->readMiscRegNoEffect(MISCREG_CWP); - //DPRINTF(Sparc, "Global Level = %d, Current Window Pointer = %d\n", gl, cwp); + //DPRINTF(RegisterWindows, "Global Level = %d, Current Window Pointer = %d\n", gl, cwp); int newReg; //The total number of global registers int numGlobals = (MaxGL + 1) * 8; @@ -214,7 +214,7 @@ int SparcISA::flattenIntIndex(ThreadContext * tc, int reg) } else panic("Tried to flatten invalid register index %d!\n", reg); - DPRINTF(Sparc, "Flattened register %d to %d.\n", reg, newReg); + DPRINTF(RegisterWindows, "Flattened register %d to %d.\n", reg, newReg); return newReg; //return intRegFile.flattenIndex(reg); } |