Lines Matching refs:shiftCount

251     int8 shiftCount;  in normalizeFloat32Subnormal()  local
253 shiftCount = countLeadingZeros32( aSig ) - 8; in normalizeFloat32Subnormal()
254 *zSigPtr = aSig<<shiftCount; in normalizeFloat32Subnormal()
255 *zExpPtr = 1 - shiftCount; in normalizeFloat32Subnormal()
366 int8 shiftCount; in normalizeRoundAndPackFloat32() local
368 shiftCount = countLeadingZeros32( zSig ) - 1; in normalizeRoundAndPackFloat32()
369 return roundAndPackFloat32( zSign, zExp - shiftCount, zSig<<shiftCount ); in normalizeRoundAndPackFloat32()
420 int8 shiftCount; in normalizeFloat64Subnormal() local
422 shiftCount = countLeadingZeros64( aSig ) - 11; in normalizeFloat64Subnormal()
423 *zSigPtr = aSig<<shiftCount; in normalizeFloat64Subnormal()
424 *zExpPtr = 1 - shiftCount; in normalizeFloat64Subnormal()
538 int8 shiftCount; in normalizeRoundAndPackFloat64() local
540 shiftCount = countLeadingZeros64( zSig ) - 1; in normalizeRoundAndPackFloat64()
541 return roundAndPackFloat64( zSign, zExp - shiftCount, zSig<<shiftCount ); in normalizeRoundAndPackFloat64()
597 int8 shiftCount; in normalizeFloatx80Subnormal() local
599 shiftCount = countLeadingZeros64( aSig ); in normalizeFloatx80Subnormal()
600 *zSigPtr = aSig<<shiftCount; in normalizeFloatx80Subnormal()
601 *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()
910 int8 shiftCount; in normalizeFloat128Subnormal() local
913 shiftCount = countLeadingZeros64( aSig1 ) - 15; in normalizeFloat128Subnormal()
914 if ( shiftCount < 0 ) { in normalizeFloat128Subnormal()
915 *zSig0Ptr = aSig1>>( - shiftCount ); in normalizeFloat128Subnormal()
916 *zSig1Ptr = aSig1<<( shiftCount & 63 ); in normalizeFloat128Subnormal()
919 *zSig0Ptr = aSig1<<shiftCount; in normalizeFloat128Subnormal()
922 *zExpPtr = - shiftCount - 63; in normalizeFloat128Subnormal()
925 shiftCount = countLeadingZeros64( aSig0 ) - 15; in normalizeFloat128Subnormal()
926 shortShift128Left( aSig0, aSig1, shiftCount, zSig0Ptr, zSig1Ptr ); in normalizeFloat128Subnormal()
927 *zExpPtr = 1 - shiftCount; in normalizeFloat128Subnormal()
1084 int8 shiftCount; in normalizeRoundAndPackFloat128() local
1092 shiftCount = countLeadingZeros64( zSig0 ) - 15; in normalizeRoundAndPackFloat128()
1093 if ( 0 <= shiftCount ) { in normalizeRoundAndPackFloat128()
1095 shortShift128Left( zSig0, zSig1, shiftCount, &zSig0, &zSig1 ); in normalizeRoundAndPackFloat128()
1099 zSig0, zSig1, 0, - shiftCount, &zSig0, &zSig1, &zSig2 ); in normalizeRoundAndPackFloat128()
1101 zExp -= shiftCount; in normalizeRoundAndPackFloat128()
1148 int8 shiftCount; in int32_to_float64() local
1154 shiftCount = countLeadingZeros32( absA ) + 21; in int32_to_float64()
1156 return packFloat64( zSign, 0x432 - shiftCount, zSig<<shiftCount ); in int32_to_float64()
1163 int8 shiftCount; in uint32_to_float64() local
1167 shiftCount = countLeadingZeros32( a ) + 21; in uint32_to_float64()
1168 return packFloat64( 0, 0x432 - shiftCount, zSig<<shiftCount ); in uint32_to_float64()
1187 int8 shiftCount; in int32_to_floatx80() local
1193 shiftCount = countLeadingZeros32( absA ) + 32; in int32_to_floatx80()
1195 return packFloatx80( zSign, 0x403E - shiftCount, zSig<<shiftCount ); in int32_to_floatx80()
1201 int8 shiftCount; in uint32_to_floatx80() local
1205 shiftCount = countLeadingZeros32( a ) + 32; in uint32_to_floatx80()
1206 return packFloatx80( 0, 0x403E - shiftCount, zSig<<shiftCount ); in uint32_to_floatx80()
1225 int8 shiftCount; in int32_to_float128() local
1231 shiftCount = countLeadingZeros32( absA ) + 17; in int32_to_float128()
1233 return packFloat128( zSign, 0x402E - shiftCount, zSig0<<shiftCount, 0 ); in int32_to_float128()
1239 int8 shiftCount; in uint32_to_float128() local
1243 shiftCount = countLeadingZeros32( a ) + 17; in uint32_to_float128()
1244 return packFloat128( 0, 0x402E - shiftCount, zSig0<<shiftCount, 0 ); in uint32_to_float128()
1262 int8 shiftCount; in int64_to_float32() local
1267 shiftCount = countLeadingZeros64( absA ) - 40; in int64_to_float32()
1268 if ( 0 <= shiftCount ) { in int64_to_float32()
1269 return packFloat32( zSign, 0x95 - shiftCount, absA<<shiftCount ); in int64_to_float32()
1272 shiftCount += 7; in int64_to_float32()
1273 if ( shiftCount < 0 ) { in int64_to_float32()
1274 shift64RightJamming( absA, - shiftCount, &absA ); in int64_to_float32()
1277 absA <<= shiftCount; in int64_to_float32()
1279 return roundAndPackFloat32( zSign, 0x9C - shiftCount, absA ); in int64_to_float32()
1318 int8 shiftCount; in int64_to_floatx80() local
1323 shiftCount = countLeadingZeros64( absA ); in int64_to_floatx80()
1324 return packFloatx80( zSign, 0x403E - shiftCount, absA<<shiftCount ); in int64_to_floatx80()
1345 int8 shiftCount; in int64_to_float128() local
1352 shiftCount = countLeadingZeros64( absA ) + 49; in int64_to_float128()
1353 zExp = 0x406E - shiftCount; in int64_to_float128()
1354 if ( 64 <= shiftCount ) { in int64_to_float128()
1357 shiftCount -= 64; in int64_to_float128()
1363 shortShift128Left( zSig0, zSig1, shiftCount, &zSig0, &zSig1 ); in int64_to_float128()
1385 int16 aExp, shiftCount; in float32_to_int32() local
1394 shiftCount = 0xAF - aExp; in float32_to_int32()
1397 if ( 0 < shiftCount ) shift64RightJamming( aSig64, shiftCount, &aSig64 ); in float32_to_int32()
1417 int16 aExp, shiftCount; in float32_to_int32_round_to_zero() local
1424 shiftCount = aExp - 0x9E; in float32_to_int32_round_to_zero()
1425 if ( 0 <= shiftCount ) { in float32_to_int32_round_to_zero()
1437 z = aSig>>( - shiftCount ); in float32_to_int32_round_to_zero()
1438 if ( (bits32) ( aSig<<( shiftCount & 31 ) ) ) { in float32_to_int32_round_to_zero()
1461 int16 aExp, shiftCount; in float32_to_int64() local
1468 shiftCount = 0xBE - aExp; in float32_to_int64()
1469 if ( shiftCount < 0 ) { in float32_to_int64()
1479 shift64ExtraRightJamming( aSig64, 0, shiftCount, &aSig64, &aSigExtra ); in float32_to_int64()
1498 int16 aExp, shiftCount; in float32_to_int64_round_to_zero() local
1506 shiftCount = aExp - 0xBE; in float32_to_int64_round_to_zero()
1507 if ( 0 <= shiftCount ) { in float32_to_int64_round_to_zero()
1522 z = aSig64>>( - shiftCount ); in float32_to_int64_round_to_zero()
1523 if ( (bits64) ( aSig64<<( shiftCount & 63 ) ) ) { in float32_to_int64_round_to_zero()
2333 int16 aExp, shiftCount; in float64_to_int32() local
2341 shiftCount = 0x42C - aExp; in float64_to_int32()
2342 if ( 0 < shiftCount ) shift64RightJamming( aSig, shiftCount, &aSig ); in float64_to_int32()
2362 int16 aExp, shiftCount; in float64_to_int32_round_to_zero() local
2378 shiftCount = 0x433 - aExp; in float64_to_int32_round_to_zero()
2380 aSig >>= shiftCount; in float64_to_int32_round_to_zero()
2388 if ( ( aSig<<shiftCount ) != savedASig ) { in float64_to_int32_round_to_zero()
2410 int16 aExp, shiftCount; in float64_to_int64() local
2417 shiftCount = 0x433 - aExp; in float64_to_int64()
2418 if ( shiftCount <= 0 ) { in float64_to_int64()
2430 aSig <<= - shiftCount; in float64_to_int64()
2433 shift64ExtraRightJamming( aSig, 0, shiftCount, &aSig, &aSigExtra ); in float64_to_int64()
2453 int16 aExp, shiftCount; in float64_to_int64_round_to_zero() local
2461 shiftCount = aExp - 0x433; in float64_to_int64_round_to_zero()
2462 if ( 0 <= shiftCount ) { in float64_to_int64_round_to_zero()
2475 z = aSig<<shiftCount; in float64_to_int64_round_to_zero()
2482 z = aSig>>( - shiftCount ); in float64_to_int64_round_to_zero()
2483 if ( (bits64) ( aSig<<( shiftCount & 63 ) ) ) { in float64_to_int64_round_to_zero()
3295 int32 aExp, shiftCount; in floatx80_to_int32() local
3302 shiftCount = 0x4037 - aExp; in floatx80_to_int32()
3303 if ( shiftCount <= 0 ) shiftCount = 1; in floatx80_to_int32()
3304 shift64RightJamming( aSig, shiftCount, &aSig ); in floatx80_to_int32()
3323 int32 aExp, shiftCount; in floatx80_to_int32_round_to_zero() local
3338 shiftCount = 0x403E - aExp; in floatx80_to_int32_round_to_zero()
3340 aSig >>= shiftCount; in floatx80_to_int32_round_to_zero()
3348 if ( ( aSig<<shiftCount ) != savedASig ) { in floatx80_to_int32_round_to_zero()
3369 int32 aExp, shiftCount; in floatx80_to_int64() local
3375 shiftCount = 0x403E - aExp; in floatx80_to_int64()
3376 if ( shiftCount <= 0 ) { in floatx80_to_int64()
3377 if ( shiftCount ) { in floatx80_to_int64()
3390 shift64ExtraRightJamming( aSig, 0, shiftCount, &aSig, &aSigExtra ); in floatx80_to_int64()
3410 int32 aExp, shiftCount; in floatx80_to_int64_round_to_zero() local
3417 shiftCount = aExp - 0x403E; in floatx80_to_int64_round_to_zero()
3418 if ( 0 <= shiftCount ) { in floatx80_to_int64_round_to_zero()
3432 z = aSig>>( - shiftCount ); in floatx80_to_int64_round_to_zero()
3433 if ( (bits64) ( aSig<<( shiftCount & 63 ) ) ) { in floatx80_to_int64_round_to_zero()
4313 int32 aExp, shiftCount; in float128_to_int32() local
4323 shiftCount = 0x4028 - aExp; in float128_to_int32()
4324 if ( 0 < shiftCount ) shift64RightJamming( aSig0, shiftCount, &aSig0 ); in float128_to_int32()
4343 int32 aExp, shiftCount; in float128_to_int32_round_to_zero() local
4361 shiftCount = 0x402F - aExp; in float128_to_int32_round_to_zero()
4363 aSig0 >>= shiftCount; in float128_to_int32_round_to_zero()
4371 if ( ( aSig0<<shiftCount ) != savedASig ) { in float128_to_int32_round_to_zero()
4392 int32 aExp, shiftCount; in float128_to_int64() local
4400 shiftCount = 0x402F - aExp; in float128_to_int64()
4401 if ( shiftCount <= 0 ) { in float128_to_int64()
4413 shortShift128Left( aSig0, aSig1, - shiftCount, &aSig0, &aSig1 ); in float128_to_int64()
4416 shift64ExtraRightJamming( aSig0, aSig1, shiftCount, &aSig0, &aSig1 ); in float128_to_int64()
4436 int32 aExp, shiftCount; in float128_to_int64_round_to_zero() local
4445 shiftCount = aExp - 0x402F; in float128_to_int64_round_to_zero()
4446 if ( 0 < shiftCount ) { in float128_to_int64_round_to_zero()
4461 z = ( aSig0<<shiftCount ) | ( aSig1>>( ( - shiftCount ) & 63 ) ); in float128_to_int64_round_to_zero()
4462 if ( (bits64) ( aSig1<<shiftCount ) ) { in float128_to_int64_round_to_zero()
4473 z = aSig0>>( - shiftCount ); in float128_to_int64_round_to_zero()
4475 || ( shiftCount && (bits64) ( aSig0<<( shiftCount & 63 ) ) ) ) { in float128_to_int64_round_to_zero()
4492 int32 aExp, shiftCount; in float128_to_uint64_round_to_zero() local
4501 shiftCount = aExp - 0x402F; in float128_to_uint64_round_to_zero()
4502 if ( 0 < shiftCount ) { in float128_to_uint64_round_to_zero()
4514 z = ( aSig0<<shiftCount ) | ( aSig1>>( ( - shiftCount ) & 63 ) ); in float128_to_uint64_round_to_zero()
4515 if ( (bits64) ( aSig1<<shiftCount ) ) { in float128_to_uint64_round_to_zero()
4526 z = aSig0>>( - shiftCount ); in float128_to_uint64_round_to_zero()
4527 if (aSig1 || ( shiftCount && (bits64) ( aSig0<<( shiftCount & 63 ) ) ) ) { in float128_to_uint64_round_to_zero()
5520 int16 aExp, shiftCount; in float64_to_uint32_round_to_zero() local
5542 shiftCount = 0x433 - aExp; in float64_to_uint32_round_to_zero()
5544 aSig >>= shiftCount; in float64_to_uint32_round_to_zero()
5546 if ( ( aSig<<shiftCount ) != savedASig ) { in float64_to_uint32_round_to_zero()
5566 int16 aExp, shiftCount; in float32_to_uint32_round_to_zero() local
5573 shiftCount = aExp - 0x9E; in float32_to_uint32_round_to_zero()
5579 if ( 0 < shiftCount ) { in float32_to_uint32_round_to_zero()
5588 z = aSig>>( - shiftCount ); in float32_to_uint32_round_to_zero()
5589 if ( aSig<<( shiftCount & 31 ) ) { in float32_to_uint32_round_to_zero()