Lines Matching defs:FP16_EXP_INF

79 #define FP16_EXP_INF ((1ULL << FP16_EXP_BITS) - 1)
338 return fp16_pack(sgn, FP16_EXP_INF - 1, -1);
356 return fp16_pack(sgn, FP16_EXP_INF, 0);
374 return fp16_pack(0, FP16_EXP_INF, 1ULL << (FP16_MANT_BITS - 1));
451 return exp == FP16_EXP_INF && FP16_MANT(mnt);
487 return exp == FP16_EXP_INF && (mnt >> (FP16_MANT_BITS - 1) & 1);
505 return exp == FP16_EXP_INF && !FP16_MANT(mnt);
761 if (biased_exp >= (int)FP16_EXP_INF) {
771 if (biased_exp >= (int)FP16_EXP_INF + 1) {
773 return fp16_pack(sgn, FP16_EXP_INF, -1);
1224 if (a_exp == FP16_EXP_INF && b_exp == FP16_EXP_INF && a_sgn != b_sgn) {
1227 } else if (a_exp == FP16_EXP_INF) {
1229 } else if (b_exp == FP16_EXP_INF) {
1403 if ((a_exp == FP16_EXP_INF && !b_mnt) ||
1404 (b_exp == FP16_EXP_INF && !a_mnt)) {
1407 } else if (a_exp == FP16_EXP_INF || b_exp == FP16_EXP_INF) {
1526 if ((b_exp == FP16_EXP_INF && !c_mnt) ||
1527 (c_exp == FP16_EXP_INF && !b_mnt) ||
1528 (a_exp == FP16_EXP_INF &&
1529 (b_exp == FP16_EXP_INF || c_exp == FP16_EXP_INF) &&
1534 if (a_exp == FP16_EXP_INF)
1536 if (b_exp == FP16_EXP_INF || c_exp == FP16_EXP_INF)
1775 if ((a_exp == FP16_EXP_INF && b_exp == FP16_EXP_INF) ||
1780 if (a_exp == FP16_EXP_INF || !b_mnt) {
1781 if (a_exp != FP16_EXP_INF)
1785 if (!a_mnt || b_exp == FP16_EXP_INF)
1942 if (a_exp == FP16_EXP_INF) {
2041 if (a_exp == FP16_EXP_INF && !a_sgn)
2512 return fp16_pack(op >> (FP32_BITS - 1), FP16_EXP_INF,
2520 return fp16_pack(op >> (FP64_BITS - 1), FP16_EXP_INF,
2731 } else if (exp == FP16_EXP_INF && !fpscr.ahp) {
2808 } else if (exp == FP16_EXP_INF && !fpscr.ahp) {
3396 if ((exp1 == FP16_EXP_INF && !mnt2) ||
3397 (exp2 == FP16_EXP_INF && !mnt1)) {
3399 } else if (exp1 == FP16_EXP_INF || exp2 == FP16_EXP_INF) {
3534 } else if (exp == FP16_EXP_INF) {
3635 if ((exp1 == FP16_EXP_INF && !mnt2) ||
3636 (exp2 == FP16_EXP_INF && !mnt1)) {
3638 } else if (exp1 == FP16_EXP_INF || exp2 == FP16_EXP_INF) {
3723 } else if (exp == FP16_EXP_INF) {
3911 if ((exp1 == FP16_EXP_INF && !mnt2) ||
3912 (exp2 == FP16_EXP_INF && !mnt1)) {
3914 } else if (exp1 == FP16_EXP_INF || exp2 == FP16_EXP_INF) {
4002 result = fp16_pack(sgn, FP16_EXP_INF - 1, 0);
4004 result = fp16_pack(sgn, exp ^ FP16_EXP_INF, 0);
4083 } else if (exp == FP16_EXP_INF) {
4671 if (exp == FP16_EXP_INF)
4759 if (exp == FP16_EXP_INF)