diff options
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/o3/fetch_impl.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cpu/o3/fetch_impl.hh b/src/cpu/o3/fetch_impl.hh index 0445de921..f6e46cc26 100644 --- a/src/cpu/o3/fetch_impl.hh +++ b/src/cpu/o3/fetch_impl.hh @@ -344,6 +344,11 @@ DefaultFetch<Impl>::resetStage() wroteToTimeBuffer = false; _status = Inactive; + + for (ThreadID tid = 0; tid < numThreads; tid++) { + cacheDataPC[tid] = 0; + cacheDataValid[tid] = false; + } } template<class Impl> |