Lines Matching refs:shiftL

289 	int32 shiftL = 16 - ( valA >> 27 );  in bbs_pow2()  local
291 if( shiftL == 32 ) return 1; in bbs_pow2()
292 return ( 1 << ( 32 - shiftL ) ) + ( bbs_pow2M1( offsL ) >> shiftL ); in bbs_pow2()
300 int32 shiftL; in bbs_exp() local
316 shiftL = 16 - ( adjustedL >> 27 ); in bbs_exp()
317 if( shiftL == 32 ) return 1; in bbs_exp()
319 return ( ( int32 ) 1 << ( 32 - shiftL ) ) + ( bbs_pow2M1( offsL ) >> shiftL ); in bbs_exp()
743 int32 shiftL = posHighestBitL - nBitsA; in bbs_uint32ReduceToNBits() local
744 if( shiftL > 0 ) in bbs_uint32ReduceToNBits()
746 ( *argPtrA ) >>= shiftL; in bbs_uint32ReduceToNBits()
747 ( *bbpPtrA ) -= shiftL; in bbs_uint32ReduceToNBits()
756 int32 shiftL = posHighestBitL - nBitsA; in bbs_int32ReduceToNBits() local
757 if( shiftL > 0 ) in bbs_int32ReduceToNBits()
759 ( *argPtrA ) >>= shiftL; in bbs_int32ReduceToNBits()
760 ( *bbpPtrA ) -= shiftL; in bbs_int32ReduceToNBits()
770 uint32 shiftL = dstBbpA - srcBbpA; in bbs_convertU32() local
771 if( srcA > ( ( uint32 )0xFFFFFFFF >> shiftL ) ) in bbs_convertU32()
778 return srcA << shiftL; in bbs_convertU32()
783 uint32 shiftL = srcBbpA - dstBbpA; in bbs_convertU32() local
784 uint32 addL = 1L << ( shiftL - 1 ); in bbs_convertU32()
788 return srcA >> shiftL; in bbs_convertU32()
792 return ( srcA + addL ) >> shiftL; in bbs_convertU32()
803 uint32 shiftL = ( uint32 )( dstBbpA - srcBbpA ); in bbs_convertS32() local
804 if( srcA > ( ( int32 )0x7FFFFFFF >> shiftL ) ) in bbs_convertS32()
809 else if( srcA < ( ( int32 )0x80000000 >> shiftL ) ) in bbs_convertS32()
816 return srcA << shiftL; in bbs_convertS32()
821 uint32 shiftL = ( uint32 )( srcBbpA - dstBbpA ); in bbs_convertS32() local
822 int32 addL = 1L << ( shiftL - 1 ); in bbs_convertS32()
826 return srcA >> shiftL; in bbs_convertS32()
830 return ( srcA + addL ) >> shiftL; in bbs_convertS32()