Home
last modified time | relevance | path

Searched refs:expL (Results 1 – 4 of 4) sorted by relevance

/external/neven/Embedded/common/src/b_BasicEm/
DMath.c50 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()
[all …]
/external/neven/Embedded/common/src/b_TensorEm/
DCompactAlt.c190 int32 expL = inExpA; in bts_CompactAlt_map() local
193 expL += mapExpL; in bts_CompactAlt_map()
199 if( expL == ptrA->vecExpE ) in bts_CompactAlt_map()
202 expL += 1; in bts_CompactAlt_map()
204 else if( expL > ptrA->vecExpE ) in bts_CompactAlt_map()
206 int32 shrL = expL - ptrA->vecExpE; in bts_CompactAlt_map()
209 expL += 1; in bts_CompactAlt_map()
213 int32 shrL = ptrA->vecExpE - expL; in bts_CompactAlt_map()
216 expL += 1 + shrL; in bts_CompactAlt_map()
221 if( expL < -32767 ) in bts_CompactAlt_map()
[all …]
DFlt16Vec.c293 int16 expL = 0; in bts_Flt16Vec_normalize() local
299 while( ( ( normL >> -expL ) & 0xFFFE0000 ) != 0 ) expL--; in bts_Flt16Vec_normalize()
300 normL >>= -expL; in bts_Flt16Vec_normalize()
304 while( ( ( normL << expL ) & 0xFFFF0000 ) == 0 ) expL++; in bts_Flt16Vec_normalize()
305 normL <<= expL; in bts_Flt16Vec_normalize()
315 ptrA->expE = expL - 16; in bts_Flt16Vec_normalize()
338 int16 expL = expA; in bts_Flt16Vec_mul() local
365 expL += shrL; in bts_Flt16Vec_mul()
379 expL -= shlL; in bts_Flt16Vec_mul()
386 ptrA->expE += expL + 16; in bts_Flt16Vec_mul()
DMat.c200 int16 expL = 0; in bts_Mat_map() local
202 bts_CompactMat_map( cpA, &ptrL->matE, inVecPtrA->arrE.arrPtrE, outVecPtrA->arrE.arrPtrE, &expL ); in bts_Mat_map()
203 outExpL += expL; in bts_Mat_map()