Skip to content
Snippets Groups Projects
Unverified Commit be67ea8c authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

Fixes wrap-around in silk_inner_prod16_sse4_1()

Thanks Tim
parent 57ddf37c
No related branches found
No related tags found
No related merge requests found
......@@ -36,6 +36,7 @@
#include "SigProc_FIX.h"
#include "pitch.h"
#include "celt/x86/x86cpu.h"
opus_int64 silk_inner_prod16_sse4_1(
const opus_int16 *inVec1, /* I input vector 1 */
......@@ -78,7 +79,7 @@ opus_int64 silk_inner_prod16_sse4_1(
_mm_storel_epi64( (__m128i *)&sum, acc1 );
for( ; i < len; i++ ) {
sum = silk_SMLABB( sum, inVec1[ i ], inVec2[ i ] );
sum = silk_SMLALBB( sum, inVec1[ i ], inVec2[ i ] );
}
#ifdef OPUS_CHECK_ASM
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment