iew_impl.hh (5529:9ae69b9cd7fd) iew_impl.hh (6036:f0841ee466a5)
1/*
2 * Copyright (c) 2004-2006 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

1277
1278 if (!fetchRedirect[tid] ||
1279 toCommit->squashedSeqNum[tid] > inst->seqNum) {
1280
1281 if (inst->mispredicted()) {
1282 fetchRedirect[tid] = true;
1283
1284 DPRINTF(IEW, "Execute: Branch mispredict detected.\n");
1/*
2 * Copyright (c) 2004-2006 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

1277
1278 if (!fetchRedirect[tid] ||
1279 toCommit->squashedSeqNum[tid] > inst->seqNum) {
1280
1281 if (inst->mispredicted()) {
1282 fetchRedirect[tid] = true;
1283
1284 DPRINTF(IEW, "Execute: Branch mispredict detected.\n");
1285 DPRINTF(IEW, "Predicted target was %#x, %#x.\n",
1285 DPRINTF(IEW, "Predicted target was PC:%#x, NPC:%#x.\n",
1286 inst->readPredPC(), inst->readPredNPC());
1287 DPRINTF(IEW, "Execute: Redirecting fetch to PC: %#x,"
1288 " NPC: %#x.\n", inst->readNextPC(),
1289 inst->readNextNPC());
1290 // If incorrect, then signal the ROB that it must be squashed.
1291 squashDueToBranch(inst, tid);
1292
1293 if (inst->readPredTaken()) {

--- 292 unchanged lines hidden ---
1286 inst->readPredPC(), inst->readPredNPC());
1287 DPRINTF(IEW, "Execute: Redirecting fetch to PC: %#x,"
1288 " NPC: %#x.\n", inst->readNextPC(),
1289 inst->readNextNPC());
1290 // If incorrect, then signal the ROB that it must be squashed.
1291 squashDueToBranch(inst, tid);
1292
1293 if (inst->readPredTaken()) {

--- 292 unchanged lines hidden ---