iew_impl.hh (7850:02450f4443ce) | iew_impl.hh (7851:bb38f0c47ade) |
---|---|
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 --- 442 unchanged lines hidden (view full) --- 451{ 452 DPRINTF(IEW, "[tid:%i]: Squashing from a specific instruction, PC: %s " 453 "[sn:%i].\n", tid, inst->pcState(), inst->seqNum); 454 455 toCommit->squash[tid] = true; 456 toCommit->squashedSeqNum[tid] = inst->seqNum; 457 toCommit->mispredPC[tid] = inst->instAddr(); 458 toCommit->branchMispredict[tid] = true; | 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 --- 442 unchanged lines hidden (view full) --- 451{ 452 DPRINTF(IEW, "[tid:%i]: Squashing from a specific instruction, PC: %s " 453 "[sn:%i].\n", tid, inst->pcState(), inst->seqNum); 454 455 toCommit->squash[tid] = true; 456 toCommit->squashedSeqNum[tid] = inst->seqNum; 457 toCommit->mispredPC[tid] = inst->instAddr(); 458 toCommit->branchMispredict[tid] = true; |
459 toCommit->mispredictInst[tid] = inst; |
|
459 460 toCommit->branchTaken[tid] = inst->pcState().branching(); 461 TheISA::PCState pc = inst->pcState(); 462 TheISA::advancePC(pc, inst->staticInst); 463 toCommit->pc[tid] = pc; 464 465 toCommit->includeSquashInst[tid] = false; 466 --- 1153 unchanged lines hidden --- | 460 461 toCommit->branchTaken[tid] = inst->pcState().branching(); 462 TheISA::PCState pc = inst->pcState(); 463 TheISA::advancePC(pc, inst->staticInst); 464 toCommit->pc[tid] = pc; 465 466 toCommit->includeSquashInst[tid] = false; 467 --- 1153 unchanged lines hidden --- |