gem5 [DEVELOP-FOR-25.0]
Loading...
Searching...
No Matches
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.
 

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.

References gem5::X86ISA::addr, decodePages, decoder, and instMap.

Member Data Documentation

◆ decodePages

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

Definition at line 52 of file decode_cache.hh.

Referenced by decode().

◆ instMap

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

Definition at line 46 of file decode_cache.hh.

Referenced by decode().


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

Generated on Mon May 26 2025 09:19:32 for gem5 by doxygen 1.13.2