34 #ifndef __ARCH_MIPS_UTILITY_HH__
35 #define __ARCH_MIPS_UTILITY_HH__
80 if ((Stat & 0x10000006) == 0 &&
81 (Dbg & 0x40000000) == 0 &&
82 (Stat & 0x00000018) != 0) {
bool isQnan(void *val_ptr, int size)
bool isSnan(void *val_ptr, int size)
void skipFunction(ThreadContext *tc)
uint32_t genInvalidVector(uint32_t fcsr_bits)
void startupCPU(ThreadContext *tc, int cpuId)
double roundFP(double val, int digits)
uint32_t genCCVector(uint32_t fcsr, int cc_num, uint32_t cc_val)
double truncFP(double val)
uint64_t getExecutingAsid(ThreadContext *tc)
Addr TruncPage(Addr addr)
ThreadContext is the external interface to all thread state for anything outside of the CPU...
Addr RoundPage(Addr addr)
void initCPU(ThreadContext *tc, int cpuId)
uint64_t fpConvert(ConvertType cvt_type, double fp_val)
void advancePC(PCState &pc, const StaticInstPtr &inst)
bool isNan(void *val_ptr, int size)
Defines global host-dependent types: Counter, Tick, and (indirectly) {int,uint}{8,16,32,64}_t.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
bool getCondCode(uint32_t fcsr, int cc_idx)
virtual MiscReg readMiscReg(int misc_reg)=0
uint64_t getArgument(ThreadContext *tc, int &number, uint16_t size, bool fp)
void copyMiscRegs(ThreadContext *src, ThreadContext *dest)
PCState buildRetPC(const PCState &curPC, const PCState &callPC)
void zeroRegisters(CPU *cpu)
GenericISA::DelaySlotPCState< MachInst > PCState
void copyRegs(ThreadContext *src, ThreadContext *dest)
static bool inUserMode(ThreadContext *tc)