Commit Graph

14 Commits (hotfix)

Author SHA1 Message Date
Johan Bengtsson 065e8351c3 DSP: Remove undefined behavior in post-increment/decrement read (#1443)
According to the C standard q15_t * and const q15_t * are not compatible
types which, among other things, imply that an object of type const
q15_t * can't be modified by writing to a q15_t ** or vice versa.
Programs doing this are undefined.

Because of this rule all programs using the functions read_q15x2_ia,
read_q15x2_da, read_q7x4_ia, or read_q7x4_da for reading data from an
array of constant elements will be undefined. To solve this it is not
enough to change the type of the function since this will give problems
when reading data from an array of non-const elements. To get a defined
solution I needed to switch from functions to macros to allow the
increment to be done in the original type of the pointer.
4 years ago
Christophe Favergeon d5ad8e995b CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
Christophe Favergeon 0bcb1384f2 CMSIS-DSP: More consistent use of the flag ARM_MATH_AUTOVECTORIZE 5 years ago
Christophe Favergeon 41f2015387 CMSIS-DSP: Re-organization of arm_math.h
arm_math.h splitted into several headers.
Interpolation functions moved from arm_math.h to a separate folder.
5 years ago
Felix Johnny 23d216b3bb CMSIS-NN: Fix warnings
1. Doxygen warnings are fixed

2. Sign conversion warnings(-Wsign-conversion) and -Wextra warnings
   are fixed for TFLu compliant MVE APIs

Change-Id: I22ee8cd4ff4c94c92d9659504fc4c24d2b5ae441
6 years ago
Christophe Favergeon 56a540336a CMSIS-DSP: Added Helium support for functions in BasicMaths.
Added test patterns for functions in BasicMaths.
Corrected github issue 622 (clarified comment for lms_norm_f32).
Added support for q63_t to the test framework.
6 years ago
Jonatan Antoni a8cf6e9bb1 Updated file versions, dates and copyright headers.
Change-Id: I2fe43d2ad56cff4347424929fd1f82eccd1cc770
7 years ago
GuentherMartin 5648cfd4af DSP_Lib changes:
- new version V1.5.5
 - reworked DSP library source files
     added macro ARM_MATH_LOOPUNROLL
     removed macro UNALIGNED_SUPPORT_DISABLE
     relpaced arm_bitreversal2.S with C version
     added const-correctness
     replaced SIMD pointer construct with memcpy solution
 - reworked DSP library documentation
 - moved DSP libraries to folder ./DSP/Lib
 - ARM DSP Libraries are built with ARMCLANG
 - Added DSP Libraries Source variant
7 years ago
Jonatan Antoni f20c424e92 Revert "Const-qualify all read-only pointers in CMSIS-DSP (#349)" 7 years ago
Torfinn Berset b54e1f9bf1 Converting C sources to use `const` where appropriate using regular expressions. Fix typos 7 years ago
Jonatan Antoni 2208df0e14 Global MISRA-C Rule 10.6 fix up: Unsigned constant values with U suffix, uppercase instead of lowercase. (Issue #227) 8 years ago
Martin Günther de2ce55a61 Updated CMSIS_DSP. Added ARMv8M support, changed copyrigth note. 9 years ago
Martin Günther adbc210886 updated DSP Lib to V1.5.0. 9 years ago
Martin Günther 7a4fea9150 Renamed folder DSP_Lib to DSP to be consistent with documentation. 10 years ago