47 typedef std::bitset<std::numeric_limits<unsigned long long>::digits>
VectorMask;
54 void init(uint64_t *_tcnt, uint32_t _numStages=0)
63 "Can't allocate resource because it is busy!!!");
98 uint32_t ai = *(uint32_t *)&x;
100 uint32_t
s = (ai >> 31) & 0x1;
101 uint32_t exp = (ai >> 23) & 0xff;
102 uint32_t mant = (ai >> 0) & 0x7fffff;
104 if (exp == 0 || exp <= 0x70) {
107 }
else if (exp == 0xff) {
109 }
else if (exp >= 0x8f) {
113 exp = exp - 0x7f + 0x0f;
124 operator float()
const
126 uint32_t
s = (
val >> 15) & 0x1;
127 uint32_t exp = (
val >> 10) & 0x1f;
128 uint32_t mant = (
val >> 0) & 0x3ff;
133 }
else if (exp == 0x1f) {
136 exp = exp - 0x0f + 0x7f;
142 val1 |= (mant << 13);
144 return *(
float*)&val1;
148 #endif // __MISC_HH__
std::bitset< std::numeric_limits< unsigned long long >::digits > VectorMask
std::shared_ptr< GPUDynInst > GPUDynInstPtr
void preset(uint32_t delay)
void init(uint64_t *_tcnt, uint32_t _numStages=0)
Float16(const Float16 &x)
fatal_if(p->js_features.size() > 16,"Too many job slot feature registers specified (%i)\n", p->js_features.size())