Lines Matching refs:zSig1
566 struct roundingData *roundData, flag zSign, int32 zExp, bits64 zSig0, bits64 zSig1 in roundAndPackFloatx80() argument
588 zSig0 |= ( zSig1 != 0 ); in roundAndPackFloatx80()
644 increment = ( (sbits64) zSig1 < 0 ); in roundAndPackFloatx80()
651 increment = ( roundingMode == float_round_down ) && zSig1; in roundAndPackFloatx80()
654 increment = ( roundingMode == float_round_up ) && zSig1; in roundAndPackFloatx80()
682 shift64ExtraRightJamming( zSig0, zSig1, 1 - zExp, &zSig0, &zSig1 ); in roundAndPackFloatx80()
684 if ( isTiny && zSig1 ) roundData->exception |= float_flag_underflow; in roundAndPackFloatx80()
685 if ( zSig1 ) roundData->exception |= float_flag_inexact; in roundAndPackFloatx80()
687 increment = ( (sbits64) zSig1 < 0 ); in roundAndPackFloatx80()
691 increment = ( roundingMode == float_round_down ) && zSig1; in roundAndPackFloatx80()
694 increment = ( roundingMode == float_round_up ) && zSig1; in roundAndPackFloatx80()
699 zSig0 &= ~ ( ( zSig1 + zSig1 == 0 ) & roundNearestEven ); in roundAndPackFloatx80()
705 if ( zSig1 ) roundData->exception |= float_flag_inexact; in roundAndPackFloatx80()
713 zSig0 &= ~ ( ( zSig1 + zSig1 == 0 ) & roundNearestEven ); in roundAndPackFloatx80()
735 struct roundingData *roundData, flag zSign, int32 zExp, bits64 zSig0, bits64 zSig1 in normalizeRoundAndPackFloatx80() argument
741 zSig0 = zSig1; in normalizeRoundAndPackFloatx80()
742 zSig1 = 0; in normalizeRoundAndPackFloatx80()
746 shortShift128Left( zSig0, zSig1, shiftCount, &zSig0, &zSig1 ); in normalizeRoundAndPackFloatx80()
749 roundAndPackFloatx80( roundData, zSign, zExp, zSig0, zSig1 ); in normalizeRoundAndPackFloatx80()
2119 bits64 aSig, bSig, zSig0, zSig1; in float64_mul() local
2157 mul64To128( aSig, bSig, &zSig0, &zSig1 ); in float64_mul()
2158 zSig0 |= ( zSig1 != 0 ); in float64_mul()
2748 bits64 aSig, bSig, zSig0, zSig1; in addFloatx80Sigs() local
2762 shift64ExtraRightJamming( bSig, 0, expDiff, &bSig, &zSig1 ); in addFloatx80Sigs()
2771 shift64ExtraRightJamming( aSig, 0, - expDiff, &aSig, &zSig1 ); in addFloatx80Sigs()
2781 zSig1 = 0; in addFloatx80Sigs()
2795 shift64ExtraRightJamming( zSig0, zSig1, 1, &zSig0, &zSig1 ); in addFloatx80Sigs()
2801 roundData, zSign, zExp, zSig0, zSig1 ); in addFloatx80Sigs()
2817 bits64 aSig, bSig, zSig0, zSig1; in subFloatx80Sigs() local
2842 zSig1 = 0; in subFloatx80Sigs()
2852 shift128RightJamming( aSig, 0, - expDiff, &aSig, &zSig1 ); in subFloatx80Sigs()
2854 sub128( bSig, 0, aSig, zSig1, &zSig0, &zSig1 ); in subFloatx80Sigs()
2864 shift128RightJamming( bSig, 0, expDiff, &bSig, &zSig1 ); in subFloatx80Sigs()
2866 sub128( aSig, 0, bSig, zSig1, &zSig0, &zSig1 ); in subFloatx80Sigs()
2871 roundData, zSign, zExp, zSig0, zSig1 ); in subFloatx80Sigs()
2930 bits64 aSig, bSig, zSig0, zSig1; in floatx80_mul() local
2969 mul64To128( aSig, bSig, &zSig0, &zSig1 ); in floatx80_mul()
2971 shortShift128Left( zSig0, zSig1, 1, &zSig0, &zSig1 ); in floatx80_mul()
2976 roundData, zSign, zExp, zSig0, zSig1 ); in floatx80_mul()
2991 bits64 aSig, bSig, zSig0, zSig1; in floatx80_div() local
3046 zSig1 = estimateDiv128To64( rem1, 0, bSig ); in floatx80_div()
3047 if ( (bits64) ( zSig1<<1 ) <= 8 ) { in floatx80_div()
3048 mul64To128( bSig, zSig1, &term1, &term2 ); in floatx80_div()
3051 --zSig1; in floatx80_div()
3054 zSig1 |= ( ( rem1 | rem2 ) != 0 ); in floatx80_div()
3058 roundData, zSign, zExp, zSig0, zSig1 ); in floatx80_div()
3173 bits64 aSig0, aSig1, zSig0, zSig1; in floatx80_sqrt() local
3216 zSig1 = estimateDiv128To64( shiftedRem0, shiftedRem1, zSig0 ); in floatx80_sqrt()
3217 if ( (bits64) ( zSig1<<1 ) <= 10 ) { in floatx80_sqrt()
3218 if ( zSig1 == 0 ) zSig1 = 1; in floatx80_sqrt()
3219 mul64To128( zSig0, zSig1, &term1, &term2 ); in floatx80_sqrt()
3222 mul64To128( zSig1, zSig1, &term2, &term3 ); in floatx80_sqrt()
3225 --zSig1; in floatx80_sqrt()
3226 shortShift192Left( 0, zSig0, zSig1, 1, &term1, &term2, &term3 ); in floatx80_sqrt()
3231 zSig1 |= ( ( rem1 | rem2 | rem3 ) != 0 ); in floatx80_sqrt()
3235 roundData, 0, zExp, zSig0, zSig1 ); in floatx80_sqrt()