set_associative.cc (13219:454ecc63338d) | set_associative.cc (13225:8d1621fc586e) |
---|---|
1/* 2 * Copyright (c) 2018 Inria 3 * Copyright (c) 2012-2014,2017 ARM Limited 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 --- 35 unchanged lines hidden (view full) --- 44 45/** 46 * @file 47 * Definitions of a set associative indexing policy. 48 */ 49 50#include "mem/cache/tags/indexing_policies/set_associative.hh" 51 | 1/* 2 * Copyright (c) 2018 Inria 3 * Copyright (c) 2012-2014,2017 ARM Limited 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 --- 35 unchanged lines hidden (view full) --- 44 45/** 46 * @file 47 * Definitions of a set associative indexing policy. 48 */ 49 50#include "mem/cache/tags/indexing_policies/set_associative.hh" 51 |
52#include "mem/cache/replacement_policies/base.hh" | 52#include "mem/cache/replacement_policies/replaceable_entry.hh" |
53 54SetAssociative::SetAssociative(const Params *p) 55 : BaseIndexingPolicy(p) 56{ 57} 58 59uint32_t 60SetAssociative::extractSet(const Addr addr) const --- 22 unchanged lines hidden --- | 53 54SetAssociative::SetAssociative(const Params *p) 55 : BaseIndexingPolicy(p) 56{ 57} 58 59uint32_t 60SetAssociative::extractSet(const Addr addr) const --- 22 unchanged lines hidden --- |