diff options
author | Josh Blum <josh@joshknows.com> | 2013-08-28 17:07:07 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2013-08-28 17:07:07 -0700 |
commit | 9f993843e52b1da877fd579de499e492f602ce81 (patch) | |
tree | 7a8e28f0f7f84ae22da44712ea3b76507cc0a1b6 /host/lib/convert/sse2_sc8_to_fc64.cpp | |
parent | 96e50aebb7a4b3f98aac3c11aa1a3f06c14c0849 (diff) | |
download | uhd-9f993843e52b1da877fd579de499e492f602ce81.tar.gz uhd-9f993843e52b1da877fd579de499e492f602ce81.tar.bz2 uhd-9f993843e52b1da877fd579de499e492f602ce81.zip |
convert: sc8 swap for vita compliance
Diffstat (limited to 'host/lib/convert/sse2_sc8_to_fc64.cpp')
-rw-r--r-- | host/lib/convert/sse2_sc8_to_fc64.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/host/lib/convert/sse2_sc8_to_fc64.cpp b/host/lib/convert/sse2_sc8_to_fc64.cpp index ef9c0fdb4..94d8911f6 100644 --- a/host/lib/convert/sse2_sc8_to_fc64.cpp +++ b/host/lib/convert/sse2_sc8_to_fc64.cpp @@ -1,5 +1,5 @@ // -// Copyright 2012 Ettus Research LLC +// Copyright 2012-2013 Ettus Research LLC // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -77,7 +77,7 @@ DECLARE_CONVERTER(sc8_item32_be, 1, fc64, 1, PRIORITY_SIMD){ \ /* unpack */ \ __m128d tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7; \ - unpack_sc32_8x(tmpi, tmp1, tmp0, tmp3, tmp2, tmp5, tmp4, tmp7, tmp6, scalar); \ + unpack_sc32_8x(tmpi, tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7, scalar); \ \ /* store to output */ \ _mm_store ## _al_ ## pd(reinterpret_cast<double *>(output+j+0), tmp0); \ @@ -125,7 +125,7 @@ DECLARE_CONVERTER(sc8_item32_le, 1, fc64, 1, PRIORITY_SIMD){ /* unpack */ \ __m128d tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7; \ tmpi = _mm_or_si128(_mm_srli_epi16(tmpi, 8), _mm_slli_epi16(tmpi, 8)); /*byteswap*/\ - unpack_sc32_8x(tmpi, tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7, scalar); \ + unpack_sc32_8x(tmpi, tmp1, tmp0, tmp3, tmp2, tmp5, tmp4, tmp7, tmp6, scalar); \ \ /* store to output */ \ _mm_store ## _al_ ## pd(reinterpret_cast<double *>(output+j+0), tmp0); \ |