fetch_impl.hh (11435:0f1b46dde3fa) | fetch_impl.hh (11650:fe601d7bd955) |
---|---|
1/* 2 * Copyright (c) 2010-2014 ARM Limited 3 * Copyright (c) 2012-2013 AMD 4 * All rights reserved. 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 410 unchanged lines hidden (view full) --- 419 delete pkt; 420 memReq[tid] = NULL; 421} 422 423template <class Impl> 424void 425DefaultFetch<Impl>::drainResume() 426{ | 1/* 2 * Copyright (c) 2010-2014 ARM Limited 3 * Copyright (c) 2012-2013 AMD 4 * All rights reserved. 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 410 unchanged lines hidden (view full) --- 419 delete pkt; 420 memReq[tid] = NULL; 421} 422 423template <class Impl> 424void 425DefaultFetch<Impl>::drainResume() 426{ |
427 for (ThreadID i = 0; i < numThreads; ++i) | 427 for (ThreadID i = 0; i < numThreads; ++i) { 428 stalls[i].decode = false; |
428 stalls[i].drain = false; | 429 stalls[i].drain = false; |
430 } |
|
429} 430 431template <class Impl> 432void 433DefaultFetch<Impl>::drainSanityCheck() const 434{ 435 assert(isDrained()); 436 assert(retryPkt == NULL); --- 1254 unchanged lines hidden --- | 431} 432 433template <class Impl> 434void 435DefaultFetch<Impl>::drainSanityCheck() const 436{ 437 assert(isDrained()); 438 assert(retryPkt == NULL); --- 1254 unchanged lines hidden --- |