iew_impl.hh (8298:3c1296738e34) iew_impl.hh (8315:6173b87e7652)
1/*
2 * Copyright (c) 2010 ARM Limited
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 1207 unchanged lines hidden (view full) ---

1216
1217 DynInstPtr inst = instQueue.getInstToExecute();
1218
1219 DPRINTF(IEW, "Execute: Processing PC %s, [tid:%i] [sn:%i].\n",
1220 inst->pcState(), inst->threadNumber,inst->seqNum);
1221
1222 // Check if the instruction is squashed; if so then skip it
1223 if (inst->isSquashed()) {
1/*
2 * Copyright (c) 2010 ARM Limited
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 1207 unchanged lines hidden (view full) ---

1216
1217 DynInstPtr inst = instQueue.getInstToExecute();
1218
1219 DPRINTF(IEW, "Execute: Processing PC %s, [tid:%i] [sn:%i].\n",
1220 inst->pcState(), inst->threadNumber,inst->seqNum);
1221
1222 // Check if the instruction is squashed; if so then skip it
1223 if (inst->isSquashed()) {
1224 DPRINTF(IEW, "Execute: Instruction was squashed.\n");
1224 DPRINTF(IEW, "Execute: Instruction was squashed. PC: %s, [tid:%i]"
1225 " [sn:%i]\n", inst->pcState(), inst->threadNumber,
1226 inst->seqNum);
1225
1226 // Consider this instruction executed so that commit can go
1227 // ahead and retire the instruction.
1228 inst->setExecuted();
1229
1230 // Not sure if I should set this here or just let commit try to
1231 // commit any squashed instructions. I like the latter a bit more.
1232 inst->setCanCommit();

--- 435 unchanged lines hidden ---
1227
1228 // Consider this instruction executed so that commit can go
1229 // ahead and retire the instruction.
1230 inst->setExecuted();
1231
1232 // Not sure if I should set this here or just let commit try to
1233 // commit any squashed instructions. I like the latter a bit more.
1234 inst->setCanCommit();

--- 435 unchanged lines hidden ---