gem5  v22.0.0.2
Classes | Public Member Functions | Private Attributes | List of all members
gem5::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

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

Detailed Description

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

Definition at line 43 of file decode_cache.hh.

Member Function Documentation

◆ decode()

template<typename Decoder , typename EMI >
StaticInstPtr gem5::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 59 of file decode_cache.hh.

Member Data Documentation

◆ decodePages

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

◆ instMap

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

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

Generated on Thu Jul 28 2022 13:34:06 for gem5 by doxygen 1.8.17