gem5 v24.0.0.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, gem5::GenericISA::BasicDecodeCache< Decoder, EMI >::decodePages, decoder, and gem5::GenericISA::BasicDecodeCache< Decoder, EMI >::instMap.

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 Tue Jun 18 2024 16:24:19 for gem5 by doxygen 1.11.0