aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/convert/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* cmake: Update coding style to use lowercase commandsMartin Braun2018-11-141-31/+31
| | | | | | | | | | | | | | | | | Also updates our coding style file. Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code (with GNU compliant sed): cmake --help-command-list | grep -v "cmake version" | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done > convert.sed \ && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' \ '*CMakeLists.txt' | xargs -0 gsed -i -f convert.sed && rm convert.sed (Make sure the backslashes don't get mangled!)
* host: lib: convert: Add CMake flag for NEON SIMDBrent Stapleton2018-09-121-1/+5
| | | | | | | Adding CMake flag to enable/disable NEON SIMD instructions. This is an addition to the previous checks (check for NEON headers and checking the size of pointers), so behavior is unchanged unless users specify that they do not want to use NEON instructions.
* uhd: Update license headersMartin Braun2018-02-191-0/+1
| | | | | | | All copyright is now attributed to "Ettus Research, a National Instruments company". SPDX headers were also updated to latest version 3.0.
* Move all license headers to SPDX format.Martin Braun2017-12-221-12/+1
|
* build: Enable SSSE3 sc12 converters by build switch onlyTom Tsou2017-07-261-0/+2
| | | | | | | | | | | | | | | The existence of SSSE3 intrinsic headers is not a sufficient condition that SSSE3 support is available, which may lead to 'illegal instruction' runtime failuire on some platforms. Major OS distributions (Ubuntu, Fedora, etc.) include x86_64 intrinsic headers, though the underlying architecture may or may not support the instruction set. Assuming SSE2 availability is safe as instructions are present on all x86_64 architectures for which instrinsic headers would be present. The same cannot be said for SSSE3. Issue: #1761
* convert: Add SSE implementation for sc12Tom Tsou2017-07-251-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implementation uses SSSE3 intructions to perform 12-bit sample pack/unpack operations to/from standard 16 and 32 bit host values. Input/output shuffle orderings for a single 128-bit SSE register with 16-bit integers shown below. 16-bit interleaved I/Q --------------------------------------- | Q3 | I3 | Q2 | I2 | Q1 | I1 | Q0 | I0 | Input --------------------------------------- | 127 0 | 12-bit packed I/Q byteswapped ----------------------- | I0 | Q0 | I1 | 0 |-----------------------| | I1 | Q1 | I2 | Q2 | Output |-----------------------| | Q2 | I3 | Q3 | |-----------------------| | Unused | 3 ----------------------- 31 0 Fixes: #1740, #966 Related: #1739
* cmake: Checked for ARMv8 to avoid building ARMv7 convertersMartin Braun2015-09-111-1/+1
|
* uhd: Removed the ORC dependencyMartin Braun2015-07-011-34/+0
|
* convert: Add sc16-sc16 SSE converterTom Tsou2015-05-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | The sc16-sc16 wire to host type converter is effectively an I/Q swap or 16-bit byteswap for little and big endian cases respectively. This implmentation is a subset of fc32 and fc64 converters without the floating point portion and scaling. The resulting byte ordering is as follows: ----------------- | A | B | C | D | Wire ----------------- 0 1 2 3 ----------------- | C | D | A | B | Litte-endian ----------------- 0 1 2 3 ----------------- | B | A | D | C | Big-endian ----------------- 0 1 2 3 Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
* Initial commit E300 support.Martin Braun2014-10-071-0/+3
|
* Restoring compatibility with CMake 2.6Nicholas Corgan2014-08-141-1/+1
| | | | | * The UNSET command didn't exist back then, but using SET with no value does the same thing * CMake 2.6 doesn't like nested parantheses in IF statements, so tweak IF/ELSE statements
* Do not set the mfloat-soft flag during the test for arm_neon.h.Philip Balister2014-06-031-7/+0
| | | | | | | Use the flags passed in from the toolchain. If this test runs on a hard-float system, bad things happen. Signed-off-by: Philip Balister <philip@opensdr.com>
* convert: added sc12 and fc32 convertersJosh Blum2013-08-281-1/+4
|
* orc: added std cmake finder script for orcJosh Blum2013-03-291-5/+4
|
* convert: squashed converter and sse2 workJosh Blum2012-05-091-4/+9
|
* uhd: added sse2 conversions for fc32 to sc8Josh Blum2012-02-081-0/+1
|
* uhd: added sse2 conversions for fc64 to sc8Josh Blum2012-02-081-1/+2
|
* convert: move priorities to implementation, different for armJosh Blum2011-11-151-5/+1
|
* convert: added table conversion routine for sc16 to floatsJosh Blum2011-11-121-0/+1
|
* convert: reworked convert to use new identification standardJosh Blum2011-11-031-11/+0
|
* uhd: fill in other fields of pkg-config fileJosh Blum2011-09-011-8/+8
|
* uhd: if found, require a liborc version orc-0.4 > 0.4.11Josh Blum2011-08-041-1/+1
|
* e100: perfer orc if available and dont build neon intrinsic supportJosh Blum2011-07-221-41/+48
|
* uhd: created SSE2 conversion routines for fc64Josh Blum2011-07-171-4/+6
|
* NEON detection for E100 in convert/Nick Foster2011-06-141-4/+13
|
* UHD: Orc conversion routine worksNick Foster2011-06-141-0/+2
|
* UHD: Orc implementation added and CMake magic put in. Won't link.Nick Foster2011-06-141-0/+31
|
* uhd: fixed include in safe call, added quotes for SET_SOURCE_FILES_PROPERTIESJosh Blum2011-03-101-1/+1
|
* uhd: use source properties to set flags and defs not globally, but only for ↵Josh Blum2011-02-171-1/+4
| | | | the source
* uhd: added arch flags for sse2 (was not implicit on x32)Josh Blum2011-02-161-1/+14
|
* uhd: more useful prints for component macroJosh Blum2011-01-141-1/+0
| | | | | | made libuhd a component so we can just build the docs do the python tests in the top level cmakelists misc other tweaks
* uhd: renamed and tweaked some of the convert filesJosh Blum2011-01-051-5/+5
|
* uhd: added new convert directory with type conversion registry (needs testing)Josh Blum2011-01-041-0/+66