Add more prefetcher support.
SConscript: Add GHB prefetcher to build list python/m5/objects/BaseCache.mpy: Add parameters about when to remove prefetches and wether or not to use cpuid to differentiate access patterns --HG-- extra : convert_revision : 1d3fef21910f2f34b8c28d01b5f6e86eef53357c
This commit is contained in:
parent
a07340f6cd
commit
1b2c81b9d7
2 changed files with 5 additions and 0 deletions
|
@ -166,6 +166,7 @@ base_sources = Split('''
|
||||||
mem/cache/miss/mshr.cc
|
mem/cache/miss/mshr.cc
|
||||||
mem/cache/miss/mshr_queue.cc
|
mem/cache/miss/mshr_queue.cc
|
||||||
mem/cache/prefetch/base_prefetcher.cc
|
mem/cache/prefetch/base_prefetcher.cc
|
||||||
|
mem/cache/prefetch/ghb_prefetcher.cc
|
||||||
mem/cache/prefetch/prefetcher.cc
|
mem/cache/prefetch/prefetcher.cc
|
||||||
mem/cache/prefetch/stride_prefetcher.cc
|
mem/cache/prefetch/stride_prefetcher.cc
|
||||||
mem/cache/prefetch/tagged_prefetcher.cc
|
mem/cache/prefetch/tagged_prefetcher.cc
|
||||||
|
|
|
@ -54,3 +54,7 @@ simobj BaseCache(BaseMem):
|
||||||
"Latency of the prefetcher")
|
"Latency of the prefetcher")
|
||||||
prefetch_policy = Param.Prefetch('none',
|
prefetch_policy = Param.Prefetch('none',
|
||||||
"Type of prefetcher to use")
|
"Type of prefetcher to use")
|
||||||
|
prefetch_cache_check_push = Param.Bool(True,
|
||||||
|
"Check if in cash on push or pop of prefetch queue")
|
||||||
|
prefetch_use_cpu_id = Param.Bool(True,
|
||||||
|
"Use the CPU ID to seperate calculations of prefetches")
|
||||||
|
|
Loading…
Reference in a new issue