Commit ce1fa84f authored by thomas dettbarn's avatar thomas dettbarn
Browse files

improved WMOPS by 5 percent when changing IF to if in ivas_band_cov_fx().

parent 78cb4903
Loading
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -536,7 +536,7 @@ static void ivas_band_cov_fx(
            move16();
            FOR( k = 0; k < num_bins; k++ )
            {
                IF( pV_re_64bit[k] != 0 )
                if( pV_re_64bit[k] != 0 )
                {
                    q_shift = s_min( q_shift, W_norm( pV_re_64bit[k] ) );
                }
@@ -546,7 +546,7 @@ static void ivas_band_cov_fx(
                pV_re[k] = W_extract_l( W_shl_nosat( pV_re_64bit[k], sub( q_shift, 32 ) ) ); //(q_In_FR[i1] + q_In_FR[j1]) + (q_shift - 32)
                move32();
                /* perform rounding towards lower value for negative results */
                IF( pV_re[k] < 0 )
                if( pV_re[k] < 0 )
                {
                    pV_re[k] = L_add( pV_re[k], 1 );
                }
@@ -595,7 +595,7 @@ static void ivas_band_cov_fx(
            move16();
            FOR( k = start_band; k < end_band; k++ )
            {
                IF( cov_real_64bit[i][j][k] != 0 )
                if( cov_real_64bit[i][j][k] != 0 )
                {
                    q_shift = s_min( q_shift, W_norm( cov_real_64bit[i][j][k] ) );
                }