Lines Matching refs:shiftCount

149     int8 shiftCount;  in normalizeFloat32Subnormal()  local
151 shiftCount = countLeadingZeros32( aSig ) - 8; in normalizeFloat32Subnormal()
152 *zSigPtr = aSig<<shiftCount; in normalizeFloat32Subnormal()
153 *zExpPtr = 1 - shiftCount; in normalizeFloat32Subnormal()
264 int8 shiftCount; in normalizeRoundAndPackFloat32() local
266 shiftCount = countLeadingZeros32( zSig ) - 1; in normalizeRoundAndPackFloat32()
267 return roundAndPackFloat32( zSign, zExp - shiftCount, zSig<<shiftCount ); in normalizeRoundAndPackFloat32()
341 int8 shiftCount; in normalizeFloat64Subnormal() local
344 shiftCount = countLeadingZeros32( aSig1 ) - 11; in normalizeFloat64Subnormal()
345 if ( shiftCount < 0 ) { in normalizeFloat64Subnormal()
346 *zSig0Ptr = aSig1>>( - shiftCount ); in normalizeFloat64Subnormal()
347 *zSig1Ptr = aSig1<<( shiftCount & 31 ); in normalizeFloat64Subnormal()
350 *zSig0Ptr = aSig1<<shiftCount; in normalizeFloat64Subnormal()
353 *zExpPtr = - shiftCount - 31; in normalizeFloat64Subnormal()
356 shiftCount = countLeadingZeros32( aSig0 ) - 11; in normalizeFloat64Subnormal()
357 shortShift64Left( aSig0, aSig1, shiftCount, zSig0Ptr, zSig1Ptr ); in normalizeFloat64Subnormal()
358 *zExpPtr = 1 - shiftCount; in normalizeFloat64Subnormal()
498 int8 shiftCount; in normalizeRoundAndPackFloat64() local
506 shiftCount = countLeadingZeros32( zSig0 ) - 11; in normalizeRoundAndPackFloat64()
507 if ( 0 <= shiftCount ) { in normalizeRoundAndPackFloat64()
509 shortShift64Left( zSig0, zSig1, shiftCount, &zSig0, &zSig1 ); in normalizeRoundAndPackFloat64()
513 zSig0, zSig1, 0, - shiftCount, &zSig0, &zSig1, &zSig2 ); in normalizeRoundAndPackFloat64()
515 zExp -= shiftCount; in normalizeRoundAndPackFloat64()
549 int8 shiftCount; in int32_to_float64() local
555 shiftCount = countLeadingZeros32( absA ) - 11; in int32_to_float64()
556 if ( 0 <= shiftCount ) { in int32_to_float64()
557 zSig0 = absA<<shiftCount; in int32_to_float64()
561 shift64Right( absA, 0, - shiftCount, &zSig0, &zSig1 ); in int32_to_float64()
563 return packFloat64( zSign, 0x412 - shiftCount, zSig0, zSig1 ); in int32_to_float64()
582 int16 aExp, shiftCount; in float32_to_int32() local
590 shiftCount = aExp - 0x96; in float32_to_int32()
591 if ( 0 <= shiftCount ) { in float32_to_int32()
601 z = ( aSig | 0x00800000 )<<shiftCount; in float32_to_int32()
611 aSigExtra = aSig<<( shiftCount & 31 ); in float32_to_int32()
612 z = aSig>>( - shiftCount ); in float32_to_int32()
653 int16 aExp, shiftCount; in float32_to_int32_round_to_zero() local
660 shiftCount = aExp - 0x9E; in float32_to_int32_round_to_zero()
661 if ( 0 <= shiftCount ) { in float32_to_int32_round_to_zero()
673 z = aSig>>( - shiftCount ); in float32_to_int32_round_to_zero()
674 if ( (bits32) ( aSig<<( shiftCount & 31 ) ) ) { in float32_to_int32_round_to_zero()
1408 int16 aExp, shiftCount; in float64_to_int32() local
1417 shiftCount = aExp - 0x413; in float64_to_int32()
1418 if ( 0 <= shiftCount ) { in float64_to_int32()
1424 aSig0 | 0x00100000, aSig1, shiftCount, &absZ, &aSigExtra ); in float64_to_int32()
1435 aSigExtra = ( aSig0<<( shiftCount & 31 ) ) | aSig1; in float64_to_int32()
1436 absZ = aSig0>>( - shiftCount ); in float64_to_int32()
1482 int16 aExp, shiftCount; in float64_to_int32_round_to_zero() local
1490 shiftCount = aExp - 0x413; in float64_to_int32_round_to_zero()
1491 if ( 0 <= shiftCount ) { in float64_to_int32_round_to_zero()
1497 aSig0 | 0x00100000, aSig1, shiftCount, &absZ, &aSigExtra ); in float64_to_int32_round_to_zero()
1507 aSigExtra = ( aSig0<<( shiftCount & 31 ) ) | aSig1; in float64_to_int32_round_to_zero()
1508 absZ = aSig0>>( - shiftCount ); in float64_to_int32_round_to_zero()