Commit ab28b552 authored by multrus's avatar multrus Committed by Sandesh Venkatesh
Browse files

revert problematic ISqrt32() call, and stick to default code

parent 0d027294
Loading
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -3358,12 +3358,14 @@ static void eig2x2_fx(

            tmp3 = BASOP_Util_Add_Mant32Exp( tmp2, sub( 31, q_tmp2 ), epsilon_mant, epsilon_exp, &exp_tmp3 );

#ifndef FIX_1009_REPLACE_DIV_SQRT_BY_ISQRT_LC
#if 1
            tmp2 = BASOP_Util_Divide3232_Scale_cadence( ONE_IN_Q30, tmp3, &exp );
            exp = sub( exp, sub( Q30, sub( 31, exp_tmp3 ) ) );
            normVal_fx = Sqrt32( tmp2, &exp ); // q_tmp2
            q_tmp2 = sub( 31, exp );
#else
            /* Note: This code part does not work yet, see pipeline issue for BASOP #1009  */
            /* although the same code works at other places: mantissa and q_format is fine */
            normVal_fx = ISqrt32( tmp3, &exp_tmp3 );
            q_tmp2 = sub( 31, exp_tmp3 );
#endif