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
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];
817
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 ---
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
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];
817
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 ---