From a9ae6c8656dc233996c81cdeb6f5c8539442af95 Mon Sep 17 00:00:00 2001 From: Kevin Lim Date: Mon, 9 Oct 2006 22:49:58 -0400 Subject: [PATCH] Comment out code that messed up SMT (but will be needed eventually). src/cpu/o3/cpu.cc: Comment out reseting CPU structures for now. This can be updated to work in the future. --HG-- extra : convert_revision : bc1a86e2fe47da5acb14ba8b64568b0355431f1c --- src/cpu/o3/cpu.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/cpu/o3/cpu.cc b/src/cpu/o3/cpu.cc index d1d25dd7f..4c9a8e91f 100644 --- a/src/cpu/o3/cpu.cc +++ b/src/cpu/o3/cpu.cc @@ -701,10 +701,17 @@ FullO3CPU::removeThread(unsigned tid) assert(iew.ldstQueue.getCount(tid) == 0); // Reset ROB/IQ/LSQ Entries + + // Commented out for now. This should be possible to do by + // telling all the pipeline stages to drain first, and then + // checking until the drain completes. Once the pipeline is + // drained, call resetEntries(). - 10-09-06 ktlim +/* if (activeThreads.size() >= 1) { commit.rob->resetEntries(); iew.resetEntries(); } +*/ } -- 2.30.2