Commit 19bb0a2f authored by Nicolas Roussin's avatar Nicolas Roussin
Browse files

Merge branch '2181-optimize-matrixtransp1mul_fx' into...

Merge branch '2181-optimize-matrixtransp1mul_fx' into 2182-move-scaling-operations-outside-matrix-mul-operations
parents 80157a7d c551423d
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -4075,16 +4075,16 @@ static void matrixTransp1Mul_fx(
            tmp64 = W_mult_32_32( Are_fx[0][chA], Bre_fx[0][chB] );
            tmp64 = W_mac_32_32( tmp64, Are_fx[1][chA], Bre_fx[1][chB] );
            tmp64 = W_mac_32_32( tmp64, Aim_fx[0][chA], Bim_fx[0][chB] );
            tmp_outRe_fx[chA][chB] = tmp64 = W_mac_32_32( tmp64, Aim_fx[1][chA], Bim_fx[1][chB] );
            tmp_outRe_fx[chA][chB] = W_mac_32_32( tmp64, Aim_fx[1][chA], Bim_fx[1][chB] );
            move64();
            common_lsh = s_min( common_lsh, W_norm( tmp64 ) );
            common_lsh = s_min( common_lsh, W_norm( tmp_outRe_fx[chA][chB] ) );

            tmp64 = W_mult_32_32( Aim_fx[0][chA], Bre_fx[0][chB] );
            tmp64 = W_mac_32_32( tmp64, Aim_fx[1][chA], Bre_fx[1][chB] );
            tmp64 = W_mac_32_32( W_neg( tmp64 ), Are_fx[0][chA], Bim_fx[0][chB] );
            tmp_outIm_fx[chA][chB] = tmp64 = W_mac_32_32( tmp64, Are_fx[1][chA], Bim_fx[1][chB] );
            tmp_outIm_fx[chA][chB] = W_mac_32_32( tmp64, Are_fx[1][chA], Bim_fx[1][chB] );
            move64();
            common_lsh = s_min( common_lsh, W_norm( tmp64 ) );
            common_lsh = s_min( common_lsh, W_norm( tmp_outIm_fx[chA][chB] ) );
        }
    }
    FOR( chA = 0; chA < BINAURAL_CHANNELS; chA++ )