disable s16 sse until fixed

This commit is contained in:
Wim Taymans 2018-10-29 14:07:19 +00:00
parent 9f61ef96ff
commit ae9843aca2
2 changed files with 2 additions and 2 deletions

View file

@ -293,7 +293,7 @@ conv_f32d_to_s16_1_sse(void *data, void *dst, int n_src, const void *src[n_src],
for(n = 0; unrolled--; n += 4) {
in[0] = _mm_loadu_ps(&s0[n]);
in[0] = (__m128)_mm_adds_epi16((__m128i)in[0], scale);
out[0] = _mm_cvtps_epi32(in[0]);
out[0] = _mm_cvttps_epi32(in[0]);
out[0] = _mm_packs_epi32(out[0], out[0]);
d[0*n_src] = _mm_extract_pi16(*(__m64*)out, 0);
d[1*n_src] = _mm_extract_pi16(*(__m64*)out, 1);

View file

@ -716,7 +716,7 @@ static const struct conv_info {
{ SPA_AUDIO_FORMAT_F32, SPA_AUDIO_FORMAT_S16, 0, conv_f32_to_s16 },
{ SPA_AUDIO_FORMAT_F32, SPA_AUDIO_FORMAT_S16P, 0, conv_f32_to_s16d },
#if defined (__SSE2__)
{ SPA_AUDIO_FORMAT_F32P, SPA_AUDIO_FORMAT_S16, FEATURE_SSE, conv_f32d_to_s16_sse },
// { SPA_AUDIO_FORMAT_F32P, SPA_AUDIO_FORMAT_S16, FEATURE_SSE, conv_f32d_to_s16_sse },
#endif
{ SPA_AUDIO_FORMAT_F32P, SPA_AUDIO_FORMAT_S16, 0, conv_f32d_to_s16 },