From 38a5a3614e6d220c69b7206e8cf6a5e25115d5f2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 29 Mar 2016 10:15:07 +0300 Subject: [PATCH] resampler: Use _mm_set_epi64x(0, x) instead of _mm_cvtsi64_si128(x) The latter is only available on x86-64 for some reason. --- gst-libs/gst/audio/audio-resampler-x86.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/audio/audio-resampler-x86.h b/gst-libs/gst/audio/audio-resampler-x86.h index 20067fc..53293cc 100644 --- a/gst-libs/gst/audio/audio-resampler-x86.h +++ b/gst-libs/gst/audio/audio-resampler-x86.h @@ -191,7 +191,7 @@ inner_product_gint16_linear_1_sse2 (gint16 * o, const gint16 * a, { gint i = 0; __m128i sum[2], t; - __m128i f = _mm_cvtsi64_si128 (*((gint64*)icoeff)); + __m128i f = _mm_set_epi64x (0, *((gint64*)icoeff)); const gint16 *c[2] = {(gint16*)((gint8*)b + 0*bstride), (gint16*)((gint8*)b + 1*bstride)}; -- 2.7.4