Commit Graph

58 Commits (90f5435c504168e092f2369226a4ab090bc3afac)

Author SHA1 Message Date
Christophe Favergeon f91c1f3c24 Better test automation with cmsis build tools
Added a python script for automation of tests with cmsis build tools.
Correction to some tests
Float promotion issues in some f16 code.
3 years ago
Christophe Favergeon db4253f0ee New f16 files were not testing for ARM_FLOAT16_SUPPORTED 3 years ago
Silfurion 633ab5913e Add Conversion functions from and to 64 bit floating point
Cleaned f64 conversion functions.
3 years ago
Stephanos Ioannidis 5783c6e509
Fix uninitialised variable references reported by GCC 12 (#42)
This commit fixes the uninitialised variable reference warnings
reported by GCC 12.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
3 years ago
Vladimir Marchenko 155759586a Updated Documentation to Doxygen 1.9.2 and new layout. 3 years ago
Christophe Favergeon 3f95fbca89 New repository for CMSIS-DSP 4 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
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
Christophe Favergeon 49a38a5eb1 CMSIS-DSP: Corrected issue #1053
(documentation issue)
4 years ago
JbR 329dae5fad Removing defgroup from f64 & fixing double init values 4 years ago
JbR 7a4579d9a9 Implement some f64 methods 4 years ago
Christophe Favergeon 5fac45cc96 CMSIS-DSP: Removed float promotion issues
Corrected some additional warnings when compiling with AC5 compiler.
Updated version numbers,
5 years ago
Christophe Favergeon d5ad8e995b CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
Christophe Favergeon 8f282215fb CMSIS-DSP: Correcting some build issues with Helium f16 code when building with gcc. 5 years ago
Christophe Favergeon 8bea32cc0b CMSIS-DSP: Removed wrong includes of f16 headers in f32 code. 5 years ago
Christophe Favergeon 4288cf4fec CMSIS-DSP: Some improvements to build Helium version with gcc.
Helium f16 disabled by default with gcc since there are a few remaining build issues.
5 years ago
Christophe Favergeon 0bcb1384f2 CMSIS-DSP: More consistent use of the flag ARM_MATH_AUTOVECTORIZE 5 years ago
Christophe Favergeon 29a69f56d0 CMSIS-DSP: Improved some f16 helium codes. 5 years ago
Christophe Favergeon 1b34e464ba CMSIS-DSP: Added new f16 tests 5 years ago
Christophe Favergeon 55c9be8af0 CMSIS-DSP: Added additional f16 statistics functions
and the required f16 fast math functions.
5 years ago
Christophe Favergeon 534c34f883 CMSIS-DSP: Added f16 support functions 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 c0d3b61f37 CMSIS-DSP: Changed cmake required minimum version 6 years ago
Christophe Favergeon 56ad8dd096 CMSIS-DSP: Correction to spline function to be able to build examples
Correction of CMSIS-DSP version number for binary version of the CMSIS-DSP.
6 years ago
Jonatan Antoni 9ec9907e1d CMSIS-DSP: Updates pack source component.
- Bumped component version to 1.8.0
- Added new groups/functions/files

Change-Id: Iee15d6af1e7e9c1169867270ca04f9ca7d5552c7
6 years ago
ClaudioMartino 1d51b2ba00 CMSIS-DSP: Modified spline f32 to compute coeffs at init time
- Moved coefficients computation to init function
- Improved documentation
6 years ago
Christophe Favergeon 087e9edd39 CMSIS-DSP: Corrected compilation issue.
Compilation error when ROUNDING=ON in MVE code.
6 years ago
ClaudioMartino 3446683ed3 Improved arm_quick_sort_f32 6 years ago
Christophe Favergeon 97969db78c CMSIS-DSP: Corrected compilation warnings 6 years ago
Christophe Favergeon c5339c7910 CMSIS-DSP: Corrected Doxygen issues
Issues with documentation of elementwise functions;
Issues with sorting functions;
Issues with splines functions.
6 years ago
Christophe Favergeon 1d101f749c CMSIS-DSP: Improved READMEs
Corrected Doxygen warnings.
6 years ago
Christophe Favergeon c0a597a51c CMSIS-DSP: Added test patterns for arm_fir_decimate and arm_fir_interpolate.
Added MVE code for arm_fir_decimate and arm_fir_interpolate.
6 years ago
ClaudioMartino 169877344c Corrected spline interpolation and merge sort 6 years ago
Christophe Favergeon 6ee7a64542 CMSIS-DSP: Temporary fix for the spline function.
The spline function was preventing the Python wrapper from
being built on windows.
It is a temporary fix. The spline function will have to be reworked.
6 years ago
Christophe Favergeon 4e4b9ca8bb CMSIS-DSP: Corrected build issues with AC5 and gcc. Improved Doxygen comments. 6 years ago
Christophe Favergeon fe082533ed CMSIS-DSP: Corrected issues in SupportFunctions
Problem in test pattern for weighted sum.
Compilation issue with Neon for bitonic sort.
6 years ago
Christophe Favergeon 33a1f2fe08 CMSIS-DSP: Corrected Doxygen issues 6 years ago
Christophe Favergeon 665ba5d4cb CMSIS-DSP: Corrected compilation warnings
Regenerated some test patterns to remove end of line issues.
6 years ago
ClaudioMartino bbafcb8960 Added logical operators + sorting + spline
- Added NEON bitwise AND, NOT, OR, XOR (q7, q15, q31)
- Added Sorting algorithms f32 (NEON bitonic sort)
- Added cubic spline interpolation function
- Added test patterns for all
6 years ago
Christophe Favergeon 2e12da1043 CMSIS-DSP: Corrected compilation warnings
More compilation tests done with AC5
6 years ago
Christophe Favergeon 8526741f9e CMSIS-DSP: Added Helium versions of Fast Math, Support, SVM, Naive Bayes, Distance and additional Statistics functions.
Added a new header of vectorial inline functions for Neon and Helium.
This header is used in the implementation of some functions.
Corrected used of float (float functions rather than double ones).
6 years ago
Christophe Favergeon 84c7261036 CMSIS-DSP: Simplification to cmake to build without test framework. 6 years ago
Christophe Favergeon f9ca44bc50 CMSIS-DSP: Cleaning of Doxygen comments for new functions.
New distance patterns.
6 years ago
Christophe Favergeon 7a8a02f976 CMSIS-DSP: Corrected Doxygen warnings. 6 years ago
Christophe Favergeon aa43cfb6dd CMSIS-DSP: Added some support functions.
entropy, Kullback-Leibler, LogSumExp, Dot product using LogSumExp
weighted sum, barycenter.
6 years ago
Christophe Favergeon 8a4c63e4d8 CMSIS-DSP: New testing framework
(For our internal use. In short term, we won't give support about it).
CMSIS-DSP: Update to cmake build for the testing framework
CMSIS-NN:Implementation of arm_fully_connected_s8
Use API and quantization compatible with TF Lite.
7 years ago
Christophe Favergeon 080b994dd7 CMSIS-DSP: Customization of FFT tables.
Compilation symbols have been introduced to allow to include only the
FFT tables which are useful in a given application.

The README.md in DSP is giving more details.
7 years ago
ClaudioMartino 7c1fca8052 Removed comments about loop unrolling in NEON codes to avoid confusion 7 years ago
ClaudioMartino 5792f80cf1 New NEON float32 algorithms for Cortex A5 (TransformFunctions excluded) with armDS project 7 years ago
Jonatan Antoni a8cf6e9bb1 Updated file versions, dates and copyright headers.
Change-Id: I2fe43d2ad56cff4347424929fd1f82eccd1cc770
7 years ago