Lines Matching refs:mant

21 	.mant = { .m64 = ~0 }
102 if (dest->mant.m64 < src->mant.m64) { in fp_fadd()
175 dest->mant.m64 = 0; in fp_fmul()
186 if ((long)dest->mant.m32[0] >= 0) in fp_fmul()
188 if ((long)src->mant.m32[0] >= 0) in fp_fmul()
244 dest->mant.m64 = 0; in fp_fdiv()
262 dest->mant.m64 = 0; in fp_fdiv()
272 if ((long)dest->mant.m32[0] >= 0) in fp_fdiv()
274 if ((long)src->mant.m32[0] >= 0) in fp_fdiv()
331 dest->mant.m64 = 0; in fp_fsglmul()
340 fp_mul64(dest->mant.m32[0], dest->mant.m32[1], in fp_fsglmul()
341 dest->mant.m32[0] & 0xffffff00, in fp_fsglmul()
342 src->mant.m32[0] & 0xffffff00); in fp_fsglmul()
380 dest->mant.m64 = 0; in fp_fsgldiv()
398 dest->mant.m64 = 0; in fp_fsgldiv()
405 dest->mant.m32[0] &= 0xffffff00; in fp_fsgldiv()
406 src->mant.m32[0] &= 0xffffff00; in fp_fsgldiv()
409 if (dest->mant.m32[0] >= src->mant.m32[0]) { in fp_fsgldiv()
410 fp_sub64(dest->mant, src->mant); in fp_fsgldiv()
411 fp_div64(quot, rem, dest->mant.m32[0], 0, src->mant.m32[0]); in fp_fsgldiv()
412 dest->mant.m32[0] = 0x80000000 | (quot >> 1); in fp_fsgldiv()
413 dest->mant.m32[1] = (quot & 1) | rem; /* only for rounding */ in fp_fsgldiv()
415 fp_div64(quot, rem, dest->mant.m32[0], 0, src->mant.m32[0]); in fp_fsgldiv()
416 dest->mant.m32[0] = quot; in fp_fsgldiv()
417 dest->mant.m32[1] = rem; /* only for rounding */ in fp_fsgldiv()
453 oldmant = dest->mant; in fp_roundint()
456 dest->mant.m64 = 0; in fp_roundint()
459 dest->mant.m32[0] &= 0xffffffffU << (0x401e - dest->exp); in fp_roundint()
460 dest->mant.m32[1] = 0; in fp_roundint()
461 if (oldmant.m64 == dest->mant.m64) in fp_roundint()
465 dest->mant.m32[1] &= 0xffffffffU << (0x403e - dest->exp); in fp_roundint()
466 if (oldmant.m32[1] == dest->mant.m32[1]) in fp_roundint()
541 dest->mant.m64 = 1ULL << 63; in fp_roundint()
545 if (dest->mant.m32[0] += mask) in fp_roundint()
547 dest->mant.m32[0] = 0x80000000; in fp_roundint()
552 if (dest->mant.m32[1] += mask) in fp_roundint()
554 if (dest->mant.m32[0] += 1) in fp_roundint()
556 dest->mant.m32[0] = 0x80000000; in fp_roundint()
589 fp_set_quotient((dest->mant.m64 & 0x7f) | (dest->sign << 7)); in modrem_kernel()