summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZvictoria <victoria.zhislina@intel,com>2017-05-23 14:18:03 +0300
committerZvictoria <victoria.zhislina@intel,com>2017-05-23 14:18:03 +0300
commitba81ba025c8c54c0d6cff1723b6cfe1cc9a0b3d6 (patch)
treec6b0f17987d5ad6c2af2034570dbdcc44c170bdb
parent1d0c424044da57d47c43d4c5a48e649d247d0735 (diff)
downloadneon_2_sse-ba81ba025c8c54c0d6cff1723b6cfe1cc9a0b3d6.tar.gz
Bug fix in vrshrn_n_s32 function
-rw-r--r--NEON_2_SSE.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/NEON_2_SSE.h b/NEON_2_SSE.h
index 14a6044..1252bd1 100644
--- a/NEON_2_SSE.h
+++ b/NEON_2_SSE.h
@@ -8752,7 +8752,7 @@ _NEON2SSE_INLINE int16x4_t vrshrn_n_s32(int32x4_t a, __constrange(1,16) int b) /
int16x4_t res64;
__m128i r32;
r32 = vrshrq_n_s32(a,b);
- r32 = _mm_shuffle_epi8 (r32, *(__m128i*) mask8_16_even_odd); //narrow, use low 64 bits only. Impossible to use _mm_packs because of negative saturation problems
+ r32 = _mm_shuffle_epi8 (r32, *(__m128i*) mask8_32_even_odd); //narrow, use low 64 bits only. Impossible to use _mm_packs because of negative saturation problems
return64(r32);
}