Lines Matching refs:exp1
2413 int sgn1, exp1, sgn2, exp2, result;
2416 fp16_unpack(&sgn1, &exp1, &mnt1, op1, mode, &flags);
2419 if (fp16_is_NaN(exp1, mnt1) || fp16_is_NaN(exp2, mnt2)) {
2421 if (fp16_is_signalling_NaN(exp1, mnt1) ||
2429 } else if (exp1 != exp2) {
2430 result = sgn1 ^ (exp1 < exp2) ? 8 : 2;
2447 int sgn1, exp1, sgn2, exp2, result;
2450 fp32_unpack(&sgn1, &exp1, &mnt1, op1, mode, &flags);
2453 if (fp32_is_NaN(exp1, mnt1) || fp32_is_NaN(exp2, mnt2)) {
2455 if (fp32_is_signalling_NaN(exp1, mnt1) ||
2463 } else if (exp1 != exp2) {
2464 result = sgn1 ^ (exp1 < exp2) ? 8 : 2;
2481 int sgn1, exp1, sgn2, exp2, result;
2484 fp64_unpack(&sgn1, &exp1, &mnt1, op1, mode, &flags);
2487 if (fp64_is_NaN(exp1, mnt1) || fp64_is_NaN(exp2, mnt2)) {
2489 if (fp64_is_signalling_NaN(exp1, mnt1) ||
2497 } else if (exp1 != exp2) {
2498 result = sgn1 ^ (exp1 < exp2) ? 8 : 2;
3172 int sgn1, exp1, sgn2, exp2;
3175 fp16_unpack(&sgn1, &exp1, &mnt1, op1, mode, &flags);
3182 fp16_repack(sgn1, exp1, mnt1) :
3195 int sgn1, exp1, sgn2, exp2;
3198 fp32_unpack(&sgn1, &exp1, &mnt1, op1, mode, &flags);
3205 fp32_repack(sgn1, exp1, mnt1) :
3218 int sgn1, exp1, sgn2, exp2;
3221 fp64_unpack(&sgn1, &exp1, &mnt1, op1, mode, &flags);
3228 fp64_repack(sgn1, exp1, mnt1) :
3265 int sgn1, exp1, sgn2, exp2;
3268 fp16_unpack(&sgn1, &exp1, &mnt1, op1, mode, &flags);
3275 fp16_repack(sgn1, exp1, mnt1) :
3288 int sgn1, exp1, sgn2, exp2;
3291 fp32_unpack(&sgn1, &exp1, &mnt1, op1, mode, &flags);
3298 fp32_repack(sgn1, exp1, mnt1) :
3311 int sgn1, exp1, sgn2, exp2;
3314 fp64_unpack(&sgn1, &exp1, &mnt1, op1, mode, &flags);
3321 fp64_repack(sgn1, exp1, mnt1) :
3388 int sgn1, exp1, sgn2, exp2;
3391 fp16_unpack(&sgn1, &exp1, &mnt1, op1, mode, &flags);
3396 if ((exp1 == FP16_EXP_INF && !mnt2) ||
3399 } else if (exp1 == FP16_EXP_INF || exp2 == FP16_EXP_INF) {
3419 int sgn1, exp1, sgn2, exp2;
3422 fp32_unpack(&sgn1, &exp1, &mnt1, op1, mode, &flags);
3427 if ((exp1 == FP32_EXP_INF && !mnt2) ||
3430 } else if (exp1 == FP32_EXP_INF || exp2 == FP32_EXP_INF) {
3450 int sgn1, exp1, sgn2, exp2;
3453 fp64_unpack(&sgn1, &exp1, &mnt1, op1, mode, &flags);
3458 if ((exp1 == FP64_EXP_INF && !mnt2) ||
3461 } else if (exp1 == FP64_EXP_INF || exp2 == FP64_EXP_INF) {
3626 int sgn1, exp1, sgn2, exp2;
3630 fp16_unpack(&sgn1, &exp1, &mnt1, op1, mode, &flags);
3635 if ((exp1 == FP16_EXP_INF && !mnt2) ||
3638 } else if (exp1 == FP16_EXP_INF || exp2 == FP16_EXP_INF) {
3656 int sgn1, exp1, sgn2, exp2;
3660 fp32_unpack(&sgn1, &exp1, &mnt1, op1, mode, &flags);
3665 if ((exp1 == FP32_EXP_INF && !mnt2) ||
3668 } else if (exp1 == FP32_EXP_INF || exp2 == FP32_EXP_INF) {
3686 int sgn1, exp1, sgn2, exp2;
3690 fp64_unpack(&sgn1, &exp1, &mnt1, op1, mode, &flags);
3695 if ((exp1 == FP64_EXP_INF && !mnt2) ||
3698 } else if (exp1 == FP64_EXP_INF || exp2 == FP64_EXP_INF) {
3902 int sgn1, exp1, sgn2, exp2;
3906 fp16_unpack(&sgn1, &exp1, &mnt1, op1, mode, &flags);
3911 if ((exp1 == FP16_EXP_INF && !mnt2) ||
3914 } else if (exp1 == FP16_EXP_INF || exp2 == FP16_EXP_INF) {
3932 int sgn1, exp1, sgn2, exp2;
3936 fp32_unpack(&sgn1, &exp1, &mnt1, op1, mode, &flags);
3941 if ((exp1 == FP32_EXP_INF && !mnt2) ||
3944 } else if (exp1 == FP32_EXP_INF || exp2 == FP32_EXP_INF) {
3962 int sgn1, exp1, sgn2, exp2;
3966 fp64_unpack(&sgn1, &exp1, &mnt1, op1, mode, &flags);
3971 if ((exp1 == FP64_EXP_INF && !mnt2) ||
3974 } else if (exp1 == FP64_EXP_INF || exp2 == FP64_EXP_INF) {