gem5  v21.0.1.0
Classes | Public Member Functions | Private Attributes | List of all members
GenericISA::BasicDecodeCache< Decoder, EMI > Class Template Reference

#include <decode_cache.hh>

Classes

struct  AddrMapEntry
 

Public Member Functions

StaticInstPtr decode (Decoder *const decoder, EMI mach_inst, Addr addr)
 Decode a machine instruction. More...
 

Private Attributes

DecodeCache::InstMap< EMI > instMap
 
DecodeCache::AddrMap< AddrMapEntrydecodePages
 

Detailed Description

template<typename Decoder, typename EMI>
class GenericISA::BasicDecodeCache< Decoder, EMI >

Definition at line 40 of file decode_cache.hh.

Member Function Documentation

◆ decode()

template<typename Decoder , typename EMI >
StaticInstPtr GenericISA::BasicDecodeCache< Decoder, EMI >::decode ( Decoder *const  decoder,
EMI  mach_inst,
Addr  addr 
)
inline

Decode a machine instruction.

Parameters
mach_instThe binary instruction to decode.
Return values
Apointer to the corresponding StaticInst object.

Definition at line 56 of file decode_cache.hh.

Member Data Documentation

◆ decodePages

template<typename Decoder , typename EMI >
DecodeCache::AddrMap<AddrMapEntry> GenericISA::BasicDecodeCache< Decoder, EMI >::decodePages
private

◆ instMap

template<typename Decoder , typename EMI >
DecodeCache::InstMap<EMI> GenericISA::BasicDecodeCache< Decoder, EMI >::instMap
private

The documentation for this class was generated from the following file:

Generated on Tue Jun 22 2021 15:29:08 for gem5 by doxygen 1.8.17