Commit 4307169b authored by Fabian Bauer's avatar Fabian Bauer
Browse files

disable critical parts, outer wraps

parent 15771f4e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -605,7 +605,7 @@ Word32 calc_tilt_bwe_fx( /* o : Tilt in Q24
            tmp1 = mult_ro( *ptr++, 8192 /*0.25 in Q15 */, &Overflow ); /* Divide by 4 */
            L_ener = L_mac0_o( L_ener, tmp1, tmp1, &Overflow );
        }
#ifdef ISSUE_1799_replace_L_shr_o
#ifdef ISSUE_1799_replace_L_shr_o__
        /*Overflow will never happen because exp2 is always positive*/
        L_ener = L_shr( L_ener, exp2 );
#else
+1 −1
Original line number Diff line number Diff line
@@ -3300,7 +3300,7 @@ Word32 Calc_Energy_Autoscaled( /* o: Result (Energy)
            temp = mult_ro( *signal++, 16384, &Overflow );
            L_temp = L_mac0_o( L_temp, temp, temp, &Overflow );
        }
#ifdef ISSUE_1799_replace_L_shr_o
#ifdef ISSUE_1799_replace_L_shr_o__
        /*Overfloe will never happen because temp2 is always positive*/
        L_temp = L_shr( L_temp, temp2 );
#else
+1 −1
Original line number Diff line number Diff line
@@ -173,7 +173,7 @@ static Word16 GetSubbandCorrIndex2_har_fx( /* o :
            corr_sq_hi_fx = extract_h( L_corr_sq );

            L_corr_sq = L_mult_o( corr_sq_hi_fx, corr_sq_hi_fx, &Overflow ); /* (((Qhi:Qsh+exp_norm_hi-16)+Qss+1)+exp_norm-16)*2+1 */
#ifdef ISSUE_1799_replace_L_shr_o
#ifdef ISSUE_1799_replace_L_shr_o__
            L_corr_sq = L_shr_sat( L_corr_sq, s_min( shl( exp_norm, 1 ), 31 ) ); /* (QCorr-16)*2+1 */
            /*  Catching an Overflow: solve MAX_32 = x / 2^y for integers x < 2^31 and y :
                x has to be MAX_32 and y has to be 0