gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
utility.hh File Reference
#include "cpu/static_inst.hh"
#include "cpu/thread_context.hh"
#include "sim/full_system.hh"

Go to the source code of this file.

Namespaces

 X86ISA
 This is exposed globally, independent of the ISA.
 

Functions

PCState X86ISA::buildRetPC (const PCState &curPC, const PCState &callPC)
 
uint64_t X86ISA::getArgument (ThreadContext *tc, int &number, uint16_t size, bool fp)
 
static bool X86ISA::inUserMode (ThreadContext *tc)
 
template<class TC >
void X86ISA::zeroRegisters (TC *tc)
 Function to insure ISA semantics about 0 registers. More...
 
void X86ISA::initCPU (ThreadContext *tc, int cpuId)
 
void X86ISA::startupCPU (ThreadContext *tc, int cpuId)
 
void X86ISA::copyRegs (ThreadContext *src, ThreadContext *dest)
 
void X86ISA::copyMiscRegs (ThreadContext *src, ThreadContext *dest)
 
void X86ISA::skipFunction (ThreadContext *tc)
 
void X86ISA::advancePC (PCState &pc, const StaticInstPtr &inst)
 
uint64_t X86ISA::getExecutingAsid (ThreadContext *tc)
 
uint64_t X86ISA::getRFlags (ThreadContext *tc)
 Reconstruct the rflags register from the internal gem5 register state. More...
 
void X86ISA::setRFlags (ThreadContext *tc, uint64_t val)
 Set update the rflags register and internal gem5 state. More...
 
uint64_t X86ISA::getDoubleBits (double val)
 Extract the bit string representing a double value. More...
 
uint8_t X86ISA::convX87TagsToXTags (uint16_t ftw)
 Convert an x87 tag word to abridged tag format. More...
 
uint16_t X86ISA::convX87XTagsToTags (uint8_t ftwx)
 Convert an x87 xtag word to normal tags format. More...
 
uint16_t X86ISA::genX87Tags (uint16_t ftw, uint8_t top, int8_t spm)
 Generate and updated x87 tag register after a push/pop operation. More...
 
double X86ISA::loadFloat80 (const void *mem)
 Load an 80-bit float from memory and convert it to double. More...
 
void X86ISA::storeFloat80 (void *mem, double value)
 Convert and store a double as an 80-bit float. More...
 

Generated on Fri Jun 9 2017 13:03:55 for gem5 by doxygen 1.8.6