lsq_unit_impl.hh (11356:a80884911971) lsq_unit_impl.hh (11357:6668387fa488)
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{
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
438 int load_idx = loadHead;
439 DPRINTF(LSQUnit, "Got snoop for address %#x\n", pkt->getAddr());
440
441 // Only Invalidate packet calls checkSnoop
442 assert(pkt->isInvalidate());
443 for (int x = 0; x < cpu->numContexts(); x++) {
444 ThreadContext *tc = cpu->getContext(x);
445 bool no_squash = cpu->thread[x]->noSquashFromTC;

--- 886 unchanged lines hidden ---
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 ---