diff options
author | Timothy B. Terriberry <tterribe@xiph.org> | 2015-01-02 15:48:54 -0800 |
---|---|---|
committer | Timothy B. Terriberry <tterribe@xiph.org> | 2015-01-02 16:16:21 -0800 |
commit | 7422189ab16de442554da7f73c3c6f3c15130d22 (patch) | |
tree | 38894f0c3d4cca820268fe881fc334d5bb1a7422 /silk/x86 | |
parent | 23f503ad1c388aa9171af931ccb2f114f0839e0e (diff) | |
download | opus-7422189ab16de442554da7f73c3c6f3c15130d22.tar.gz |
Fix silk_VQ_WMat_EC_sse4_1().
During review of c95c9a048f32, I replaced a call to
_mm_cvtepi8_epi32() with the OP_CVTEPI16_EPI32_M64() macro (note
the 16 instead of 8).
Make a separate OP_CVTEPI8_EPI32_M32() macro and use that instead.
Thaks to Wei Zhou for the report.
Diffstat (limited to 'silk/x86')
-rw-r--r-- | silk/x86/VQ_WMat_EC_sse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/silk/x86/VQ_WMat_EC_sse.c b/silk/x86/VQ_WMat_EC_sse.c index 1460cead..74d6c6d0 100644 --- a/silk/x86/VQ_WMat_EC_sse.c +++ b/silk/x86/VQ_WMat_EC_sse.c @@ -65,7 +65,7 @@ void silk_VQ_WMat_EC_sse4_1( diff_Q14[ 0 ] = in_Q14[ 0 ] - silk_LSHIFT( cb_row_Q7[ 0 ], 7 ); C_tmp1 = OP_CVTEPI16_EPI32_M64( &in_Q14[ 1 ] ); - C_tmp2 = OP_CVTEPI16_EPI32_M64( &cb_row_Q7[ 1 ] ); + C_tmp2 = OP_CVTEPI8_EPI32_M32( &cb_row_Q7[ 1 ] ); C_tmp2 = _mm_slli_epi32( C_tmp2, 7 ); C_tmp1 = _mm_sub_epi32( C_tmp1, C_tmp2 ); |