gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 instMap
 
DecodeCache::AddrMap
< StaticInstPtr
decodePages
 

Detailed Description

Definition at line 47 of file decode_cache.hh.

Member Function Documentation

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 42 of file decode_cache.cc.

References decodePages, instMap, StaticInst::machInst, and PowerISA::si.

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

Member Data Documentation

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

Definition at line 51 of file decode_cache.hh.

Referenced by decode().

DecodeCache::InstMap GenericISA::BasicDecodeCache::instMap
private

Definition at line 50 of file decode_cache.hh.

Referenced by decode().


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

Generated on Fri Jun 9 2017 13:04:30 for gem5 by doxygen 1.8.6