1 2/* 3 * Copyright (c) 2010-2014 ARM Limited 4 * Copyright (c) 2013 Advanced Micro Devices, Inc. 5 * All rights reserved 6 * 7 * The license below extends only to copyright in the software and shall 8 * not be construed as granting a license to any other intellectual --- 421 unchanged lines hidden (view full) --- 430 return SQEntries - stores - 1; 431 432 } 433 434template <class Impl> 435void 436LSQUnit<Impl>::checkSnoop(PacketPtr pkt) 437{ |
438 // Should only ever get invalidations in here 439 assert(pkt->isInvalidate()); 440 |
441 int load_idx = loadHead; 442 DPRINTF(LSQUnit, "Got snoop for address %#x\n", pkt->getAddr()); 443 444 // Only Invalidate packet calls checkSnoop 445 assert(pkt->isInvalidate()); 446 for (int x = 0; x < cpu->numContexts(); x++) { 447 ThreadContext *tc = cpu->getContext(x); 448 bool no_squash = cpu->thread[x]->noSquashFromTC; --- 886 unchanged lines hidden --- |