Go to the documentation of this file.
46 typedef std::bitset<std::numeric_limits<unsigned long long>::digits>
82 "Can't allocate resource because it is busy!!!");
124 uint32_t ai = *(
reinterpret_cast<uint32_t *
>(&
x));
126 uint32_t
s = (ai >> 31) & 0x1;
127 uint32_t exp = (ai >> 23) & 0xff;
128 uint32_t mant = (ai >> 0) & 0x7fffff;
130 if (exp == 0 || exp <= 0x70) {
133 }
else if (exp == 0xff) {
135 }
else if (exp >= 0x8f) {
139 exp = exp - 0x7f + 0x0f;
150 operator float()
const
152 uint32_t
s = (
val >> 15) & 0x1;
153 uint32_t exp = (
val >> 10) & 0x1f;
154 uint32_t mant = (
val >> 0) & 0x3ff;
159 }
else if (exp == 0x1f) {
162 exp = exp - 0x0f + 0x7f;
168 val1 |= (mant << 13);
170 return *(
reinterpret_cast<float *
>(&val1));
174 #endif // __MISC_HH__
void preset(uint64_t delay)
The ClockedObject class extends the SimObject with a clock and accessor functions to relate ticks to ...
bool rdy(Cycles cycles=Cycles(0)) const
ClockedObject * clockedObject
Tick clockEdge(Cycles cycles=Cycles(0)) const
Determine the tick when a cycle begins, by default the current one, but the argument also enables the...
void init(ClockedObject *_clockedObject, uint64_t _numStages=0)
Float16(const Float16 &x)
std::shared_ptr< GPUDynInst > GPUDynInstPtr
Cycles is a wrapper class for representing cycle counts, i.e.
std::bitset< std::numeric_limits< unsigned long long >::digits > VectorMask
#define fatal_if(cond,...)
Conditional fatal macro that checks the supplied condition and only causes a fatal error if the condi...
WaitClass(ClockedObject *_clockedObject, uint64_t _numStages=0)
Generated on Wed Sep 30 2020 14:02:00 for gem5 by doxygen 1.8.17