Searched refs:FP16_EXP_BITS (Results 1 - 1 of 1) sorted by relevance

/gem5/src/arch/arm/insts/
H A Dfplib.cc71 #define FP16_EXP_BITS 5 macro
79 #define FP16_EXP_INF ((1ULL << FP16_EXP_BITS) - 1)
83 #define FP16_MANT_BITS (FP16_BITS - FP16_EXP_BITS - 1)
87 #define FP16_EXP(x) ((x) >> FP16_MANT_BITS & ((1ULL << FP16_EXP_BITS) - 1))
721 // The bottom FP16_EXP_BITS bits of mnt are orred together:
722 mnt = (4ULL << FP16_MANT_BITS | mnt >> (FP16_EXP_BITS - 1) |
723 ((mnt & ((1ULL << FP16_EXP_BITS) - 1)) != 0));
1264 return fp16_round(x_sgn, x_exp + FP16_EXP_BITS - 3, x_mnt << 1,
1415 x_exp = a_exp + b_exp - FP16_EXP_BIAS + 2 * FP16_EXP_BITS + 1;
1542 x_exp = a_exp + 2 * FP16_EXP_BITS
[all...]

Completed in 15 milliseconds