Lines Matching refs:shiftCount
159 int8 shiftCount; in normalizeFloat32Subnormal() local
161 shiftCount = countLeadingZeros32( aSig ) - 8; in normalizeFloat32Subnormal()
162 *zSigPtr = aSig<<shiftCount; in normalizeFloat32Subnormal()
163 *zExpPtr = 1 - shiftCount; in normalizeFloat32Subnormal()
274 int8 shiftCount; in normalizeRoundAndPackFloat32() local
276 shiftCount = countLeadingZeros32( zSig ) - 1; in normalizeRoundAndPackFloat32()
277 return roundAndPackFloat32( zSign, zExp - shiftCount, zSig<<shiftCount ); in normalizeRoundAndPackFloat32()
351 int8 shiftCount; in normalizeFloat64Subnormal() local
354 shiftCount = countLeadingZeros32( aSig1 ) - 11; in normalizeFloat64Subnormal()
355 if ( shiftCount < 0 ) { in normalizeFloat64Subnormal()
356 *zSig0Ptr = aSig1>>( - shiftCount ); in normalizeFloat64Subnormal()
357 *zSig1Ptr = aSig1<<( shiftCount & 31 ); in normalizeFloat64Subnormal()
360 *zSig0Ptr = aSig1<<shiftCount; in normalizeFloat64Subnormal()
363 *zExpPtr = - shiftCount - 31; in normalizeFloat64Subnormal()
366 shiftCount = countLeadingZeros32( aSig0 ) - 11; in normalizeFloat64Subnormal()
367 shortShift64Left( aSig0, aSig1, shiftCount, zSig0Ptr, zSig1Ptr ); in normalizeFloat64Subnormal()
368 *zExpPtr = 1 - shiftCount; in normalizeFloat64Subnormal()
508 int8 shiftCount; in normalizeRoundAndPackFloat64() local
516 shiftCount = countLeadingZeros32( zSig0 ) - 11; in normalizeRoundAndPackFloat64()
517 if ( 0 <= shiftCount ) { in normalizeRoundAndPackFloat64()
519 shortShift64Left( zSig0, zSig1, shiftCount, &zSig0, &zSig1 ); in normalizeRoundAndPackFloat64()
523 zSig0, zSig1, 0, - shiftCount, &zSig0, &zSig1, &zSig2 ); in normalizeRoundAndPackFloat64()
525 zExp -= shiftCount; in normalizeRoundAndPackFloat64()
559 int8 shiftCount; in int32_to_float64() local
565 shiftCount = countLeadingZeros32( absA ) - 11; in int32_to_float64()
566 if ( 0 <= shiftCount ) { in int32_to_float64()
567 zSig0 = absA<<shiftCount; in int32_to_float64()
571 shift64Right( absA, 0, - shiftCount, &zSig0, &zSig1 ); in int32_to_float64()
573 return packFloat64( zSign, 0x412 - shiftCount, zSig0, zSig1 ); in int32_to_float64()
592 int16 aExp, shiftCount; in float32_to_int32() local
600 shiftCount = aExp - 0x96; in float32_to_int32()
601 if ( 0 <= shiftCount ) { in float32_to_int32()
611 z = ( aSig | 0x00800000 )<<shiftCount; in float32_to_int32()
621 aSigExtra = aSig<<( shiftCount & 31 ); in float32_to_int32()
622 z = aSig>>( - shiftCount ); in float32_to_int32()
663 int16 aExp, shiftCount; in float32_to_int32_round_to_zero() local
670 shiftCount = aExp - 0x9E; in float32_to_int32_round_to_zero()
671 if ( 0 <= shiftCount ) { in float32_to_int32_round_to_zero()
683 z = aSig>>( - shiftCount ); in float32_to_int32_round_to_zero()
684 if ( (bits32) ( aSig<<( shiftCount & 31 ) ) ) { in float32_to_int32_round_to_zero()
1418 int16 aExp, shiftCount; in float64_to_int32() local
1427 shiftCount = aExp - 0x413; in float64_to_int32()
1428 if ( 0 <= shiftCount ) { in float64_to_int32()
1434 aSig0 | 0x00100000, aSig1, shiftCount, &absZ, &aSigExtra ); in float64_to_int32()
1445 aSigExtra = ( aSig0<<( shiftCount & 31 ) ) | aSig1; in float64_to_int32()
1446 absZ = aSig0>>( - shiftCount ); in float64_to_int32()
1492 int16 aExp, shiftCount; in float64_to_int32_round_to_zero() local
1500 shiftCount = aExp - 0x413; in float64_to_int32_round_to_zero()
1501 if ( 0 <= shiftCount ) { in float64_to_int32_round_to_zero()
1507 aSig0 | 0x00100000, aSig1, shiftCount, &absZ, &aSigExtra ); in float64_to_int32_round_to_zero()
1517 aSigExtra = ( aSig0<<( shiftCount & 31 ) ) | aSig1; in float64_to_int32_round_to_zero()
1518 absZ = aSig0>>( - shiftCount ); in float64_to_int32_round_to_zero()