Commit Graph

21 Commits (b9b58d044e4ae1a3f9f582574b1edd554d38a11b)

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 e45dc7c22e CMSIS-DSP: Improvements to pull request #1363
To avoid having to change the API in an incompatible way,
a arm_mat_mult_opt_q31 was introduced and is providing a faster implementation
to use with Helium (but requiring more storage for intermediate results).

Some improvements to tests for matrix functions added.
4 years ago
FabKlein cfc30c12b8 CMSIS-DSP : faster Q.15/Q.31 Helium matrix multiplications. Uses an initial transpose stage, requiring extra scratch space to hold RHS transposed matrix. 4 years ago
Christophe Favergeon ac7da660b7 CMSIS-DSP: Remove type punning in vector code and some compilation warnings. 5 years ago
Jacky Lin 920ed8ac3c Fix misspelled in annotation 5 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
Christophe Favergeon 0e438b58f6 CMSIS-DSP: Fix to MVE code to allow compilation with AC6 6.14 6 years ago
Christophe Favergeon 98f44f4491 CMSIS-DSP: Added MVE code for Matrix functions.
Added test patterns for Matrix functions.
Regenerated all tests patterns to improve testing for tails.
Corrected issues in pattern generation scripts.
6 years ago
Christophe Favergeon 2e12da1043 CMSIS-DSP: Corrected compilation warnings
More compilation tests done with AC5
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 db3a3ae6a5 Fix const errors when compiling for Cortex M0 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 740c6b2cb0 removed doxy warning 10 years ago
Martin Günther 7a4fea9150 Renamed folder DSP_Lib to DSP to be consistent with documentation. 10 years ago