Go to the documentation of this file.
79 for (
auto n = 0;
n < NUM_ARCH_INTREGS;
n++) {
106 for (
auto n = 0;
n < NUM_ARCH_INTREGS;
n++) {
125 bool interrupt =
false;
127 uint64_t error_code = 0;
132 retry =
bits(tcreason, 15);
154 panic(
"Unknown HTM failure reason\n");
156 assert(!retry || !interrupt);
164 pcstateckpt.uReset();
165 pcstateckpt.advance();
virtual void setIntReg(RegIndex reg_idx, RegVal val)=0
virtual RegVal readMiscReg(RegIndex misc_reg)=0
virtual const TheISA::VecPredRegContainer & readVecPredReg(const RegId ®) const =0
void save(ThreadContext *tc) override
Every ISA implementing HTM support should override the save method.
constexpr void replaceBits(T &val, unsigned first, unsigned last, B bit_val)
A convenience function to replace bits first to last of val with bit_val in place.
virtual void restore(ThreadContext *tc, HtmFailureFaultCause cause)
Every ISA implementing HTM support should override the restore method.
virtual const TheISA::VecRegContainer & readVecReg(const RegId ®) const =0
ThreadContext is the external interface to all thread state for anything outside of the CPU.
GenericISA::DelaySlotPCState< 4 > PCState
std::array< VecRegContainer, NumVecRegs > z
constexpr T bits(T val, unsigned first, unsigned last)
Extract the bitfield from position 'first' to 'last' (inclusive) from 'val' and right justify it.
void reset() override
Resets the checkpoint once a transaction has completed.
virtual TheISA::PCState pcState() const =0
virtual RegVal readIntReg(RegIndex reg_idx) const =0
virtual void setVecPredReg(const RegId ®, const TheISA::VecPredRegContainer &val)=0
@ VecRegClass
Vector Register.
virtual void reset()
Resets the checkpoint once a transaction has completed.
std::array< RegVal, NUM_ARCH_INTREGS > x
virtual void setMiscReg(RegIndex misc_reg, RegVal val)=0
std::array< VecPredRegContainer, NumVecRegs > p
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
virtual void save(ThreadContext *tc)
Every ISA implementing HTM support should override the save method.
virtual void setVecReg(const RegId ®, const TheISA::VecRegContainer &val)=0
void restore(ThreadContext *tc, HtmFailureFaultCause cause) override
Every ISA implementing HTM support should override the restore method.
Register ID: describe an architectural register with its class and index.
#define panic(...)
This implements a cprintf based panic() function.
Generated on Tue Sep 21 2021 12:24:34 for gem5 by doxygen 1.8.17