Lines Matching refs:bSig
227 bits64 aSig, bSig, zSig; in subFloat64Sigs() local
232 bSig = extractFloat64Frac(b); in subFloat64Sigs()
236 bSig <<= 10; in subFloat64Sigs()
245 if (bSig < aSig) in subFloat64Sigs()
247 if (aSig < bSig) in subFloat64Sigs()
260 bSig |= LIT64(0x4000000000000000); in subFloat64Sigs()
262 zSig = bSig - aSig; in subFloat64Sigs()
273 bSig |= LIT64(0x4000000000000000); in subFloat64Sigs()
275 shift64RightJamming(bSig, expDiff, &bSig); in subFloat64Sigs()
278 zSig = aSig - bSig; in subFloat64Sigs()
288 bits64 aSig, bSig, zSig; in addFloat64Sigs() local
293 bSig = extractFloat64Frac(b); in addFloat64Sigs()
297 bSig <<= 9; in addFloat64Sigs()
305 bSig |= LIT64(0x2000000000000000); in addFloat64Sigs()
307 shift64RightJamming(bSig, expDiff, &bSig); in addFloat64Sigs()
325 return packFloat64(zSign, 0, (aSig + bSig) >> 9); in addFloat64Sigs()
326 zSig = LIT64(0x4000000000000000) + aSig + bSig; in addFloat64Sigs()
331 zSig = (aSig + bSig) << 1; in addFloat64Sigs()
334 zSig = aSig + bSig; in addFloat64Sigs()
457 bits32 aSig, bSig, zSig; in subFloat32Sigs() local
462 bSig = extractFloat32Frac(b); in subFloat32Sigs()
466 bSig <<= 7; in subFloat32Sigs()
475 if (bSig < aSig) in subFloat32Sigs()
477 if (aSig < bSig) in subFloat32Sigs()
490 bSig |= 0x40000000; in subFloat32Sigs()
492 zSig = bSig - aSig; in subFloat32Sigs()
503 bSig |= 0x40000000; in subFloat32Sigs()
505 shift32RightJamming(bSig, expDiff, &bSig); in subFloat32Sigs()
508 zSig = aSig - bSig; in subFloat32Sigs()
519 bits32 aSig, bSig, zSig; in addFloat32Sigs() local
524 bSig = extractFloat32Frac(b); in addFloat32Sigs()
528 bSig <<= 6; in addFloat32Sigs()
536 bSig |= 0x20000000; in addFloat32Sigs()
538 shift32RightJamming(bSig, expDiff, &bSig); in addFloat32Sigs()
556 return packFloat32(zSign, 0, (aSig + bSig) >> 6); in addFloat32Sigs()
557 zSig = 0x40000000 + aSig + bSig; in addFloat32Sigs()
562 zSig = (aSig + bSig) << 1; in addFloat32Sigs()
565 zSig = aSig + bSig; in addFloat32Sigs()
720 bits64 aSig, bSig, zSig; in float64_div() local
727 bSig = extractFloat64Frac(b); in float64_div()
740 if (bSig == 0) { in float64_div()
746 normalizeFloat64Subnormal(bSig, &bExp, &bSig); in float64_div()
755 bSig = (bSig | LIT64(0x0010000000000000)) << 11; in float64_div()
756 if (bSig <= (aSig + aSig)) { in float64_div()
760 zSig = estimateDiv128To64(aSig, 0, bSig); in float64_div()
762 mul64To128(bSig, zSig, &term0, &term1); in float64_div()
766 add128(rem0, rem1, 0, bSig, &rem0, &rem1); in float64_div()
778 bits32 aSig, bSig; in float32_div() local
784 bSig = extractFloat32Frac(b); in float32_div()
797 if (bSig == 0) { in float32_div()
800 normalizeFloat32Subnormal(bSig, &bExp, &bSig); in float32_div()
809 bSig = (bSig | 0x00800000) << 8; in float32_div()
810 if (bSig <= (aSig + aSig)) { in float32_div()
815 do_div(zSig, bSig); in float32_div()
818 zSig |= (((bits64) bSig) * zSig != ((bits64) aSig) << 32); in float32_div()
828 unsigned int aSig, bSig; in float32_mul() local
835 bSig = extractFloat32Frac(b); in float32_mul()
845 if (bSig == 0) in float32_mul()
847 normalizeFloat32Subnormal(bSig, &bExp, &bSig); in float32_mul()
849 if ((bExp == 0xff && bSig == 0) || (aExp == 0xff && aSig == 0)) in float32_mul()
854 bSig = (bSig | 0x00800000) << 8; in float32_mul()
855 shift64RightJamming(((unsigned long long)aSig) * bSig, 32, &zSig64); in float32_mul()
869 unsigned long long int aSig, bSig, zSig0, zSig1; in float64_mul() local
874 bSig = extractFloat64Frac(b); in float64_mul()
885 if (bSig == 0) in float64_mul()
887 normalizeFloat64Subnormal(bSig, &bExp, &bSig); in float64_mul()
889 if ((aExp == 0x7ff && aSig == 0) || (bExp == 0x7ff && bSig == 0)) in float64_mul()
894 bSig = (bSig | 0x0010000000000000LL) << 11; in float64_mul()
895 mul64To128(aSig, bSig, &zSig0, &zSig1); in float64_mul()