mem: Add additional tolerance to stride prefetcher
authorMitch Hayenga <mitch.hayenga+gem5@gmail.com>
Thu, 30 Jan 2014 05:21:26 +0000 (23:21 -0600)
committerMitch Hayenga <mitch.hayenga+gem5@gmail.com>
Thu, 30 Jan 2014 05:21:26 +0000 (23:21 -0600)
commit96317d466ea26955ce26f658f162755b39d3352e
tree2ac30c0120148197f833244b090de6f044f7d43c
parent771c864bf407b57bf91896f38e989e8a36cd9cd1
mem: Add additional tolerance to stride prefetcher
Forces the prefetcher to mispredict twice in a row before resetting the
confidence of prefetching.  This helps cases where a load PC strides by a
constant factor, however it may operate on different arrays at times.
Avoids the cost of retraining.  Primarily helps with small iteration loops.

Committed by: Nilay Vaish <nilay@cs.wisc.edu>
src/mem/cache/prefetch/stride.cc
src/mem/cache/prefetch/stride.hh