Lines Matching refs:shiftCount
148 int8 shiftCount; in normalizeFloat32Subnormal() local
150 shiftCount = countLeadingZeros32( aSig ) - 8; in normalizeFloat32Subnormal()
151 *zSigPtr = aSig<<shiftCount; in normalizeFloat32Subnormal()
152 *zExpPtr = 1 - shiftCount; in normalizeFloat32Subnormal()
263 int8 shiftCount; in normalizeRoundAndPackFloat32() local
265 shiftCount = countLeadingZeros32( zSig ) - 1; in normalizeRoundAndPackFloat32()
266 return roundAndPackFloat32( zSign, zExp - shiftCount, zSig<<shiftCount ); in normalizeRoundAndPackFloat32()
340 int8 shiftCount; in normalizeFloat64Subnormal() local
343 shiftCount = countLeadingZeros32( aSig1 ) - 11; in normalizeFloat64Subnormal()
344 if ( shiftCount < 0 ) { in normalizeFloat64Subnormal()
345 *zSig0Ptr = aSig1>>( - shiftCount ); in normalizeFloat64Subnormal()
346 *zSig1Ptr = aSig1<<( shiftCount & 31 ); in normalizeFloat64Subnormal()
349 *zSig0Ptr = aSig1<<shiftCount; in normalizeFloat64Subnormal()
352 *zExpPtr = - shiftCount - 31; in normalizeFloat64Subnormal()
355 shiftCount = countLeadingZeros32( aSig0 ) - 11; in normalizeFloat64Subnormal()
356 shortShift64Left( aSig0, aSig1, shiftCount, zSig0Ptr, zSig1Ptr ); in normalizeFloat64Subnormal()
357 *zExpPtr = 1 - shiftCount; in normalizeFloat64Subnormal()
497 int8 shiftCount; in normalizeRoundAndPackFloat64() local
505 shiftCount = countLeadingZeros32( zSig0 ) - 11; in normalizeRoundAndPackFloat64()
506 if ( 0 <= shiftCount ) { in normalizeRoundAndPackFloat64()
508 shortShift64Left( zSig0, zSig1, shiftCount, &zSig0, &zSig1 ); in normalizeRoundAndPackFloat64()
512 zSig0, zSig1, 0, - shiftCount, &zSig0, &zSig1, &zSig2 ); in normalizeRoundAndPackFloat64()
514 zExp -= shiftCount; in normalizeRoundAndPackFloat64()
548 int8 shiftCount; in int32_to_float64() local
554 shiftCount = countLeadingZeros32( absA ) - 11; in int32_to_float64()
555 if ( 0 <= shiftCount ) { in int32_to_float64()
556 zSig0 = absA<<shiftCount; in int32_to_float64()
560 shift64Right( absA, 0, - shiftCount, &zSig0, &zSig1 ); in int32_to_float64()
562 return packFloat64( zSign, 0x412 - shiftCount, zSig0, zSig1 ); in int32_to_float64()
581 int16 aExp, shiftCount; in float32_to_int32() local
589 shiftCount = aExp - 0x96; in float32_to_int32()
590 if ( 0 <= shiftCount ) { in float32_to_int32()
600 z = ( aSig | 0x00800000 )<<shiftCount; in float32_to_int32()
610 aSigExtra = aSig<<( shiftCount & 31 ); in float32_to_int32()
611 z = aSig>>( - shiftCount ); in float32_to_int32()
652 int16 aExp, shiftCount; in float32_to_int32_round_to_zero() local
659 shiftCount = aExp - 0x9E; in float32_to_int32_round_to_zero()
660 if ( 0 <= shiftCount ) { in float32_to_int32_round_to_zero()
672 z = aSig>>( - shiftCount ); in float32_to_int32_round_to_zero()
673 if ( (bits32) ( aSig<<( shiftCount & 31 ) ) ) { in float32_to_int32_round_to_zero()
1407 int16 aExp, shiftCount; in float64_to_int32() local
1416 shiftCount = aExp - 0x413; in float64_to_int32()
1417 if ( 0 <= shiftCount ) { in float64_to_int32()
1423 aSig0 | 0x00100000, aSig1, shiftCount, &absZ, &aSigExtra ); in float64_to_int32()
1434 aSigExtra = ( aSig0<<( shiftCount & 31 ) ) | aSig1; in float64_to_int32()
1435 absZ = aSig0>>( - shiftCount ); in float64_to_int32()
1481 int16 aExp, shiftCount; in float64_to_int32_round_to_zero() local
1489 shiftCount = aExp - 0x413; in float64_to_int32_round_to_zero()
1490 if ( 0 <= shiftCount ) { in float64_to_int32_round_to_zero()
1496 aSig0 | 0x00100000, aSig1, shiftCount, &absZ, &aSigExtra ); in float64_to_int32_round_to_zero()
1506 aSigExtra = ( aSig0<<( shiftCount & 31 ) ) | aSig1; in float64_to_int32_round_to_zero()
1507 absZ = aSig0>>( - shiftCount ); in float64_to_int32_round_to_zero()