Go to the documentation of this file.
119 bool interrupt =
false;
121 uint64_t error_code = 0;
126 retry =
bits(15, tcreason);
148 panic(
"Unknown HTM failure reason\n");
150 assert(!retry || !interrupt);
158 pcstateckpt.uReset();
159 pcstateckpt.advance();
virtual const VecPredRegContainer & readVecPredReg(const RegId ®) const =0
void replaceBits(T &val, int first, int last, B bit_val)
A convenience function to replace bits first to last of val with bit_val in place.
void save(ThreadContext *tc) override
Every ISA implementing HTM support should override the save method.
virtual void setVecReg(const RegId ®, const VecRegContainer &val)=0
virtual void setIntReg(RegIndex reg_idx, RegVal val)=0
Register ID: describe an architectural register with its class and index.
ThreadContext is the external interface to all thread state for anything outside of the CPU.
std::array< RegVal, NumIntArchRegs > x
virtual void restore(ThreadContext *tc, HtmFailureFaultCause cause)
Every ISA implementing HTM support should override the restore method.
virtual const VecRegContainer & readVecReg(const RegId ®) const =0
void reset() override
Resets the checkpoint once a transaction has completed.
virtual TheISA::PCState pcState() const =0
std::array< VecPredRegContainer, NumVecRegs > p
@ VecRegClass
Vector Register.
GenericISA::DelaySlotPCState< MachInst > PCState
virtual RegVal readMiscReg(RegIndex misc_reg)=0
virtual void setMiscReg(RegIndex misc_reg, RegVal val)=0
virtual void setVecPredReg(const RegId ®, const VecPredRegContainer &val)=0
virtual void reset()
Resets the checkpoint once a transaction has completed.
virtual void save(ThreadContext *tc)
Every ISA implementing HTM support should override the save method.
std::array< VecRegContainer, NumVecRegs > z
virtual RegVal readIntReg(RegIndex reg_idx) const =0
void restore(ThreadContext *tc, HtmFailureFaultCause cause) override
Every ISA implementing HTM support should override the restore method.
#define panic(...)
This implements a cprintf based panic() function.
T bits(T val, int first, int last)
Extract the bitfield from position 'first' to 'last' (inclusive) from 'val' and right justify it.
Generated on Wed Sep 30 2020 14:02:00 for gem5 by doxygen 1.8.17