72 Commits (2a6f54e13fdc011f507410febe3a280afe8e07c2)

Author SHA1 Message Date
Xavier Arteaga f261365c91 Initial EVM calculation commit and other easthetic changes 5 years ago
Xavier Arteaga bca5d1a95a srsLTE: extend viterbi test 5 years ago
Andre Puschmann 476f970ee1 replace FIXME with TODO 5 years ago
Pedro Alvarez c5979f59eb Clang format UE, eNB and lib (#850)
* Clang-formated UE, eNB and lib.
* Fixed compiling errors from clang-format.
* Fix linking issues introduced by clang-format
* Fix poor formating in initializing arrays of arrays.
* Fix mistake in conflict resolution on rm_turbo.c
* Re-apply clang format to gtpc_ies.h
5 years ago
Vasil Velichkov a44671fc77 PHY: Manually unroll loops that use _mm_extract_epi(8/16)
clang does not unroll those loops even though it supports the
-funroll-loops command line option, adding various #pragma unroll
options also does not help.

The unroll is needed to make the second argument a constant integer.

Enable the SSE/AVX turbo rate matching when compiling in debug mode.

srsLTE/lib/src/phy/fec/rm_turbo.c:590:33: error: argument to '__builtin_ia32_vec_ext_v16qi' must be a constant integer
          int8_t x  = (int8_t)  _mm_extract_epi8(xVal,   j+8);
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib64/clang/7.0.1/include/smmintrin.h:1048:23: note: expanded from macro '_mm_extract_epi8'
  (int)(unsigned char)__builtin_ia32_vec_ext_v16qi((__v16qi)(__m128i)(X), \
                      ^
srsLTE/lib/src/phy/fec/rm_turbo.c:591:35: error: argument to '__builtin_ia32_vec_ext_v8hi' must be a constant integer
          uint16_t l = (uint16_t) _mm_extract_epi16(lutVal2, j);
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib64/clang/7.0.1/include/emmintrin.h:4273:24: note: expanded from macro '_mm_extract_epi16'
  (int)(unsigned short)__builtin_ia32_vec_ext_v8hi((__v8hi)(__m128i)(a), \
5 years ago
Xavier Arteaga 6d896ee453 Fixed more static code analysis warnings 5 years ago
Xavier Arteaga b48bb0d754 Removed atof, atoll and atoi calls 5 years ago
Xavier Arteaga 8dd1c59e18 Added amplitude and power conversions to dB and viceversa 5 years ago
Xavier Arteaga f75d0e5b26 Change M_SQRT2 and M_SQRT1_2 instead of sqrt(2) and 1/sqrt(2) 5 years ago
Andre Puschmann 768ce745dc fixing issue in Viterbi when decoding zero codeword
it seems that when the input is only zero, the calculated max
becomes zero too. This causes a div by zero later in the
normalization (q->gain_quant/max).
5 years ago
Xavier Arteaga 78fcc11a30 Fixes minor unitialised/leaked memory 5 years ago
Andre Puschmann e0bd7f156d replace remaining warning macros with pragma message 6 years ago
Guillem Foreman 535325bc37 srsLTE: added resource allocation extended tables for 256QAM and integration with PDSCH test 6 years ago
Andre Puschmann 4b01a2e4a0 update copyright notice 6 years ago
Ismael Gomez 7780b1aba5 add tdd/ca support 6 years ago
Ismael Gomez a8a0c3ebe7 Fixed compilation in zynq 6 years ago
yagoda 3762738bc1 adding windowed neon turbodecoder (can be further optimized) 6 years ago
yagoda 69dc16c4c8 changes to fix arm compilation 6 years ago
Ismael Gomez 0294923e2b Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 6 years ago
Xavier Arteaga a9fcd64b1f Fixes #259: Turbodecoder AVX2 instructions under LV_HAVE_AVX (instead of LV_HAVE_AVX2) 6 years ago
Ismael Gomez 243a7708d4 Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 6 years ago
Ismael Gomez 826fbccf11 Fixed memory leaks in new decoder 6 years ago
Andre Puschmann d19eb28a16 fix various variable initializations that gcc-4.8 complained about 6 years ago
Ismael Gomez bc9d342959
New optimization on the PHY for both UE and eNodeB (#251)
* New parallel Turbodecoder implementation in SSE/AVX 16-bit and 8-bit

* Optimised UL Interleaver

* Include TB CRC calculation in FEC encoder

* New threading priorities
6 years ago
Xavier Arteaga ca429d2be5 Fixed turbocoder free 7 years ago
Ismael Gomez 3a9f224f40 Turbo Coder LUT not a function of CB size 7 years ago
Xavier Arteaga a21db86a78 SCH Codeblock CRC is computed at same time than parity 0 7 years ago
Xavier Arteaga 3d3f98b21e Fixed posible interleaver segfault 7 years ago
yagoda 8751645a48 cleaning up viterbi neon 7 years ago
Xavier Arteaga 2c1608f6f1 Fixed UCI short CQI decoder. Fixed possible interleaver segfault. PUSCH Unit test tidied up. 7 years ago
Ismael Gomez 4ffee4326b Fix memory leaks in unit tests 7 years ago
Joseph Giovatto ab1d9e98f3 Format and typelimit warnings (#169)
* merge with origin 4fc7dbc3 8daa8346

* fixed whitespace diff

* added .gitignore

* added format warning flags to C_FLAGS
added typelimit check to C_FLAGS and CXX_CLAGS

* Revert "added format warning flags to C_FLAGS"

Apply to branch format_and_typelimt branch

This reverts commit bf7467e82e.

* check for format warnings to top level C_FLAGS
added typelimit warnings to top level C_FLAGS and CXX_FLAGS
beset effort attempt to remedy warnings
removed unused param names in hex_log baseclass methods due to multitude of unused-warnings
7 years ago
Ismael Gomez 3adc6b5cbc
Merge pull request #158 from softwareradiosystems/csi
Csi
7 years ago
Andre Puschmann ac0f934558 fix leaks in viterbi and modem tests 7 years ago
Andre Puschmann c6933f5338 fix leak in turbocoder test 7 years ago
Andre Puschmann 57bb831f27 fix RM turbo test 7 years ago
Xavier Arteaga 2a69211f32 SCH does not terminate all codeblocks if one fail. Also, SCH does not decode blocks with CRC=OK 7 years ago
Andre Puschmann d959608e10 fix mem dealloc in viterbi for 16bit AVX 7 years ago
yagoda eb8a884e90 small optimization in neon viterbi 7 years ago
Andre Puschmann 8da4373d30 fix various coverity bugs 7 years ago
Ismael Gomez 0093928b73 Fixed some warnings in ARM 7 years ago
Ismael Gomez d2e1600053 Updated viterbi 16-bit scaling 7 years ago
Ismael Gomez d88ed887d7 Revert "Take 1st block of iteration instead of 2nd in viterbi"
This reverts commit b12f500207.
7 years ago
Ismael Gomez b12f500207 Take 1st block of iteration instead of 2nd in viterbi 7 years ago
yagoda 2375b152af small fix for viterbi test without AVX2 7 years ago
yagoda d749ee66f4 introducing 16 bit viterbi support 7 years ago
Ismael Gomez 1fb2262130 Revert "Increased viterbi quantification to maximum"
This reverts commit 5c7ce5a799.
7 years ago
Ismael Gomez 5c7ce5a799 Increased viterbi quantification to maximum 7 years ago
Andre Puschmann 68537b76d6 fix compilation issue on ARM 7 years ago
yagoda a99d6318db fixing viterbi testing bug 7 years ago