Prefetcher.py (13772:31b71dadc472) Prefetcher.py (13786:860c780d9f30)
1# Copyright (c) 2012, 2014 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 394 unchanged lines hidden (view full) ---

403 type = 'SBOOEPrefetcher'
404 cxx_class = 'SBOOEPrefetcher'
405 cxx_header = "mem/cache/prefetch/sbooe.hh"
406 latency_buffer_size = Param.Int(32, "Entries in the latency buffer")
407 sequential_prefetchers = Param.Int(9, "Number of sequential prefetchers")
408 sandbox_entries = Param.Int(1024, "Size of the address buffer")
409 score_threshold_pct = Param.Percent(25, "Min. threshold to issue a \
410 prefetch. The value is the percentage of sandbox entries to use")
1# Copyright (c) 2012, 2014 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 394 unchanged lines hidden (view full) ---

403 type = 'SBOOEPrefetcher'
404 cxx_class = 'SBOOEPrefetcher'
405 cxx_header = "mem/cache/prefetch/sbooe.hh"
406 latency_buffer_size = Param.Int(32, "Entries in the latency buffer")
407 sequential_prefetchers = Param.Int(9, "Number of sequential prefetchers")
408 sandbox_entries = Param.Int(1024, "Size of the address buffer")
409 score_threshold_pct = Param.Percent(25, "Min. threshold to issue a \
410 prefetch. The value is the percentage of sandbox entries to use")
411
412class STeMSPrefetcher(QueuedPrefetcher):
413 type = "STeMSPrefetcher"
414 cxx_class = "STeMSPrefetcher"
415 cxx_header = "mem/cache/prefetch/spatio_temporal_memory_streaming.hh"
416
417 spatial_region_size = Param.MemorySize("2kB",
418 "Memory covered by a hot zone")
419 active_generation_table_entries = Param.MemorySize("64",
420 "Number of entries in the active generation table")
421 active_generation_table_assoc = Param.Unsigned(64,
422 "Associativity of the active generation table")
423 active_generation_table_indexing_policy = Param.BaseIndexingPolicy(
424 SetAssociative(entry_size = 1,
425 assoc = Parent.active_generation_table_assoc,
426 size = Parent.active_generation_table_entries),
427 "Indexing policy of the active generation table")
428 active_generation_table_replacement_policy = Param.BaseReplacementPolicy(
429 LRURP(), "Replacement policy of the active generation table")
430
431 pattern_sequence_table_entries = Param.MemorySize("16384",
432 "Number of entries in the pattern sequence table")
433 pattern_sequence_table_assoc = Param.Unsigned(16384,
434 "Associativity of the pattern sequence table")
435 pattern_sequence_table_indexing_policy = Param.BaseIndexingPolicy(
436 SetAssociative(entry_size = 1,
437 assoc = Parent.pattern_sequence_table_assoc,
438 size = Parent.pattern_sequence_table_entries),
439 "Indexing policy of the pattern sequence table")
440 pattern_sequence_table_replacement_policy = Param.BaseReplacementPolicy(
441 LRURP(), "Replacement policy of the pattern sequence table")
442
443 region_miss_order_buffer_entries = Param.Unsigned(131072,
444 "Number of entries of the Region Miss Order Buffer")
445 reconstruction_entries = Param.Unsigned(256,
446 "Number of reconstruction entries")