commit_impl.hh (8834:21e8d54ecf07) commit_impl.hh (8842:a02932e2e73d)
1/*
1/*
2 * Copyright (c) 2010 ARM Limited
2 * Copyright (c) 2010-2011 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
9 * licensed hereunder. You may use the software subject to the license
10 * terms below provided that you ensure that this notice is replicated

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

863 toIEW->commitInfo[tid].robSquashing = true;
864
865 toIEW->commitInfo[tid].mispredictInst =
866 fromIEW->mispredictInst[tid];
867 toIEW->commitInfo[tid].branchTaken =
868 fromIEW->branchTaken[tid];
869 toIEW->commitInfo[tid].squashInst =
870 rob->findInst(tid, squashed_inst);
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
9 * licensed hereunder. You may use the software subject to the license
10 * terms below provided that you ensure that this notice is replicated

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

863 toIEW->commitInfo[tid].robSquashing = true;
864
865 toIEW->commitInfo[tid].mispredictInst =
866 fromIEW->mispredictInst[tid];
867 toIEW->commitInfo[tid].branchTaken =
868 fromIEW->branchTaken[tid];
869 toIEW->commitInfo[tid].squashInst =
870 rob->findInst(tid, squashed_inst);
871 if (toIEW->commitInfo[tid].mispredictInst) {
872 if (toIEW->commitInfo[tid].mispredictInst->isUncondCtrl()) {
873 toIEW->commitInfo[tid].branchTaken = true;
874 }
875 }
871
872 toIEW->commitInfo[tid].pc = fromIEW->pc[tid];
873
874 if (toIEW->commitInfo[tid].mispredictInst) {
875 ++branchMispredicts;
876 }
877 }
878

--- 649 unchanged lines hidden ---
876
877 toIEW->commitInfo[tid].pc = fromIEW->pc[tid];
878
879 if (toIEW->commitInfo[tid].mispredictInst) {
880 ++branchMispredicts;
881 }
882 }
883

--- 649 unchanged lines hidden ---