fetch_impl.hh (8138:f08692f2932e) | fetch_impl.hh (8205:7ecbffb674aa) |
---|---|
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 --- 807 unchanged lines hidden (view full) --- 816void 817DefaultFetch<Impl>::squash(const TheISA::PCState &newPC, 818 const InstSeqNum &seq_num, DynInstPtr &squashInst, 819 ThreadID tid) 820{ 821 DPRINTF(Fetch, "[tid:%u]: Squash from commit.\n", tid); 822 823 doSquash(newPC, tid); | 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 --- 807 unchanged lines hidden (view full) --- 816void 817DefaultFetch<Impl>::squash(const TheISA::PCState &newPC, 818 const InstSeqNum &seq_num, DynInstPtr &squashInst, 819 ThreadID tid) 820{ 821 DPRINTF(Fetch, "[tid:%u]: Squash from commit.\n", tid); 822 823 doSquash(newPC, tid); |
824 if (squashInst) 825 predecoder.reset(squashInst->staticInst->machInst); | |
826 827 // Tell the CPU to remove any instructions that are not in the ROB. 828 cpu->removeInstsNotInROB(tid); 829} 830 831template <class Impl> 832void 833DefaultFetch<Impl>::tick() --- 650 unchanged lines hidden --- | 824 825 // Tell the CPU to remove any instructions that are not in the ROB. 826 cpu->removeInstsNotInROB(tid); 827} 828 829template <class Impl> 830void 831DefaultFetch<Impl>::tick() --- 650 unchanged lines hidden --- |