changeset 705aca3c1240 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=705aca3c1240
description:
        cpu: o3: Remove unused code in iew, add assert instead.

diffstat:

 src/cpu/o3/iew_impl.hh |  13 ++-----------
 1 files changed, 2 insertions(+), 11 deletions(-)

diffs (26 lines):

diff -r 60482901c996 -r 705aca3c1240 src/cpu/o3/iew_impl.hh
--- a/src/cpu/o3/iew_impl.hh    Mon Mar 09 09:39:08 2015 -0500
+++ b/src/cpu/o3/iew_impl.hh    Mon Mar 09 09:39:08 2015 -0500
@@ -1095,20 +1095,11 @@
             iewExecutedNop[tid]++;
 
             add_to_iq = false;
-        } else if (inst->isExecuted()) {
-            assert(0 && "Instruction shouldn't be executed.\n");
-            DPRINTF(IEW, "Issue: Executed branch encountered, "
-                    "skipping.\n");
-
-            inst->setIssued();
-            inst->setCanCommit();
-
-            instQueue.recordProducer(inst);
-
-            add_to_iq = false;
         } else {
+            assert(!inst->isExecuted());
             add_to_iq = true;
         }
+
         if (inst->isNonSpeculative()) {
             DPRINTF(IEW, "[tid:%i]: Issue: Nonspeculative instruction "
                     "encountered, skipping.\n", tid);
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to