• Home
  • Raw
  • Download

Lines Matching refs:aSig1

849      bits64 aSig1,  in normalizeFloat128Subnormal()  argument
858 shiftCount = countLeadingZeros64( aSig1 ) - 15; in normalizeFloat128Subnormal()
860 *zSig0Ptr = aSig1>>( - shiftCount ); in normalizeFloat128Subnormal()
861 *zSig1Ptr = aSig1<<( shiftCount & 63 ); in normalizeFloat128Subnormal()
864 *zSig0Ptr = aSig1<<shiftCount; in normalizeFloat128Subnormal()
871 shortShift128Left( aSig0, aSig1, shiftCount, zSig0Ptr, zSig1Ptr ); in normalizeFloat128Subnormal()
3202 bits64 aSig, aSig0, aSig1, zSig, i; in float64_log2() local
3226 mul64To128( aSig, aSig, &aSig0, &aSig1 ); in float64_log2()
3227 aSig = ( aSig0 << 12 ) | ( aSig1 >> 52 ); in float64_log2()
4037 bits64 aSig0, aSig1, bSig; in floatx80_rem() local
4075 aSig1 = 0; in floatx80_rem()
4078 shift128Right( aSig0, 0, 1, &aSig0, &aSig1 ); in floatx80_rem()
4085 q = estimateDiv128To64( aSig0, aSig1, bSig ); in floatx80_rem()
4088 sub128( aSig0, aSig1, term0, term1, &aSig0, &aSig1 ); in floatx80_rem()
4089 shortShift128Left( aSig0, aSig1, 62, &aSig0, &aSig1 ); in floatx80_rem()
4094 q = estimateDiv128To64( aSig0, aSig1, bSig ); in floatx80_rem()
4098 sub128( aSig0, aSig1, term0, term1, &aSig0, &aSig1 ); in floatx80_rem()
4100 while ( le128( term0, term1, aSig0, aSig1 ) ) { in floatx80_rem()
4102 sub128( aSig0, aSig1, term0, term1, &aSig0, &aSig1 ); in floatx80_rem()
4109 sub128( term0, term1, aSig0, aSig1, &alternateASig0, &alternateASig1 ); in floatx80_rem()
4110 if ( lt128( alternateASig0, alternateASig1, aSig0, aSig1 ) in floatx80_rem()
4111 || ( eq128( alternateASig0, alternateASig1, aSig0, aSig1 ) in floatx80_rem()
4115 aSig1 = alternateASig1; in floatx80_rem()
4120 80, zSign, bExp + expDiff, aSig0, aSig1 STATUS_VAR ); in floatx80_rem()
4134 bits64 aSig0, aSig1, zSig0, zSig1, doubleZSig0; in floatx80_sqrt() local
4160 shift128Right( aSig0, 0, 2 + ( aExp & 1 ), &aSig0, &aSig1 ); in floatx80_sqrt()
4161 zSig0 = estimateDiv128To64( aSig0, aSig1, zSig0<<32 ) + ( zSig0<<30 ); in floatx80_sqrt()
4164 sub128( aSig0, aSig1, term0, term1, &rem0, &rem1 ); in floatx80_sqrt()
4407 bits64 aSig0, aSig1; in float128_to_int32() local
4409 aSig1 = extractFloat128Frac1( a ); in float128_to_int32()
4413 if ( ( aExp == 0x7FFF ) && ( aSig0 | aSig1 ) ) aSign = 0; in float128_to_int32()
4415 aSig0 |= ( aSig1 != 0 ); in float128_to_int32()
4436 bits64 aSig0, aSig1, savedASig; in float128_to_int32_round_to_zero() local
4439 aSig1 = extractFloat128Frac1( a ); in float128_to_int32_round_to_zero()
4443 aSig0 |= ( aSig1 != 0 ); in float128_to_int32_round_to_zero()
4484 bits64 aSig0, aSig1; in float128_to_int64() local
4486 aSig1 = extractFloat128Frac1( a ); in float128_to_int64()
4497 && ( aSig1 || ( aSig0 != LIT64( 0x0001000000000000 ) ) ) in float128_to_int64()
4504 shortShift128Left( aSig0, aSig1, - shiftCount, &aSig0, &aSig1 ); in float128_to_int64()
4507 shift64ExtraRightJamming( aSig0, aSig1, shiftCount, &aSig0, &aSig1 ); in float128_to_int64()
4509 return roundAndPackInt64( aSign, aSig0, aSig1 STATUS_VAR ); in float128_to_int64()
4527 bits64 aSig0, aSig1; in float128_to_int64_round_to_zero() local
4530 aSig1 = extractFloat128Frac1( a ); in float128_to_int64_round_to_zero()
4540 && ( aSig1 < LIT64( 0x0002000000000000 ) ) ) { in float128_to_int64_round_to_zero()
4541 if ( aSig1 ) STATUS(float_exception_flags) |= float_flag_inexact; in float128_to_int64_round_to_zero()
4545 if ( ! aSign || ( ( aExp == 0x7FFF ) && ( aSig0 | aSig1 ) ) ) { in float128_to_int64_round_to_zero()
4551 z = ( aSig0<<shiftCount ) | ( aSig1>>( ( - shiftCount ) & 63 ) ); in float128_to_int64_round_to_zero()
4552 if ( (bits64) ( aSig1<<shiftCount ) ) { in float128_to_int64_round_to_zero()
4558 if ( aExp | aSig0 | aSig1 ) { in float128_to_int64_round_to_zero()
4564 if ( aSig1 in float128_to_int64_round_to_zero()
4585 bits64 aSig0, aSig1; in float128_to_float32() local
4588 aSig1 = extractFloat128Frac1( a ); in float128_to_float32()
4593 if ( aSig0 | aSig1 ) { in float128_to_float32()
4598 aSig0 |= ( aSig1 != 0 ); in float128_to_float32()
4620 bits64 aSig0, aSig1; in float128_to_float64() local
4622 aSig1 = extractFloat128Frac1( a ); in float128_to_float64()
4627 if ( aSig0 | aSig1 ) { in float128_to_float64()
4632 shortShift128Left( aSig0, aSig1, 14, &aSig0, &aSig1 ); in float128_to_float64()
4633 aSig0 |= ( aSig1 != 0 ); in float128_to_float64()
4655 bits64 aSig0, aSig1; in float128_to_floatx80() local
4657 aSig1 = extractFloat128Frac1( a ); in float128_to_floatx80()
4662 if ( aSig0 | aSig1 ) { in float128_to_floatx80()
4668 if ( ( aSig0 | aSig1 ) == 0 ) return packFloatx80( aSign, 0, 0 ); in float128_to_floatx80()
4669 normalizeFloat128Subnormal( aSig0, aSig1, &aExp, &aSig0, &aSig1 ); in float128_to_floatx80()
4674 shortShift128Left( aSig0, aSig1, 15, &aSig0, &aSig1 ); in float128_to_floatx80()
4675 return roundAndPackFloatx80( 80, aSign, aExp, aSig0, aSig1 STATUS_VAR ); in float128_to_floatx80()
4795 bits64 aSig0, aSig1, bSig0, bSig1, zSig0, zSig1, zSig2; in addFloat128Sigs() local
4798 aSig1 = extractFloat128Frac1( a ); in addFloat128Sigs()
4807 if ( aSig0 | aSig1 ) return propagateFloat128NaN( a, b STATUS_VAR ); in addFloat128Sigs()
4832 aSig0, aSig1, 0, - expDiff, &aSig0, &aSig1, &zSig2 ); in addFloat128Sigs()
4837 if ( aSig0 | aSig1 | bSig0 | bSig1 ) { in addFloat128Sigs()
4842 add128( aSig0, aSig1, bSig0, bSig1, &zSig0, &zSig1 ); in addFloat128Sigs()
4853 add128( aSig0, aSig1, bSig0, bSig1, &zSig0, &zSig1 ); in addFloat128Sigs()
4876 bits64 aSig0, aSig1, bSig0, bSig1, zSig0, zSig1; in subFloat128Sigs() local
4880 aSig1 = extractFloat128Frac1( a ); in subFloat128Sigs()
4887 shortShift128Left( aSig0, aSig1, 14, &aSig0, &aSig1 ); in subFloat128Sigs()
4892 if ( aSig0 | aSig1 | bSig0 | bSig1 ) { in subFloat128Sigs()
4906 if ( bSig1 < aSig1 ) goto aBigger; in subFloat128Sigs()
4907 if ( aSig1 < bSig1 ) goto bBigger; in subFloat128Sigs()
4920 shift128RightJamming( aSig0, aSig1, - expDiff, &aSig0, &aSig1 ); in subFloat128Sigs()
4923 sub128( bSig0, bSig1, aSig0, aSig1, &zSig0, &zSig1 ); in subFloat128Sigs()
4929 if ( aSig0 | aSig1 ) return propagateFloat128NaN( a, b STATUS_VAR ); in subFloat128Sigs()
4941 sub128( aSig0, aSig1, bSig0, bSig1, &zSig0, &zSig1 ); in subFloat128Sigs()
5001 bits64 aSig0, aSig1, bSig0, bSig1, zSig0, zSig1, zSig2, zSig3; in float128_mul() local
5004 aSig1 = extractFloat128Frac1( a ); in float128_mul()
5014 if ( ( aSig0 | aSig1 ) in float128_mul()
5023 if ( ( aExp | aSig0 | aSig1 ) == 0 ) { in float128_mul()
5033 if ( ( aSig0 | aSig1 ) == 0 ) return packFloat128( zSign, 0, 0, 0 ); in float128_mul()
5034 normalizeFloat128Subnormal( aSig0, aSig1, &aExp, &aSig0, &aSig1 ); in float128_mul()
5043 mul128To256( aSig0, aSig1, bSig0, bSig1, &zSig0, &zSig1, &zSig2, &zSig3 ); in float128_mul()
5044 add128( zSig0, zSig1, aSig0, aSig1, &zSig0, &zSig1 ); in float128_mul()
5065 bits64 aSig0, aSig1, bSig0, bSig1, zSig0, zSig1, zSig2; in float128_div() local
5069 aSig1 = extractFloat128Frac1( a ); in float128_div()
5079 if ( aSig0 | aSig1 ) return propagateFloat128NaN( a, b STATUS_VAR ); in float128_div()
5092 if ( ( aExp | aSig0 | aSig1 ) == 0 ) { in float128_div()
5105 if ( ( aSig0 | aSig1 ) == 0 ) return packFloat128( zSign, 0, 0, 0 ); in float128_div()
5106 normalizeFloat128Subnormal( aSig0, aSig1, &aExp, &aSig0, &aSig1 ); in float128_div()
5110 aSig0 | LIT64( 0x0001000000000000 ), aSig1, 15, &aSig0, &aSig1 ); in float128_div()
5113 if ( le128( bSig0, bSig1, aSig0, aSig1 ) ) { in float128_div()
5114 shift128Right( aSig0, aSig1, 1, &aSig0, &aSig1 ); in float128_div()
5117 zSig0 = estimateDiv128To64( aSig0, aSig1, bSig0 ); in float128_div()
5119 sub192( aSig0, aSig1, 0, term0, term1, term2, &rem0, &rem1, &rem2 ); in float128_div()
5149 bits64 aSig0, aSig1, bSig0, bSig1, q, term0, term1, term2; in float128_rem() local
5154 aSig1 = extractFloat128Frac1( a ); in float128_rem()
5163 if ( ( aSig0 | aSig1 ) in float128_rem()
5184 if ( ( aSig0 | aSig1 ) == 0 ) return a; in float128_rem()
5185 normalizeFloat128Subnormal( aSig0, aSig1, &aExp, &aSig0, &aSig1 ); in float128_rem()
5191 aSig1, in float128_rem()
5194 &aSig1 in float128_rem()
5198 q = le128( bSig0, bSig1, aSig0, aSig1 ); in float128_rem()
5199 if ( q ) sub128( aSig0, aSig1, bSig0, bSig1, &aSig0, &aSig1 ); in float128_rem()
5202 q = estimateDiv128To64( aSig0, aSig1, bSig0 ); in float128_rem()
5206 shortShift128Left( aSig0, aSig1, 61, &aSig0, &allZero ); in float128_rem()
5207 sub128( aSig0, 0, term1, term2, &aSig0, &aSig1 ); in float128_rem()
5211 q = estimateDiv128To64( aSig0, aSig1, bSig0 ); in float128_rem()
5217 shift128Right( aSig0, aSig1, - expDiff, &aSig0, &aSig1 ); in float128_rem()
5220 shortShift128Left( aSig0, aSig1, expDiff, &aSig0, &aSig1 ); in float128_rem()
5223 sub128( aSig0, aSig1, term1, term2, &aSig0, &aSig1 ); in float128_rem()
5226 shift128Right( aSig0, aSig1, 12, &aSig0, &aSig1 ); in float128_rem()
5231 alternateASig1 = aSig1; in float128_rem()
5233 sub128( aSig0, aSig1, bSig0, bSig1, &aSig0, &aSig1 ); in float128_rem()
5236 aSig0, aSig1, alternateASig0, alternateASig1, (bits64 *)&sigMean0, &sigMean1 ); in float128_rem()
5240 aSig1 = alternateASig1; in float128_rem()
5243 if ( zSign ) sub128( 0, 0, aSig0, aSig1, &aSig0, &aSig1 ); in float128_rem()
5245 normalizeRoundAndPackFloat128( aSign ^ zSign, bExp - 4, aSig0, aSig1 STATUS_VAR ); in float128_rem()
5259 bits64 aSig0, aSig1, zSig0, zSig1, zSig2, doubleZSig0; in float128_sqrt() local
5263 aSig1 = extractFloat128Frac1( a ); in float128_sqrt()
5268 if ( aSig0 | aSig1 ) return propagateFloat128NaN( a, a STATUS_VAR ); in float128_sqrt()
5273 if ( ( aExp | aSig0 | aSig1 ) == 0 ) return a; in float128_sqrt()
5281 if ( ( aSig0 | aSig1 ) == 0 ) return packFloat128( 0, 0, 0, 0 ); in float128_sqrt()
5282 normalizeFloat128Subnormal( aSig0, aSig1, &aExp, &aSig0, &aSig1 ); in float128_sqrt()
5287 shortShift128Left( aSig0, aSig1, 13 - ( aExp & 1 ), &aSig0, &aSig1 ); in float128_sqrt()
5288 zSig0 = estimateDiv128To64( aSig0, aSig1, zSig0<<32 ) + ( zSig0<<30 ); in float128_sqrt()
5291 sub128( aSig0, aSig1, term0, term1, &rem0, &rem1 ); in float128_sqrt()
5789 bits64 aSig0, aSig1; in float128_scalbn() local
5791 aSig1 = extractFloat128Frac1( a ); in float128_scalbn()
5800 else if ( aSig0 == 0 && aSig1 == 0 ) in float128_scalbn()
5804 return normalizeRoundAndPackFloat128( aSign, aExp, aSig0, aSig1 in float128_scalbn()