31 #ifndef __ARCH_X86_ISA_HH__ 32 #define __ARCH_X86_ISA_HH__ 57 SegAttr csAttr, SegAttr ssAttr, RFLAGS rflags,
66 const Params *
params()
const;
RegVal readMiscReg(int miscReg, ThreadContext *tc)
void serialize(CheckpointOut &cp) const override
Serialize an object.
int flattenVecIndex(int reg) const
const Params * params() const
int flattenIntIndex(int reg) const
void updateHandyM5Reg(Efer efer, CR0 cr0, SegAttr csAttr, SegAttr ssAttr, RFLAGS rflags, ThreadContext *tc)
int flattenCCIndex(int reg) const
ThreadContext is the external interface to all thread state for anything outside of the CPU...
void setMiscReg(int miscReg, RegVal val, ThreadContext *tc)
RegVal readMiscRegNoEffect(int miscReg) const
void unserialize(CheckpointIn &cp) override
Unserialize an object.
void setMiscRegNoEffect(int miscReg, RegVal val)
RegId flattenRegId(const RegId ®Id) const
static FloatRegIndex FLOATREG_STACK(int index, int top)
Defines global host-dependent types: Counter, Tick, and (indirectly) {int,uint}{8,16,32,64}_t.
RegVal regVal[NUM_MISCREGS]
int flattenVecPredIndex(int reg) const
static const IntRegIndex IntFoldBit
std::ostream CheckpointOut
This is exposed globally, independent of the ISA.
const RegClass & classValue() const
Class accessor.
const RegIndex & index() const
Index accessors.
Register ID: describe an architectural register with its class and index.
int flattenMiscIndex(int reg) const
int flattenFloatIndex(int reg) const
int flattenVecElemIndex(int reg) const
virtual void startup()
startup() is the final initialization call before simulation.