Commit 8badda0a authored by sletz's avatar sletz
Browse files

Tim Blechmann patch : sample order bug in SSE code.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3416 0c269be4-1314-0410-8aa9-9f06e86f4224
parent b506e090
......@@ -342,7 +342,7 @@ void sample_move_dS_s32u24 (jack_default_audio_sample_t *dst, char *src, unsigne
int i4 = *((int *) src);
src+= src_skip;
__m128i src = _mm_set_epi32(i1, i2, i3, i4);
__m128i src = _mm_set_epi32(i4, i3, i2, i1);
__m128i shifted = _mm_srai_epi32(src, 8);
__m128 as_float = _mm_cvtepi32_ps(shifted);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment