Commit 97e3e841 authored by Sandesh Venkatesh's avatar Sandesh Venkatesh
Browse files

Merge branch 'matrix_product_update_ltv_crash_fix' into 'main'

Matrix product update to fix LTV crash issue

See merge request !464
parents 956878fb 86cd1d05
Loading
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -1775,7 +1775,7 @@ Word16 matrix_product_q30_fx(
                    W_tmp = W_add( W_tmp, W_mult0_32_32( X_fx[x_idx], Y_fx[y_idx] ) ); // Q56
                }
                W_tmp = W_shl( W_tmp, 6 );
                ( *Zp_fx ) = L_sub( W_round64_L( W_tmp ), 64 ); // adjusting for precision
                ( *Zp_fx ) = W_round64_L( W_tmp );
                move32();
                Zp_fx++;
            }
@@ -1802,7 +1802,7 @@ Word16 matrix_product_q30_fx(
                    W_tmp = W_add( W_tmp, W_mult0_32_32( X_fx[x_idx], Y_fx[y_idx] ) ); // Q56
                }
                W_tmp = W_shl( W_tmp, 6 );
                ( *Zp_fx ) = L_sub( W_round64_L( W_tmp ), 64 ); // adjusting for precision
                ( *Zp_fx ) = W_round64_L( W_tmp );
                move32();
                Zp_fx++;
            }
@@ -1830,7 +1830,7 @@ Word16 matrix_product_q30_fx(
                }

                W_tmp = W_shl( W_tmp, 6 );
                ( *Zp_fx ) = L_sub( W_round64_L( W_tmp ), 64 ); // adjusting for precision
                ( *Zp_fx ) = W_round64_L( W_tmp );
                move32();
                Zp_fx++;
            }
@@ -1858,7 +1858,7 @@ Word16 matrix_product_q30_fx(
                    W_tmp = W_add( W_tmp, W_mult0_32_32( X_fx[x_idx], Y_fx[y_idx] ) ); // Q56
                }
                W_tmp = W_shl( W_tmp, 6 );
                ( *Zp_fx ) = L_sub( W_round64_L( W_tmp ), 64 ); // adjusting for precision
                ( *Zp_fx ) = W_round64_L( W_tmp );
                move32();
                Zp_fx++;
            }