cache.cc (3719:23ca579a363a) | cache.cc (3860:73e3642713a3) |
---|---|
1/* 2 * Copyright (c) 2004-2005 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; --- 24 unchanged lines hidden (view full) --- 33 34/** 35 * @file 36 * Cache template instantiations. 37 */ 38 39#include "mem/config/cache.hh" 40 | 1/* 2 * Copyright (c) 2004-2005 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; --- 24 unchanged lines hidden (view full) --- 33 34/** 35 * @file 36 * Cache template instantiations. 37 */ 38 39#include "mem/config/cache.hh" 40 |
41#include "mem/cache/tags/cache_tags.hh" 42 | |
43#if defined(USE_CACHE_LRU) 44#include "mem/cache/tags/lru.hh" 45#endif 46 47#if defined(USE_CACHE_FALRU) 48#include "mem/cache/tags/fa_lru.hh" 49#endif 50 --- 17 unchanged lines hidden (view full) --- 68 69#include "mem/cache/cache_impl.hh" 70 71// Template Instantiations 72#ifndef DOXYGEN_SHOULD_SKIP_THIS 73 74 75#if defined(USE_CACHE_FALRU) | 41#if defined(USE_CACHE_LRU) 42#include "mem/cache/tags/lru.hh" 43#endif 44 45#if defined(USE_CACHE_FALRU) 46#include "mem/cache/tags/fa_lru.hh" 47#endif 48 --- 17 unchanged lines hidden (view full) --- 66 67#include "mem/cache/cache_impl.hh" 68 69// Template Instantiations 70#ifndef DOXYGEN_SHOULD_SKIP_THIS 71 72 73#if defined(USE_CACHE_FALRU) |
76template class Cache<CacheTags<FALRU>, SimpleCoherence>; 77template class Cache<CacheTags<FALRU>, UniCoherence>; | 74template class Cache<FALRU, SimpleCoherence>; 75template class Cache<FALRU, UniCoherence>; |
78#endif 79 80#if defined(USE_CACHE_IIC) | 76#endif 77 78#if defined(USE_CACHE_IIC) |
81template class Cache<CacheTags<IIC>, SimpleCoherence>; 82template class Cache<CacheTags<IIC>, UniCoherence>; | 79template class Cache<IIC, SimpleCoherence>; 80template class Cache<IIC, UniCoherence>; |
83#endif 84 85#if defined(USE_CACHE_LRU) | 81#endif 82 83#if defined(USE_CACHE_LRU) |
86template class Cache<CacheTags<LRU>, SimpleCoherence>; 87template class Cache<CacheTags<LRU>, UniCoherence>; | 84template class Cache<LRU, SimpleCoherence>; 85template class Cache<LRU, UniCoherence>; |
88#endif 89 90#if defined(USE_CACHE_SPLIT) | 86#endif 87 88#if defined(USE_CACHE_SPLIT) |
91template class Cache<CacheTags<Split>, SimpleCoherence>; 92template class Cache<CacheTags<Split>, UniCoherence>; | 89template class Cache<Split, SimpleCoherence>; 90template class Cache<Split, UniCoherence>; |
93#endif 94 95#if defined(USE_CACHE_SPLIT_LIFO) | 91#endif 92 93#if defined(USE_CACHE_SPLIT_LIFO) |
96template class Cache<CacheTags<SplitLIFO>, SimpleCoherence>; 97template class Cache<CacheTags<SplitLIFO>, UniCoherence>; | 94template class Cache<SplitLIFO, SimpleCoherence>; 95template class Cache<SplitLIFO, UniCoherence>; |
98#endif 99 100#endif //DOXYGEN_SHOULD_SKIP_THIS | 96#endif 97 98#endif //DOXYGEN_SHOULD_SKIP_THIS |