gem5  v20.1.0.0
Public Member Functions | Private Attributes | List of all members
GenericISA::BasicDecodeCache Class Reference

#include <decode_cache.hh>

Public Member Functions

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

Private Attributes

DecodeCache::InstMap< TheISA::ExtMachInst > instMap
 
DecodeCache::AddrMap< StaticInstPtrdecodePages
 

Detailed Description

Definition at line 45 of file decode_cache.hh.

Member Function Documentation

◆ decode()

StaticInstPtr GenericISA::BasicDecodeCache::decode ( TheISA::Decoder *const  decoder,
TheISA::ExtMachInst  mach_inst,
Addr  addr 
)

Decode a machine instruction.

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

Definition at line 40 of file decode_cache.cc.

References addr, decodePages, decoder, instMap, and ArmISA::si.

Referenced by MipsISA::Decoder::decode(), PowerISA::Decoder::decode(), SparcISA::Decoder::decode(), and ArmISA::Decoder::decode().

Member Data Documentation

◆ decodePages

DecodeCache::AddrMap<StaticInstPtr> GenericISA::BasicDecodeCache::decodePages
private

Definition at line 49 of file decode_cache.hh.

Referenced by decode().

◆ instMap

DecodeCache::InstMap<TheISA::ExtMachInst> GenericISA::BasicDecodeCache::instMap
private

Definition at line 48 of file decode_cache.hh.

Referenced by decode().


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

Generated on Wed Sep 30 2020 14:03:05 for gem5 by doxygen 1.8.17