Commit 6d1e5d53 authored by multrus's avatar multrus
Browse files

[cleanup] accept FIX_1762_COMPILER_ISSUE_NEW

parent 8c9cd16e
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -75,7 +75,6 @@



#define FIX_1762_COMPILER_ISSUE_NEW                          /* FhG: fix compiler issues with W_mac_32_32() + ONE_IN_Q30 */
#define ISSUE_1796_replace_shl_o                             /* FhG: replace shl_ro by overflow-free alternatives - BE*/
#define ISSUE_1799_replace_L_shr_o                           /* FhG: replace by non-overflow-alternative - BE */
#define ISSUE_1836_replace_overflow_libcom                   /* FhG: replace overflow operators by non-overflow-alternatives - BE */
+0 −4
Original line number Diff line number Diff line
@@ -370,11 +370,7 @@ void find_tilt_ivas_fx(
    FOR( i = 0; i < 2; i++ )
    {
        /*hp_E[i] = 0.5f * (hf_bands[max_band-1] + hf_bands[max_band]) - hp_bckr; */ /* averaged E in last 2 critical bands */
#ifndef FIX_1762_COMPILER_ISSUE_NEW
        Ltmp = W_extract_h( W_mac_32_32( W_mult_32_32( hf_bands[max_band - 1], ONE_IN_Q30 ), hf_bands[max_band], ONE_IN_Q30 ) ); // q_fr_bands
#else
        Ltmp = W_extract_h( W_shl( W_add( W_deposit32_l( hf_bands[max_band - 1] ), W_deposit32_l( hf_bands[max_band] ) ), 31 ) ); // q_fr_bands
#endif
        Ltmp = L_sub( Ltmp, hp_bckr ); // q_fr_bands

        Ltmp2 = L_max( Ltmp, L_shl_sat( 1, q_fr_bands ) ); // q_fr_bands, saturation is added because q_fr_bands is limited to 31