Go to the documentation of this file.
49 typedef std::bitset<std::numeric_limits<unsigned long long>::digits>
87 "Can't allocate resource because it is busy!!!");
129 uint32_t ai = *(
reinterpret_cast<uint32_t *
>(&
x));
131 uint32_t
s = (ai >> 31) & 0x1;
132 uint32_t exp = (ai >> 23) & 0xff;
133 uint32_t mant = (ai >> 0) & 0x7fffff;
135 if (exp == 0 || exp <= 0x70) {
138 }
else if (exp == 0xff) {
140 }
else if (exp >= 0x8f) {
144 exp = exp - 0x7f + 0x0f;
155 operator float()
const
157 uint32_t
s = (
val >> 15) & 0x1;
158 uint32_t exp = (
val >> 10) & 0x1f;
159 uint32_t mant = (
val >> 0) & 0x3ff;
164 }
else if (exp == 0x1f) {
167 exp = exp - 0x0f + 0x7f;
173 val1 |= (mant << 13);
175 return *(
reinterpret_cast<float *
>(&val1));
181 #endif // __MISC_HH__
std::bitset< std::numeric_limits< unsigned long long >::digits > VectorMask
ClockedObject * clockedObject
Cycles is a wrapper class for representing cycle counts, i.e.
void init(ClockedObject *_clockedObject, uint64_t _numStages=0)
void preset(uint64_t delay)
WaitClass(ClockedObject *_clockedObject, uint64_t _numStages=0)
std::shared_ptr< GPUDynInst > GPUDynInstPtr
The ClockedObject class extends the SimObject with a clock and accessor functions to relate ticks to ...
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...
Float16(const Float16 &x)
#define fatal_if(cond,...)
Conditional fatal macro that checks the supplied condition and only causes a fatal error if the condi...
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
bool rdy(Cycles cycles=Cycles(0)) const
Generated on Tue Sep 21 2021 12:24:35 for gem5 by doxygen 1.8.17