From 5024b202785b066307b5bc697ee39bccf344a100 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Thu, 26 Oct 2006 20:23:00 -0400 Subject: [PATCH] Got rid of some debug output --HG-- extra : convert_revision : 6e98cf839dc92bde5f06f9b9bf11ca6ac661c907 --- src/arch/sparc/faults.cc | 12 +----------- 1 file changed, 1 insertion(+), 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(); -- 2.30.2