gem5 v24.0.0.0
|
#include <emulenv.hh>
Public Member Functions | |
EmulEnv (RegIndex _reg, RegIndex _regm, int _dataSize, int _addressSize, int _stackSize) | |
void | doModRM (const ExtMachInst &machInst) |
void | setSeg (const ExtMachInst &machInst) |
Public Attributes | |
RegIndex | reg |
RegIndex | regm |
int | seg |
uint8_t | scale |
RegId | index |
RegId | base |
int | dataSize |
int | addressSize |
int | stackSize |
Definition at line 50 of file emulenv.hh.
|
inline |
Definition at line 62 of file emulenv.hh.
void gem5::EmulEnv::doModRM | ( | const ExtMachInst & | machInst | ) |
Definition at line 49 of file emulenv.cc.
References gem5::X86ISA::ExtMachInst::addrSize, base, gem5::X86ISA::segment_idx::Ds, index, gem5::X86ISA::intRegClass, gem5::X86ISA::ExtMachInst::legacy, gem5::X86ISA::ExtMachInst::modRM, gem5::X86ISA::int_reg::Rbp, gem5::X86ISA::int_reg::Rbx, gem5::X86ISA::int_reg::Rdi, gem5::X86ISA::ExtMachInst::rex, gem5::X86ISA::rm, gem5::X86ISA::int_reg::Rsi, gem5::X86ISA::int_reg::Rsp, scale, seg, gem5::X86ISA::ExtMachInst::sib, gem5::X86ISA::segment_idx::Ss, and gem5::X86ISA::int_reg::T0.
void gem5::EmulEnv::setSeg | ( | const ExtMachInst & | machInst | ) |
Definition at line 117 of file emulenv.cc.
References gem5::X86ISA::segment_idx::Ds, gem5::X86ISA::ExtMachInst::legacy, and seg.
int gem5::X86ISA::EmulEnv::addressSize |
Definition at line 59 of file emulenv.hh.
RegId gem5::X86ISA::EmulEnv::base |
Definition at line 57 of file emulenv.hh.
Referenced by doModRM().
int gem5::X86ISA::EmulEnv::dataSize |
Definition at line 58 of file emulenv.hh.
RegId gem5::X86ISA::EmulEnv::index |
Definition at line 56 of file emulenv.hh.
Referenced by doModRM().
RegIndex gem5::X86ISA::EmulEnv::reg |
Definition at line 52 of file emulenv.hh.
RegIndex gem5::X86ISA::EmulEnv::regm |
Definition at line 53 of file emulenv.hh.
uint8_t gem5::X86ISA::EmulEnv::scale |
Definition at line 55 of file emulenv.hh.
Referenced by doModRM().
int gem5::X86ISA::EmulEnv::seg |
Definition at line 54 of file emulenv.hh.
int gem5::X86ISA::EmulEnv::stackSize |
Definition at line 60 of file emulenv.hh.