Lines Matching refs:expL
50 uint32 expL = 0; in bbs_sqrt32() local
51 expL += ( ( valA >> ( expL + 0x10 ) ) != 0 ) << 4; in bbs_sqrt32()
52 expL += ( ( valA >> ( expL + 0x08 ) ) != 0 ) << 3; in bbs_sqrt32()
53 expL += ( ( valA >> ( expL + 0x04 ) ) != 0 ) << 2; in bbs_sqrt32()
54 expL += ( ( valA >> ( expL + 0x02 ) ) != 0 ) << 1; in bbs_sqrt32()
55 switch( expL >> 1 ) in bbs_sqrt32()
127 uint32 expL = 0; in bbs_fastSqrt32() local
135 expL += ( ( valA >> ( expL + 0x10 ) ) != 0 ) << 4; in bbs_fastSqrt32()
136 expL += ( ( valA >> ( expL + 0x08 ) ) != 0 ) << 3; in bbs_fastSqrt32()
137 expL += ( ( valA >> ( expL + 0x04 ) ) != 0 ) << 2; in bbs_fastSqrt32()
138 expL += ( ( valA >> ( expL + 0x02 ) ) != 0 ) << 1; in bbs_fastSqrt32()
140 valL = ( ( valA << ( 30 - expL ) ) - 1073741824 ); /* ( 1 << 30 ) */ in bbs_fastSqrt32()
144 …tSqrt32_tableG[ indexL ] + offsL * bbs_fastSqrt32_tableG[ indexL + 1 ] ) >> ( 28 - ( expL >> 1 ) ); in bbs_fastSqrt32()
182 uint32 expL = 0; in bbs_invSqrt32() local
190 expL += ( ( valA >> ( expL + 0x10 ) ) != 0 ) << 4; in bbs_invSqrt32()
191 expL += ( ( valA >> ( expL + 0x08 ) ) != 0 ) << 3; in bbs_invSqrt32()
192 expL += ( ( valA >> ( expL + 0x04 ) ) != 0 ) << 2; in bbs_invSqrt32()
193 expL += ( ( valA >> ( expL + 0x02 ) ) != 0 ) << 1; in bbs_invSqrt32()
195 valL = ( ( valA << ( 30 - expL ) ) - 1073741824 ); /* ( 1 << 30 ) */ in bbs_invSqrt32()
199 …return ( bbs_invSqrt32_tableG[ indexL ] - offsL * bbs_invSqrt32_tableG[ indexL + 1 ] ) >> ( expL >… in bbs_invSqrt32()
221 uint32 expL = 0; in bbs_inv32() local
230 expL += ( ( valL >> ( expL + 0x10 ) ) != 0 ) << 4; in bbs_inv32()
231 expL += ( ( valL >> ( expL + 0x08 ) ) != 0 ) << 3; in bbs_inv32()
232 expL += ( ( valL >> ( expL + 0x04 ) ) != 0 ) << 2; in bbs_inv32()
233 expL += ( ( valL >> ( expL + 0x02 ) ) != 0 ) << 1; in bbs_inv32()
234 expL += ( ( valL >> ( expL + 0x01 ) ) != 0 ); in bbs_inv32()
236 valL = ( ( valL << ( 30 - expL ) ) - 1073741824 ); /*( 1U << 30 )*/ in bbs_inv32()
240 …bs_inv32_tableG[ indexL ] - offsL * bbs_inv32_tableG[ indexL + 1 ] ) >> ( expL - 1 ) ) + 1 ) >> 1 … in bbs_inv32()
247 uint32 expL = 0; in bbs_intLog2() local
248 expL += 0x10 * ( ( valA >> ( expL + 0x10 ) ) != 0 ); in bbs_intLog2()
249 expL += 0x08 * ( ( valA >> ( expL + 0x08 ) ) != 0 ); in bbs_intLog2()
250 expL += 0x04 * ( ( valA >> ( expL + 0x04 ) ) != 0 ); in bbs_intLog2()
251 expL += 0x02 * ( ( valA >> ( expL + 0x02 ) ) != 0 ); in bbs_intLog2()
252 expL += 0x01 * ( ( valA >> ( expL + 0x01 ) ) != 0 ); in bbs_intLog2()
253 return expL; in bbs_intLog2()
949 int32 expL = ( logL > 14 ) ? logL - 14 : 0; in bbs_vecSqrNorm32() local
952 if( expL >= 1 ) in bbs_vecSqrNorm32()
954 vL = ( ( vL >> ( expL - 1 ) ) + 1 ) >> 1; in bbs_vecSqrNorm32()
958 vL = vL >> expL; in bbs_vecSqrNorm32()
962 expL <<= 1; /* now exponent of product */ in bbs_vecSqrNorm32()
964 if( sumExpL > expL ) in bbs_vecSqrNorm32()
966 uint32 shrL = sumExpL - expL; in bbs_vecSqrNorm32()
969 else if( expL > sumExpL ) in bbs_vecSqrNorm32()
971 uint32 shrL = expL - sumExpL; in bbs_vecSqrNorm32()
1040 uint32 expL; in bbs_vecNorm16() local
1041 bbs_vecSqrNorm16( vecA, sizeA, &manL, &expL ); in bbs_vecNorm16()
1043 return manL << ( expL >> 1 ); in bbs_vecNorm16()