Lines Matching refs:shiftCount
151 int8 shiftCount; in normalizeFloat32Subnormal() local
153 shiftCount = countLeadingZeros32( aSig ) - 8; in normalizeFloat32Subnormal()
154 *zSigPtr = aSig<<shiftCount; in normalizeFloat32Subnormal()
155 *zExpPtr = 1 - shiftCount; in normalizeFloat32Subnormal()
266 int8 shiftCount; in normalizeRoundAndPackFloat32() local
268 shiftCount = countLeadingZeros32( zSig ) - 1; in normalizeRoundAndPackFloat32()
269 return roundAndPackFloat32( zSign, zExp - shiftCount, zSig<<shiftCount ); in normalizeRoundAndPackFloat32()
343 int8 shiftCount; in normalizeFloat64Subnormal() local
346 shiftCount = countLeadingZeros32( aSig1 ) - 11; in normalizeFloat64Subnormal()
347 if ( shiftCount < 0 ) { in normalizeFloat64Subnormal()
348 *zSig0Ptr = aSig1>>( - shiftCount ); in normalizeFloat64Subnormal()
349 *zSig1Ptr = aSig1<<( shiftCount & 31 ); in normalizeFloat64Subnormal()
352 *zSig0Ptr = aSig1<<shiftCount; in normalizeFloat64Subnormal()
355 *zExpPtr = - shiftCount - 31; in normalizeFloat64Subnormal()
358 shiftCount = countLeadingZeros32( aSig0 ) - 11; in normalizeFloat64Subnormal()
359 shortShift64Left( aSig0, aSig1, shiftCount, zSig0Ptr, zSig1Ptr ); in normalizeFloat64Subnormal()
360 *zExpPtr = 1 - shiftCount; in normalizeFloat64Subnormal()
500 int8 shiftCount; in normalizeRoundAndPackFloat64() local
508 shiftCount = countLeadingZeros32( zSig0 ) - 11; in normalizeRoundAndPackFloat64()
509 if ( 0 <= shiftCount ) { in normalizeRoundAndPackFloat64()
511 shortShift64Left( zSig0, zSig1, shiftCount, &zSig0, &zSig1 ); in normalizeRoundAndPackFloat64()
515 zSig0, zSig1, 0, - shiftCount, &zSig0, &zSig1, &zSig2 ); in normalizeRoundAndPackFloat64()
517 zExp -= shiftCount; in normalizeRoundAndPackFloat64()
551 int8 shiftCount; in int32_to_float64() local
557 shiftCount = countLeadingZeros32( absA ) - 11; in int32_to_float64()
558 if ( 0 <= shiftCount ) { in int32_to_float64()
559 zSig0 = absA<<shiftCount; in int32_to_float64()
563 shift64Right( absA, 0, - shiftCount, &zSig0, &zSig1 ); in int32_to_float64()
565 return packFloat64( zSign, 0x412 - shiftCount, zSig0, zSig1 ); in int32_to_float64()
584 int16 aExp, shiftCount; in float32_to_int32() local
592 shiftCount = aExp - 0x96; in float32_to_int32()
593 if ( 0 <= shiftCount ) { in float32_to_int32()
603 z = ( aSig | 0x00800000 )<<shiftCount; in float32_to_int32()
613 aSigExtra = aSig<<( shiftCount & 31 ); in float32_to_int32()
614 z = aSig>>( - shiftCount ); in float32_to_int32()
655 int16 aExp, shiftCount; in float32_to_int32_round_to_zero() local
662 shiftCount = aExp - 0x9E; in float32_to_int32_round_to_zero()
663 if ( 0 <= shiftCount ) { in float32_to_int32_round_to_zero()
675 z = aSig>>( - shiftCount ); in float32_to_int32_round_to_zero()
676 if ( (bits32) ( aSig<<( shiftCount & 31 ) ) ) { in float32_to_int32_round_to_zero()
1410 int16 aExp, shiftCount; in float64_to_int32() local
1419 shiftCount = aExp - 0x413; in float64_to_int32()
1420 if ( 0 <= shiftCount ) { in float64_to_int32()
1426 aSig0 | 0x00100000, aSig1, shiftCount, &absZ, &aSigExtra ); in float64_to_int32()
1437 aSigExtra = ( aSig0<<( shiftCount & 31 ) ) | aSig1; in float64_to_int32()
1438 absZ = aSig0>>( - shiftCount ); in float64_to_int32()
1484 int16 aExp, shiftCount; in float64_to_int32_round_to_zero() local
1492 shiftCount = aExp - 0x413; in float64_to_int32_round_to_zero()
1493 if ( 0 <= shiftCount ) { in float64_to_int32_round_to_zero()
1499 aSig0 | 0x00100000, aSig1, shiftCount, &absZ, &aSigExtra ); in float64_to_int32_round_to_zero()
1509 aSigExtra = ( aSig0<<( shiftCount & 31 ) ) | aSig1; in float64_to_int32_round_to_zero()
1510 absZ = aSig0>>( - shiftCount ); in float64_to_int32_round_to_zero()