fetch_impl.hh (4928:951bd17db218) | fetch_impl.hh (4986:b7c82ad6b3ef) |
---|---|
1/* 2 * Copyright (c) 2004-2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 350 unchanged lines hidden (view full) --- 359template<class Impl> 360void 361DefaultFetch<Impl>::processCacheCompletion(PacketPtr pkt) 362{ 363 unsigned tid = pkt->req->getThreadNum(); 364 365 DPRINTF(Fetch, "[tid:%u] Waking up from cache miss.\n",tid); 366 | 1/* 2 * Copyright (c) 2004-2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 350 unchanged lines hidden (view full) --- 359template<class Impl> 360void 361DefaultFetch<Impl>::processCacheCompletion(PacketPtr pkt) 362{ 363 unsigned tid = pkt->req->getThreadNum(); 364 365 DPRINTF(Fetch, "[tid:%u] Waking up from cache miss.\n",tid); 366 |
367 assert(!pkt->wasNacked()); 368 |
|
367 // Only change the status if it's still waiting on the icache access 368 // to return. 369 if (fetchStatus[tid] != IcacheWaitResponse || 370 pkt->req != memReq[tid] || 371 isSwitchedOut()) { 372 ++fetchIcacheSquashes; 373 delete pkt->req; 374 delete pkt; --- 1069 unchanged lines hidden --- | 369 // Only change the status if it's still waiting on the icache access 370 // to return. 371 if (fetchStatus[tid] != IcacheWaitResponse || 372 pkt->req != memReq[tid] || 373 isSwitchedOut()) { 374 ++fetchIcacheSquashes; 375 delete pkt->req; 376 delete pkt; --- 1069 unchanged lines hidden --- |