fetch_impl.hh (8541:27aaee8ec7cc) fetch_impl.hh (8641:4d3ecac1abec)
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

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

1048 tid);
1049 } else {
1050 branchPred.squash(fromDecode->decodeInfo[tid].doneSeqNum,
1051 tid);
1052 }
1053
1054 if (fetchStatus[tid] != Squashing) {
1055
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

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

1048 tid);
1049 } else {
1050 branchPred.squash(fromDecode->decodeInfo[tid].doneSeqNum,
1051 tid);
1052 }
1053
1054 if (fetchStatus[tid] != Squashing) {
1055
1056 TheISA::PCState nextPC = fromDecode->decodeInfo[tid].nextPC;
1057 DPRINTF(Fetch, "Squashing from decode with PC = %s\n", nextPC);
1056 DPRINTF(Fetch, "Squashing from decode with PC = %s\n",
1057 fromDecode->decodeInfo[tid].nextPC);
1058 // Squash unless we're already squashing
1059 squashFromDecode(fromDecode->decodeInfo[tid].nextPC,
1060 fromDecode->decodeInfo[tid].squashInst,
1061 fromDecode->decodeInfo[tid].doneSeqNum,
1062 tid);
1063
1064 return true;
1065 }

--- 591 unchanged lines hidden ---
1058 // Squash unless we're already squashing
1059 squashFromDecode(fromDecode->decodeInfo[tid].nextPC,
1060 fromDecode->decodeInfo[tid].squashInst,
1061 fromDecode->decodeInfo[tid].doneSeqNum,
1062 tid);
1063
1064 return true;
1065 }

--- 591 unchanged lines hidden ---