fetch_impl.hh (8793:5f25086326ac) fetch_impl.hh (8797:3202eb01e01e)
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

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

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

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

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

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

--- 591 unchanged lines hidden ---