|
gem5
v19.0.0.0
|
A sparse map from an Addr to a Value, stored in page chunks. More...
#include <decode_cache.hh>
Classes | |
| struct | CachePage |
Public Member Functions | |
| AddrMap () | |
| Constructor. More... | |
| Value & | lookup (Addr addr) |
Protected Types | |
| typedef std::unordered_map< Addr, CachePage * > | PageMap |
| typedef PageMap::iterator | PageIt |
Protected Member Functions | |
| void | update (PageIt recentest) |
| Update the mini cache of recent lookups. More... | |
| CachePage * | getPage (Addr addr) |
| Attempt to find the CacheePage which goes with a particular address. More... | |
Protected Attributes | |
| PageIt | recent [2] |
| PageMap | pageMap |
A sparse map from an Addr to a Value, stored in page chunks.
Definition at line 55 of file decode_cache.hh.
|
protected |
Definition at line 64 of file decode_cache.hh.
|
protected |
Definition at line 63 of file decode_cache.hh.
|
inline |
Constructor.
Definition at line 116 of file decode_cache.hh.
|
inlineprotected |
Attempt to find the CacheePage which goes with a particular address.
First check the small cache of recent results, then actually look in the hash map.
| addr | The address to look up. |
Definition at line 83 of file decode_cache.hh.
|
inline |
Definition at line 122 of file decode_cache.hh.
Referenced by X86ISA::Decoder::doResetState().
|
inlineprotected |
Update the mini cache of recent lookups.
| recentest | The most recent result; |
Definition at line 72 of file decode_cache.hh.
|
protected |
Definition at line 67 of file decode_cache.hh.
|
protected |
Definition at line 66 of file decode_cache.hh.