commit_impl.hh (7847:0c6613ad8f18) | commit_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 --- 506 unchanged lines hidden (view full) --- 515 // squash. 516 toIEW->commitInfo[tid].squash = true; 517 518 // Send back the rob squashing signal so other stages know that 519 // the ROB is in the process of squashing. 520 toIEW->commitInfo[tid].robSquashing = true; 521 522 toIEW->commitInfo[tid].branchMispredict = false; | 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 --- 506 unchanged lines hidden (view full) --- 515 // squash. 516 toIEW->commitInfo[tid].squash = true; 517 518 // Send back the rob squashing signal so other stages know that 519 // the ROB is in the process of squashing. 520 toIEW->commitInfo[tid].robSquashing = true; 521 522 toIEW->commitInfo[tid].branchMispredict = false; |
523 toIEW->commitInfo[tid].mispredictInst = NULL; |
|
523 524 toIEW->commitInfo[tid].pc = pc[tid]; 525} 526 527template <class Impl> 528void 529DefaultCommit<Impl>::squashFromTrap(ThreadID tid) 530{ --- 278 unchanged lines hidden (view full) --- 809 toIEW->commitInfo[tid].squash = true; 810 811 // Send back the rob squashing signal so other stages know that 812 // the ROB is in the process of squashing. 813 toIEW->commitInfo[tid].robSquashing = true; 814 815 toIEW->commitInfo[tid].branchMispredict = 816 fromIEW->branchMispredict[tid]; | 524 525 toIEW->commitInfo[tid].pc = pc[tid]; 526} 527 528template <class Impl> 529void 530DefaultCommit<Impl>::squashFromTrap(ThreadID tid) 531{ --- 278 unchanged lines hidden (view full) --- 810 toIEW->commitInfo[tid].squash = true; 811 812 // Send back the rob squashing signal so other stages know that 813 // the ROB is in the process of squashing. 814 toIEW->commitInfo[tid].robSquashing = true; 815 816 toIEW->commitInfo[tid].branchMispredict = 817 fromIEW->branchMispredict[tid]; |
817 | 818 toIEW->commitInfo[tid].mispredictInst = 819 fromIEW->mispredictInst[tid]; |
818 toIEW->commitInfo[tid].branchTaken = 819 fromIEW->branchTaken[tid]; 820 821 toIEW->commitInfo[tid].pc = fromIEW->pc[tid]; 822 823 toIEW->commitInfo[tid].mispredPC = fromIEW->mispredPC[tid]; 824 825 if (toIEW->commitInfo[tid].branchMispredict) { --- 601 unchanged lines hidden --- | 820 toIEW->commitInfo[tid].branchTaken = 821 fromIEW->branchTaken[tid]; 822 823 toIEW->commitInfo[tid].pc = fromIEW->pc[tid]; 824 825 toIEW->commitInfo[tid].mispredPC = fromIEW->mispredPC[tid]; 826 827 if (toIEW->commitInfo[tid].branchMispredict) { --- 601 unchanged lines hidden --- |