Commit Graph

23 Commits (60a8c8805cf78b766dbb8f6d1e0cd22534a6c102)

Author SHA1 Message Date
Christophe Favergeon 1d9e38adca Reworked FFT initializations to make the work of the linker easier.
New FFT initialization functions to make it easier for the linker
to optimize the code size when the library is used as a static
library and can't be rebuilt.

Compilation directives for code size optimizations have been removed.
3 years ago
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
FabKlein 168d055297 CMSIS-DSP: Improved Helium CFFT Radix4 butterflies 4 years ago
Christophe Favergeon 9a5083c565 CMSIS-DSP: Additional fixes for issue #1328 4 years ago
Christophe Favergeon d26cd50388 CMSIS-DSP: Correcting issue #1328
Sign issue warnings
4 years ago
Thomas Törnblom 2a7714ced7 DSP: Cleanup of type mismatches (#1327)
The IAR compiler appears to provide more warnings about type
mismatches than the other compilers. This cleans a lot of them up.

Signed-off-by: TTornblom <thomas.tornblom@iar.com>
4 years ago
TTornblom 9b6b4fff80 DSP: Eliminate some non-standard C code
Cleaned out some non-standard C code, typeof() and using
"const" variables as constants.

Also added some initial IAR support.

Signed-off-by: TTornblom <thomas.tornblom@iar.com>
4 years ago
Christophe Favergeon ac7da660b7 CMSIS-DSP: Remove type punning in vector code and some compilation warnings. 5 years ago
Christophe Favergeon d5ad8e995b CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
FabKlein a509fa39d4 CMSIS-DSP: FFT bit reversal unrolling
Issue index update earlier, adding more distance with
           subsequent gather loads
           Added Out-of-place variants
5 years ago
Christophe Favergeon 0bcb1384f2 CMSIS-DSP: More consistent use of the flag ARM_MATH_AUTOVECTORIZE 5 years ago
Richard Allen 9e4b2a9358 CMSIS-DSP: Use __PKHBT intrinsics for FFTs
This results in about a few percent faster FFT when using GCC.

Change-Id: I9620370aa5098bb10e04d84a7fed2167e7734aeb
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 266d88ba4a CMSIS-DSP: Added MVE version of stage_rfft_f32 6 years ago
Christophe Favergeon b6d9bdd4ef CMSIS-DSP: Added MVE code for arm_cfft_q15 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