Lines Matching refs:shiftCount

157     int8 shiftCount;  in normalizeFloat32Subnormal()  local
159 shiftCount = countLeadingZeros32( aSig ) - 8; in normalizeFloat32Subnormal()
160 *zSigPtr = aSig<<shiftCount; in normalizeFloat32Subnormal()
161 *zExpPtr = 1 - shiftCount; in normalizeFloat32Subnormal()
282 int8 shiftCount; in normalizeRoundAndPackFloat32() local
284 shiftCount = countLeadingZeros32( zSig ) - 1; in normalizeRoundAndPackFloat32()
285 return roundAndPackFloat32( roundData, zSign, zExp - shiftCount, zSig<<shiftCount ); in normalizeRoundAndPackFloat32()
338 int8 shiftCount; in normalizeFloat64Subnormal() local
340 shiftCount = countLeadingZeros64( aSig ) - 11; in normalizeFloat64Subnormal()
341 *zSigPtr = aSig<<shiftCount; in normalizeFloat64Subnormal()
342 *zExpPtr = 1 - shiftCount; in normalizeFloat64Subnormal()
455 int8 shiftCount; in normalizeRoundAndPackFloat64() local
457 shiftCount = countLeadingZeros64( zSig ) - 1; in normalizeRoundAndPackFloat64()
458 return roundAndPackFloat64( roundData, zSign, zExp - shiftCount, zSig<<shiftCount ); in normalizeRoundAndPackFloat64()
514 int8 shiftCount; in normalizeFloatx80Subnormal() local
516 shiftCount = countLeadingZeros64( aSig ); in normalizeFloatx80Subnormal()
517 *zSigPtr = aSig<<shiftCount; in normalizeFloatx80Subnormal()
518 *zExpPtr = 1 - shiftCount; in normalizeFloatx80Subnormal()
738 int8 shiftCount; in normalizeRoundAndPackFloatx80() local
745 shiftCount = countLeadingZeros64( zSig0 ); in normalizeRoundAndPackFloatx80()
746 shortShift128Left( zSig0, zSig1, shiftCount, &zSig0, &zSig1 ); in normalizeRoundAndPackFloatx80()
747 zExp -= shiftCount; in normalizeRoundAndPackFloatx80()
784 int8 shiftCount; in int32_to_float64() local
790 shiftCount = countLeadingZeros32( absA ) + 21; in int32_to_float64()
792 return packFloat64( aSign, 0x432 - shiftCount, zSig<<shiftCount ); in int32_to_float64()
810 int8 shiftCount; in int32_to_floatx80() local
816 shiftCount = countLeadingZeros32( absA ) + 32; in int32_to_floatx80()
818 return packFloatx80( zSign, 0x403E - shiftCount, zSig<<shiftCount ); in int32_to_floatx80()
838 int16 aExp, shiftCount; in float32_to_int32() local
847 shiftCount = 0xAF - aExp; in float32_to_int32()
850 if ( 0 < shiftCount ) shift64RightJamming( zSig, shiftCount, &zSig ); in float32_to_int32()
869 int16 aExp, shiftCount; in float32_to_int32_round_to_zero() local
876 shiftCount = aExp - 0x9E; in float32_to_int32_round_to_zero()
877 if ( 0 <= shiftCount ) { in float32_to_int32_round_to_zero()
888 z = aSig>>( - shiftCount ); in float32_to_int32_round_to_zero()
889 if ( (bits32) ( aSig<<( shiftCount & 31 ) ) ) { in float32_to_int32_round_to_zero()
1655 int16 aExp, shiftCount; in float64_to_int32() local
1663 shiftCount = 0x42C - aExp; in float64_to_int32()
1664 if ( 0 < shiftCount ) shift64RightJamming( aSig, shiftCount, &aSig ); in float64_to_int32()
1683 int16 aExp, shiftCount; in float64_to_int32_round_to_zero() local
1690 shiftCount = 0x433 - aExp; in float64_to_int32_round_to_zero()
1691 if ( shiftCount < 21 ) { in float64_to_int32_round_to_zero()
1695 else if ( 52 < shiftCount ) { in float64_to_int32_round_to_zero()
1701 aSig >>= shiftCount; in float64_to_int32_round_to_zero()
1709 if ( ( aSig<<shiftCount ) != savedASig ) { in float64_to_int32_round_to_zero()
1730 int16 aExp, shiftCount; in float64_to_uint32() local
1738 shiftCount = 0x42C - aExp; in float64_to_uint32()
1739 if ( 0 < shiftCount ) shift64RightJamming( aSig, shiftCount, &aSig ); in float64_to_uint32()
1756 int16 aExp, shiftCount; in float64_to_uint32_round_to_zero() local
1763 shiftCount = 0x433 - aExp; in float64_to_uint32_round_to_zero()
1764 if ( shiftCount < 21 ) { in float64_to_uint32_round_to_zero()
1768 else if ( 52 < shiftCount ) { in float64_to_uint32_round_to_zero()
1774 aSig >>= shiftCount; in float64_to_uint32_round_to_zero()
1782 if ( ( aSig<<shiftCount ) != savedASig ) { in float64_to_uint32_round_to_zero()
2544 int32 aExp, shiftCount; in floatx80_to_int32() local
2551 shiftCount = 0x4037 - aExp; in floatx80_to_int32()
2552 if ( shiftCount <= 0 ) shiftCount = 1; in floatx80_to_int32()
2553 shift64RightJamming( aSig, shiftCount, &aSig ); in floatx80_to_int32()
2572 int32 aExp, shiftCount; in floatx80_to_int32_round_to_zero() local
2579 shiftCount = 0x403E - aExp; in floatx80_to_int32_round_to_zero()
2580 if ( shiftCount < 32 ) { in floatx80_to_int32_round_to_zero()
2584 else if ( 63 < shiftCount ) { in floatx80_to_int32_round_to_zero()
2589 aSig >>= shiftCount; in floatx80_to_int32_round_to_zero()
2597 if ( ( aSig<<shiftCount ) != savedASig ) { in floatx80_to_int32_round_to_zero()