diff options
author | Kevin Lim <ktlim@umich.edu> | 2006-07-12 15:24:27 -0400 |
---|---|---|
committer | Kevin Lim <ktlim@umich.edu> | 2006-07-12 15:24:27 -0400 |
commit | 6d120b7912e554aaa44e28d1133f4bbfd9d04f66 (patch) | |
tree | f0339a87984f0927afa88edcc0561d0c69be35de /src/cpu/o3/fetch.hh | |
parent | 0b0cb2bca71acdab4a30acc639509030631f9dfd (diff) | |
download | gem5-6d120b7912e554aaa44e28d1133f4bbfd9d04f66.tar.xz |
Track the PC of the cache data stored in fetch so it doesn't access memory multiple times if information is already in fetch.
--HG--
extra : convert_revision : 00b160b255e998cf99286bcc21894110c7642624
Diffstat (limited to 'src/cpu/o3/fetch.hh')
-rw-r--r-- | src/cpu/o3/fetch.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cpu/o3/fetch.hh b/src/cpu/o3/fetch.hh index 85654cebc..0331cf07f 100644 --- a/src/cpu/o3/fetch.hh +++ b/src/cpu/o3/fetch.hh @@ -404,6 +404,9 @@ class DefaultFetch /** The cache line being fetched. */ uint8_t *cacheData[Impl::MaxThreads]; + /** The PC of the cacheline that has been loaded. */ + Addr cacheDataPC[Impl::MaxThreads]; + /** Size of instructions. */ int instSize; |