diff options
author | Ben Hilburn <ben.hilburn@ettus.com> | 2013-12-11 18:01:41 -0800 |
---|---|---|
committer | Ben Hilburn <ben.hilburn@ettus.com> | 2013-12-11 18:01:41 -0800 |
commit | 51de21efd7be72bca90481716fe04ffb7002ecfb (patch) | |
tree | c42b85bd9eebd67522244ca4f67a6ccd470100d8 /host/lib/convert | |
parent | 8f0f045cdac16ae84bc446b230beb2b651428294 (diff) | |
download | uhd-51de21efd7be72bca90481716fe04ffb7002ecfb.tar.gz uhd-51de21efd7be72bca90481716fe04ffb7002ecfb.tar.bz2 uhd-51de21efd7be72bca90481716fe04ffb7002ecfb.zip |
Merge of mwest's fix to the sse2_fc32_to_sc16 converter.
Diffstat (limited to 'host/lib/convert')
-rw-r--r-- | host/lib/convert/sse2_fc32_to_sc16.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/convert/sse2_fc32_to_sc16.cpp b/host/lib/convert/sse2_fc32_to_sc16.cpp index a83e9b46c..69786d7ce 100644 --- a/host/lib/convert/sse2_fc32_to_sc16.cpp +++ b/host/lib/convert/sse2_fc32_to_sc16.cpp @@ -103,6 +103,7 @@ DECLARE_CONVERTER(fc32, 1, sc16_item32_be, 1, PRIORITY_SIMD){ case 0x0: // the data is 16-byte aligned, so do the fast processing of the bulk of the samples convert_fc32_1_to_item32_1_bswap_guts(_) + break; case 0x8: // the first value is 8-byte aligned - process it and prepare the bulk of the data for fast conversion xx_to_item32_sc16<uhd::htonx>(input, output, 1, scale_factor); @@ -110,7 +111,6 @@ DECLARE_CONVERTER(fc32, 1, sc16_item32_be, 1, PRIORITY_SIMD){ // do faster processing of the remaining samples now that we are 16-byte aligned convert_fc32_1_to_item32_1_bswap_guts(_) break; - break; default: // we are not 8 or 16-byte aligned, so do fast processing with the unaligned load convert_fc32_1_to_item32_1_bswap_guts(u_) |