Commit e23f7a29 authored by vaillancour's avatar vaillancour Committed by Manuel Jander
Browse files

Revert "Fix proposal for 2264, out-of-bound access in log2"

This reverts commit 8d30cdc1.
parent 1e50c36b
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -1177,9 +1177,6 @@ void swb_pre_proc_ivas_fx(
                CldfbHB_fx = EPSILON_FX;
                move32();
            }
#ifdef FIX_2264_OUT_OF_BOUND_READING_IN_LOG2_NORM_LC 
            exp = norm_l( CldfbHB_fx );
#endif
            CldfbHB_fx = L_shl( CldfbHB_fx, exp );   /* CldfbHB_ener = CldfbHB_fl*2^(exp) */
            Cldfbtemp1 = Log2_norm_lc( CldfbHB_fx ); /* Log2_norm_lc(t) = 2^15*(log2(t/2^30)) */
            Cldfbtemp1 = sub( shr( Cldfbtemp1, 6 ), shl( add( sub( Q31 - Q30, CldfbHB_fx_e ), exp ), 9 ) );