Skip to content

Commit

Permalink
Fix run-time warning in NSQ_del_dec_avx2()
Browse files Browse the repository at this point in the history
  • Loading branch information
jmvalin committed Sep 20, 2024
1 parent 92b3d27 commit d9b8300
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion silk/x86/NSQ_del_dec_avx2.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ static OPUS_INLINE __m128i silk_mm_smulww_epi32(__m128i a, opus_int32 b)
/* (a32 * (opus_int32)((opus_int16)(b32))) >> 16 output have to be 32bit int */
static OPUS_INLINE __m128i silk_mm_smulwb_epi32(__m128i a, opus_int32 b)
{
return silk_cvtepi64_epi32_high(_mm256_mul_epi32(_mm256_cvtepi32_epi64(a), _mm256_set1_epi32(silk_LSHIFT(b, 16))));
return silk_cvtepi64_epi32_high(_mm256_mul_epi32(_mm256_cvtepi32_epi64(a), _mm256_set1_epi32((opus_uint32)b<<16)));
}

/* (opus_int32)((opus_int16)(a3))) * (opus_int32)((opus_int16)(b32)) output have to be 32bit int */
Expand Down

0 comments on commit d9b8300

Please sign in to comment.