Lines Matching refs:shiftcount
264 int8 shiftCount;
266 shiftCount = countLeadingZeros32( aSig ) - 8;
267 *zSigPtr = aSig<<shiftCount;
268 *zExpPtr = 1 - shiftCount;
381 int8 shiftCount;
383 shiftCount = countLeadingZeros32( zSig ) - 1;
384 return roundAndPackFloat32( zSign, zExp - shiftCount, zSig<<shiftCount STATUS_VAR);
446 int8 shiftCount;
448 shiftCount = countLeadingZeros64( aSig ) - 11;
449 *zSigPtr = aSig<<shiftCount;
450 *zExpPtr = 1 - shiftCount;
563 int8 shiftCount;
565 shiftCount = countLeadingZeros64( zSig ) - 1;
566 return roundAndPackFloat64( zSign, zExp - shiftCount, zSig<<shiftCount STATUS_VAR);
616 int8 shiftCount;
618 shiftCount = countLeadingZeros64( aSig );
619 *zSigPtr = aSig<<shiftCount;
620 *zExpPtr = 1 - shiftCount;
840 int8 shiftCount;
847 shiftCount = countLeadingZeros64( zSig0 );
848 shortShift128Left( zSig0, zSig1, shiftCount, &zSig0, &zSig1 );
849 zExp -= shiftCount;
921 int8 shiftCount;
924 shiftCount = countLeadingZeros64( aSig1 ) - 15;
925 if ( shiftCount < 0 ) {
926 *zSig0Ptr = aSig1>>( - shiftCount );
927 *zSig1Ptr = aSig1<<( shiftCount & 63 );
930 *zSig0Ptr = aSig1<<shiftCount;
933 *zExpPtr = - shiftCount - 63;
936 shiftCount = countLeadingZeros64( aSig0 ) - 15;
937 shortShift128Left( aSig0, aSig1, shiftCount, zSig0Ptr, zSig1Ptr );
938 *zExpPtr = 1 - shiftCount;
1096 int8 shiftCount;
1104 shiftCount = countLeadingZeros64( zSig0 ) - 15;
1105 if ( 0 <= shiftCount ) {
1107 shortShift128Left( zSig0, zSig1, shiftCount, &zSig0, &zSig1 );
1111 zSig0, zSig1, 0, - shiftCount, &zSig0, &zSig1, &zSig2 );
1113 zExp -= shiftCount;
1145 int8 shiftCount;
1151 shiftCount = countLeadingZeros32( absA ) + 21;
1153 return packFloat64( zSign, 0x432 - shiftCount, zSig<<shiftCount );
1168 int8 shiftCount;
1174 shiftCount = countLeadingZeros32( absA ) + 32;
1176 return packFloatx80( zSign, 0x403E - shiftCount, zSig<<shiftCount );
1190 int8 shiftCount;
1196 shiftCount = countLeadingZeros32( absA ) + 17;
1198 return packFloat128( zSign, 0x402E - shiftCount, zSig0<<shiftCount, 0 );
1212 int8 shiftCount;
1217 shiftCount = countLeadingZeros64( absA ) - 40;
1218 if ( 0 <= shiftCount ) {
1219 return packFloat32( zSign, 0x95 - shiftCount, absA<<shiftCount );
1222 shiftCount += 7;
1223 if ( shiftCount < 0 ) {
1224 shift64RightJamming( absA, - shiftCount, &absA );
1227 absA <<= shiftCount;
1229 return roundAndPackFloat32( zSign, 0x9C - shiftCount, absA STATUS_VAR );
1236 int8 shiftCount;
1239 shiftCount = countLeadingZeros64( a ) - 40;
1240 if ( 0 <= shiftCount ) {
1241 return packFloat32(0, 0x95 - shiftCount, a<<shiftCount);
1244 shiftCount += 7;
1245 if ( shiftCount < 0 ) {
1246 shift64RightJamming( a, - shiftCount, &a );
1249 a <<= shiftCount;
1251 return roundAndPackFloat32(0, 0x9C - shiftCount, a STATUS_VAR);
1299 int8 shiftCount;
1304 shiftCount = countLeadingZeros64( absA );
1305 return packFloatx80( zSign, 0x403E - shiftCount, absA<<shiftCount );
1319 int8 shiftCount;
1326 shiftCount = countLeadingZeros64( absA ) + 49;
1327 zExp = 0x406E - shiftCount;
1328 if ( 64 <= shiftCount ) {
1331 shiftCount -= 64;
1337 shortShift128Left( zSig0, zSig1, shiftCount, &zSig0, &zSig1 );
1363 int_fast16_t aExp, shiftCount;
1373 shiftCount = 0xAF - aExp;
1376 if ( 0 < shiftCount ) shift64RightJamming( aSig64, shiftCount, &aSig64 );
1394 int_fast16_t aExp, shiftCount;
1402 shiftCount = aExp - 0x9E;
1403 if ( 0 <= shiftCount ) {
1415 z = aSig>>( - shiftCount );
1416 if ( (uint32_t) ( aSig<<( shiftCount & 31 ) ) ) {
1437 int_fast16_t aExp, shiftCount;
1444 shiftCount = aExp - 0x8E;
1445 if ( 0 <= shiftCount ) {
1460 shiftCount -= 0x10;
1462 z = aSig>>( - shiftCount );
1463 if ( (uint32_t) ( aSig<<( shiftCount & 31 ) ) ) {
1486 int_fast16_t aExp, shiftCount;
1494 shiftCount = 0xBE - aExp;
1495 if ( shiftCount < 0 ) {
1505 shift64ExtraRightJamming( aSig64, 0, shiftCount, &aSig64, &aSigExtra );
1523 int_fast16_t aExp, shiftCount;
1532 shiftCount = aExp - 0xBE;
1533 if ( 0 <= shiftCount ) {
1548 z = aSig64>>( - shiftCount );
1549 if ( (uint64_t) ( aSig64<<( shiftCount & 63 ) ) ) {
2154 int shiftcount;
2333 shiftcount = countLeadingZeros64(zSig64) - 1;
2334 zSig64 <<= shiftcount;
2335 zExp -= shiftcount;
2750 int_fast16_t aExp, shiftCount;
2759 shiftCount = 0x42C - aExp;
2760 if ( 0 < shiftCount ) shift64RightJamming( aSig, shiftCount, &aSig );
2778 int_fast16_t aExp, shiftCount;
2795 shiftCount = 0x433 - aExp;
2797 aSig >>= shiftCount;
2805 if ( ( aSig<<shiftCount ) != savedASig ) {
2825 int_fast16_t aExp, shiftCount;
2845 shiftCount = 0x433 - aExp;
2847 aSig >>= shiftCount;
2857 if ( ( aSig<<shiftCount ) != savedASig ) {
2876 int_fast16_t aExp, shiftCount;
2884 shiftCount = 0x433 - aExp;
2885 if ( shiftCount <= 0 ) {
2897 aSig <<= - shiftCount;
2900 shift64ExtraRightJamming( aSig, 0, shiftCount, &aSig, &aSigExtra );
2919 int_fast16_t aExp, shiftCount;
2928 shiftCount = aExp - 0x433;
2929 if ( 0 <= shiftCount ) {
2942 z = aSig<<shiftCount;
2949 z = aSig>>( - shiftCount );
2950 if ( (uint64_t) ( aSig<<( shiftCount & 63 ) ) ) {
3028 int8 shiftCount;
3034 shiftCount = countLeadingZeros32( aSig ) - 21;
3035 aSig = aSig << shiftCount;
3036 aExp = -shiftCount;
3707 int shiftcount;
3894 shiftcount = countLeadingZeros64(zSig0) - 1;
3895 shortShift128Left(zSig0, zSig1, shiftcount, &zSig0, &zSig1);
3899 zExp -= shiftcount;
3901 shiftcount = countLeadingZeros64(zSig1);
3902 if (shiftcount == 0) {
3906 shiftcount--;
3907 zSig0 = zSig1 << shiftcount;
3908 zExp -= (shiftcount + 64);
4243 int32 aExp, shiftCount;
4250 shiftCount = 0x4037 - aExp;
4251 if ( shiftCount <= 0 ) shiftCount = 1;
4252 shift64RightJamming( aSig, shiftCount, &aSig );
4270 int32 aExp, shiftCount;
4285 shiftCount = 0x403E - aExp;
4287 aSig >>= shiftCount;
4295 if ( ( aSig<<shiftCount ) != savedASig ) {
4315 int32 aExp, shiftCount;
4321 shiftCount = 0x403E - aExp;
4322 if ( shiftCount <= 0 ) {
4323 if ( shiftCount ) {
4336 shift64ExtraRightJamming( aSig, 0, shiftCount, &aSig, &aSigExtra );
4355 int32 aExp, shiftCount;
4362 shiftCount = aExp - 0x403E;
4363 if ( 0 <= shiftCount ) {
4377 z = aSig>>( - shiftCount );
4378 if ( (uint64_t) ( aSig<<( shiftCount & 63 ) ) ) {
5270 int32 aExp, shiftCount;
5280 shiftCount = 0x4028 - aExp;
5281 if ( 0 < shiftCount ) shift64RightJamming( aSig0, shiftCount, &aSig0 );
5299 int32 aExp, shiftCount;
5317 shiftCount = 0x402F - aExp;
5319 aSig0 >>= shiftCount;
5327 if ( ( aSig0<<shiftCount ) != savedASig ) {
5347 int32 aExp, shiftCount;
5355 shiftCount = 0x402F - aExp;
5356 if ( shiftCount <= 0 ) {
5368 shortShift128Left( aSig0, aSig1, - shiftCount, &aSig0, &aSig1 );
5371 shift64ExtraRightJamming( aSig0, aSig1, shiftCount, &aSig0, &aSig1 );
5390 int32 aExp, shiftCount;
5399 shiftCount = aExp - 0x402F;
5400 if ( 0 < shiftCount ) {
5415 z = ( aSig0<<shiftCount ) | ( aSig1>>( ( - shiftCount ) & 63 ) );
5416 if ( (uint64_t) ( aSig1<<shiftCount ) ) {
5427 z = aSig0>>( - shiftCount );
5429 || ( shiftCount && (uint64_t) ( aSig0<<( shiftCount & 63 ) ) ) ) {