summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-10-26 20:23:00 -0400
committerGabe Black <gblack@eecs.umich.edu>2006-10-26 20:23:00 -0400
commit5024b202785b066307b5bc697ee39bccf344a100 (patch)
tree5358c776097adc50a8606c963796faa98d943555 /src/arch
parente441be1b82171651308c22eac01c854e7813c2dd (diff)
downloadgem5-5024b202785b066307b5bc697ee39bccf344a100.tar.xz
Got rid of some debug output
--HG-- extra : convert_revision : 6e98cf839dc92bde5f06f9b9bf11ca6ac661c907
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/sparc/faults.cc12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/arch/sparc/faults.cc b/src/arch/sparc/faults.cc
index fd91ccf0f..2c8da44c5 100644
--- a/src/arch/sparc/faults.cc
+++ b/src/arch/sparc/faults.cc
@@ -336,22 +336,14 @@ void doNormalFault(ThreadContext *tc, TrapType tt)
bool changedCWP = true;
if(tt == 0x24)
- {
- warn("Incrementing the CWP by 1\n");
CWP++;
- }
else if(0x80 <= tt && tt <= 0xbf)
- {
- warn("Incrementing the CWP by %d\n", CANSAVE + 2);
CWP += (CANSAVE + 2);
- }
else if(0xc0 <= tt && tt <= 0xff)
- {
- warn("Decrementing the CWP by 1\n");
CWP--;
- }
else
changedCWP = false;
+
if(changedCWP)
{
CWP = (CWP + NWindows) % NWindows;
@@ -395,7 +387,6 @@ void TrapInstruction::invoke(ThreadContext * tc)
void SpillNNormal::invoke(ThreadContext *tc)
{
- warn("I'm in a spill trap\n");
doNormalFault(tc, trapType());
Process *p = tc->getProcessPtr();
@@ -413,7 +404,6 @@ void SpillNNormal::invoke(ThreadContext *tc)
void FillNNormal::invoke(ThreadContext *tc)
{
- warn("I'm in a fill trap\n");
doNormalFault(tc, trapType());
Process * p = tc->getProcessPtr();