Lines Matching refs:shiftCount

272     int8 shiftCount;  in normalizeFloat32Subnormal()  local
274 shiftCount = countLeadingZeros32( aSig ) - 8; in normalizeFloat32Subnormal()
275 *zSigPtr = aSig<<shiftCount; in normalizeFloat32Subnormal()
276 *zExpPtr = 1 - shiftCount; in normalizeFloat32Subnormal()
384 int8 shiftCount; in normalizeRoundAndPackFloat32() local
386 shiftCount = countLeadingZeros32( zSig ) - 1; in normalizeRoundAndPackFloat32()
387 return roundAndPackFloat32( zSign, zExp - shiftCount, zSig<<shiftCount ); in normalizeRoundAndPackFloat32()
433 int8 shiftCount; in normalizeFloat64Subnormal() local
435 shiftCount = countLeadingZeros64( aSig ) - 11; in normalizeFloat64Subnormal()
436 *zSigPtr = aSig<<shiftCount; in normalizeFloat64Subnormal()
437 *zExpPtr = 1 - shiftCount; in normalizeFloat64Subnormal()
545 int8 shiftCount; in normalizeRoundAndPackFloat64() local
547 shiftCount = countLeadingZeros64( zSig ) - 1; in normalizeRoundAndPackFloat64()
548 return roundAndPackFloat64( zSign, zExp - shiftCount, zSig<<shiftCount ); in normalizeRoundAndPackFloat64()
600 int8 shiftCount; in normalizeFloatx80Subnormal() local
602 shiftCount = countLeadingZeros64( aSig ); in normalizeFloatx80Subnormal()
603 *zSigPtr = aSig<<shiftCount; in normalizeFloatx80Subnormal()
604 *zExpPtr = 1 - shiftCount; in normalizeFloatx80Subnormal()
820 int8 shiftCount; in normalizeRoundAndPackFloatx80() local
827 shiftCount = countLeadingZeros64( zSig0 ); in normalizeRoundAndPackFloatx80()
828 shortShift128Left( zSig0, zSig1, shiftCount, &zSig0, &zSig1 ); in normalizeRoundAndPackFloatx80()
829 zExp -= shiftCount; in normalizeRoundAndPackFloatx80()
905 int8 shiftCount; in normalizeFloat128Subnormal() local
908 shiftCount = countLeadingZeros64( aSig1 ) - 15; in normalizeFloat128Subnormal()
909 if ( shiftCount < 0 ) { in normalizeFloat128Subnormal()
910 *zSig0Ptr = aSig1>>( - shiftCount ); in normalizeFloat128Subnormal()
911 *zSig1Ptr = aSig1<<( shiftCount & 63 ); in normalizeFloat128Subnormal()
914 *zSig0Ptr = aSig1<<shiftCount; in normalizeFloat128Subnormal()
917 *zExpPtr = - shiftCount - 63; in normalizeFloat128Subnormal()
920 shiftCount = countLeadingZeros64( aSig0 ) - 15; in normalizeFloat128Subnormal()
921 shortShift128Left( aSig0, aSig1, shiftCount, zSig0Ptr, zSig1Ptr ); in normalizeFloat128Subnormal()
922 *zExpPtr = 1 - shiftCount; in normalizeFloat128Subnormal()
1076 int8 shiftCount; in normalizeRoundAndPackFloat128() local
1084 shiftCount = countLeadingZeros64( zSig0 ) - 15; in normalizeRoundAndPackFloat128()
1085 if ( 0 <= shiftCount ) { in normalizeRoundAndPackFloat128()
1087 shortShift128Left( zSig0, zSig1, shiftCount, &zSig0, &zSig1 ); in normalizeRoundAndPackFloat128()
1091 zSig0, zSig1, 0, - shiftCount, &zSig0, &zSig1, &zSig2 ); in normalizeRoundAndPackFloat128()
1093 zExp -= shiftCount; in normalizeRoundAndPackFloat128()
1127 int8 shiftCount; in int32_to_float64() local
1133 shiftCount = countLeadingZeros32( absA ) + 21; in int32_to_float64()
1135 return packFloat64( zSign, 0x432 - shiftCount, zSig<<shiftCount ); in int32_to_float64()
1152 int8 shiftCount; in int32_to_floatx80() local
1158 shiftCount = countLeadingZeros32( absA ) + 32; in int32_to_floatx80()
1160 return packFloatx80( zSign, 0x403E - shiftCount, zSig<<shiftCount ); in int32_to_floatx80()
1178 int8 shiftCount; in int32_to_float128() local
1184 shiftCount = countLeadingZeros32( absA ) + 17; in int32_to_float128()
1186 return packFloat128( zSign, 0x402E - shiftCount, zSig0<<shiftCount, 0 ); in int32_to_float128()
1203 int8 shiftCount; in int64_to_float32() local
1208 shiftCount = countLeadingZeros64( absA ) - 40; in int64_to_float32()
1209 if ( 0 <= shiftCount ) { in int64_to_float32()
1210 return packFloat32( zSign, 0x95 - shiftCount, absA<<shiftCount ); in int64_to_float32()
1213 shiftCount += 7; in int64_to_float32()
1214 if ( shiftCount < 0 ) { in int64_to_float32()
1215 shift64RightJamming( absA, - shiftCount, &absA ); in int64_to_float32()
1218 absA <<= shiftCount; in int64_to_float32()
1220 return roundAndPackFloat32( zSign, 0x9C - shiftCount, absA ); in int64_to_float32()
1257 int8 shiftCount; in int64_to_floatx80() local
1262 shiftCount = countLeadingZeros64( absA ); in int64_to_floatx80()
1263 return packFloatx80( zSign, 0x403E - shiftCount, absA<<shiftCount ); in int64_to_floatx80()
1281 int8 shiftCount; in int64_to_float128() local
1288 shiftCount = countLeadingZeros64( absA ) + 49; in int64_to_float128()
1289 zExp = 0x406E - shiftCount; in int64_to_float128()
1290 if ( 64 <= shiftCount ) { in int64_to_float128()
1293 shiftCount -= 64; in int64_to_float128()
1299 shortShift128Left( zSig0, zSig1, shiftCount, &zSig0, &zSig1 ); in int64_to_float128()
1321 int16 aExp, shiftCount; in float32_to_int32() local
1330 shiftCount = 0xAF - aExp; in float32_to_int32()
1333 if ( 0 < shiftCount ) shift64RightJamming( aSig64, shiftCount, &aSig64 ); in float32_to_int32()
1352 int16 aExp, shiftCount; in float32_to_int32_round_to_zero() local
1359 shiftCount = aExp - 0x9E; in float32_to_int32_round_to_zero()
1360 if ( 0 <= shiftCount ) { in float32_to_int32_round_to_zero()
1372 z = aSig>>( - shiftCount ); in float32_to_int32_round_to_zero()
1373 if ( (bits32) ( aSig<<( shiftCount & 31 ) ) ) { in float32_to_int32_round_to_zero()
1395 int16 aExp, shiftCount; in float32_to_int64() local
1402 shiftCount = 0xBE - aExp; in float32_to_int64()
1403 if ( shiftCount < 0 ) { in float32_to_int64()
1413 shift64ExtraRightJamming( aSig64, 0, shiftCount, &aSig64, &aSigExtra ); in float32_to_int64()
1431 int16 aExp, shiftCount; in float32_to_int64_round_to_zero() local
1439 shiftCount = aExp - 0xBE; in float32_to_int64_round_to_zero()
1440 if ( 0 <= shiftCount ) { in float32_to_int64_round_to_zero()
1455 z = aSig64>>( - shiftCount ); in float32_to_int64_round_to_zero()
1456 if ( (bits64) ( aSig64<<( shiftCount & 63 ) ) ) { in float32_to_int64_round_to_zero()
2246 int16 aExp, shiftCount; in float64_to_int32() local
2254 shiftCount = 0x42C - aExp; in float64_to_int32()
2255 if ( 0 < shiftCount ) shift64RightJamming( aSig, shiftCount, &aSig ); in float64_to_int32()
2274 int16 aExp, shiftCount; in float64_to_int32_round_to_zero() local
2290 shiftCount = 0x433 - aExp; in float64_to_int32_round_to_zero()
2292 aSig >>= shiftCount; in float64_to_int32_round_to_zero()
2300 if ( ( aSig<<shiftCount ) != savedASig ) { in float64_to_int32_round_to_zero()
2321 int16 aExp, shiftCount; in float64_to_int64() local
2328 shiftCount = 0x433 - aExp; in float64_to_int64()
2329 if ( shiftCount <= 0 ) { in float64_to_int64()
2341 aSig <<= - shiftCount; in float64_to_int64()
2344 shift64ExtraRightJamming( aSig, 0, shiftCount, &aSig, &aSigExtra ); in float64_to_int64()
2354 int16 aExp, shiftCount; in float64_to_uint64() local
2366 shiftCount = 0x433 - aExp; in float64_to_uint64()
2367 if ( shiftCount <= 0 ) { in float64_to_uint64()
2379 aSig <<= - shiftCount; in float64_to_uint64()
2382 shift64ExtraRightJamming( aSig, 0, shiftCount, &aSig, &aSigExtra ); in float64_to_uint64()
2401 int16 aExp, shiftCount; in float64_to_int64_round_to_zero() local
2409 shiftCount = aExp - 0x433; in float64_to_int64_round_to_zero()
2410 if ( 0 <= shiftCount ) { in float64_to_int64_round_to_zero()
2423 z = aSig<<shiftCount; in float64_to_int64_round_to_zero()
2430 z = aSig>>( - shiftCount ); in float64_to_int64_round_to_zero()
2431 if ( (bits64) ( aSig<<( shiftCount & 63 ) ) ) { in float64_to_int64_round_to_zero()
3213 int32 aExp, shiftCount; in floatx80_to_int32() local
3220 shiftCount = 0x4037 - aExp; in floatx80_to_int32()
3221 if ( shiftCount <= 0 ) shiftCount = 1; in floatx80_to_int32()
3222 shift64RightJamming( aSig, shiftCount, &aSig ); in floatx80_to_int32()
3240 int32 aExp, shiftCount; in floatx80_to_int32_round_to_zero() local
3255 shiftCount = 0x403E - aExp; in floatx80_to_int32_round_to_zero()
3257 aSig >>= shiftCount; in floatx80_to_int32_round_to_zero()
3265 if ( ( aSig<<shiftCount ) != savedASig ) { in floatx80_to_int32_round_to_zero()
3285 int32 aExp, shiftCount; in floatx80_to_int64() local
3291 shiftCount = 0x403E - aExp; in floatx80_to_int64()
3292 if ( shiftCount <= 0 ) { in floatx80_to_int64()
3293 if ( shiftCount ) { in floatx80_to_int64()
3306 shift64ExtraRightJamming( aSig, 0, shiftCount, &aSig, &aSigExtra ); in floatx80_to_int64()
3325 int32 aExp, shiftCount; in floatx80_to_int64_round_to_zero() local
3332 shiftCount = aExp - 0x403E; in floatx80_to_int64_round_to_zero()
3333 if ( 0 <= shiftCount ) { in floatx80_to_int64_round_to_zero()
3347 z = aSig>>( - shiftCount ); in floatx80_to_int64_round_to_zero()
3348 if ( (bits64) ( aSig<<( shiftCount & 63 ) ) ) { in floatx80_to_int64_round_to_zero()
4207 int32 aExp, shiftCount; in float128_to_int32() local
4217 shiftCount = 0x4028 - aExp; in float128_to_int32()
4218 if ( 0 < shiftCount ) shift64RightJamming( aSig0, shiftCount, &aSig0 ); in float128_to_int32()
4236 int32 aExp, shiftCount; in float128_to_int32_round_to_zero() local
4254 shiftCount = 0x402F - aExp; in float128_to_int32_round_to_zero()
4256 aSig0 >>= shiftCount; in float128_to_int32_round_to_zero()
4264 if ( ( aSig0<<shiftCount ) != savedASig ) { in float128_to_int32_round_to_zero()
4284 int32 aExp, shiftCount; in float128_to_int64() local
4292 shiftCount = 0x402F - aExp; in float128_to_int64()
4293 if ( shiftCount <= 0 ) { in float128_to_int64()
4305 shortShift128Left( aSig0, aSig1, - shiftCount, &aSig0, &aSig1 ); in float128_to_int64()
4308 shift64ExtraRightJamming( aSig0, aSig1, shiftCount, &aSig0, &aSig1 ); in float128_to_int64()
4327 int32 aExp, shiftCount; in float128_to_int64_round_to_zero() local
4336 shiftCount = aExp - 0x402F; in float128_to_int64_round_to_zero()
4337 if ( 0 < shiftCount ) { in float128_to_int64_round_to_zero()
4352 z = ( aSig0<<shiftCount ) | ( aSig1>>( ( - shiftCount ) & 63 ) ); in float128_to_int64_round_to_zero()
4353 if ( (bits64) ( aSig1<<shiftCount ) ) { in float128_to_int64_round_to_zero()
4364 z = aSig0>>( - shiftCount ); in float128_to_int64_round_to_zero()
4366 || ( shiftCount && (bits64) ( aSig0<<( shiftCount & 63 ) ) ) ) { in float128_to_int64_round_to_zero()
5337 int16 aExp, shiftCount; in float64_to_uint32_round_to_zero() local
5359 shiftCount = 0x433 - aExp; in float64_to_uint32_round_to_zero()
5361 aSig >>= shiftCount; in float64_to_uint32_round_to_zero()
5363 if ( ( aSig<<shiftCount ) != savedASig ) { in float64_to_uint32_round_to_zero()
5382 int16 aExp, shiftCount; in float32_to_uint32_round_to_zero() local
5389 shiftCount = aExp - 0x9E; in float32_to_uint32_round_to_zero()
5395 if ( 0 < shiftCount ) { in float32_to_uint32_round_to_zero()
5404 z = aSig>>( - shiftCount ); in float32_to_uint32_round_to_zero()
5405 if ( aSig<<( shiftCount & 31 ) ) { in float32_to_uint32_round_to_zero()