Commit Graph

708 Commits (90f5435c504168e092f2369226a4ab090bc3afac)
 

Author SHA1 Message Date
Christophe Favergeon 3f95fbca89 New repository for CMSIS-DSP 4 years ago
Christophe Favergeon cb0960577d CMSIS-DSP: Improvements to matrix inversion.
Partial pivoting added for better numerical stability.
4 years ago
Christophe Favergeon 99bcacd027 CMSIS-DSP: Some improvements for sign conversion warnings.
Added new tests for function in utils.h
4 years ago
Stephanos Ioannidis dcc48027bd DSP: Fix uninitialised variable references (#1477)
This commit adds initialisation for the variables that can be used
potentially uninitialised so that GCC does not generate warnings while
building the MVE function implementations.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
4 years ago
Christophe Favergeon a0fa802ee2 CMSIS-DSP: Corrected build issue with Neon
New arm_mse_f32 function was no more building.
4 years ago
Christophe Favergeon d4fee7d427 CMSIS-DSP: Corrected typo in some compilation flags for CFFT F64 4 years ago
Christophe Favergeon 1eb1a2ef43 CMSIS-DSP: Added new functions to Python wrapper 4 years ago
Christophe Favergeon 29cb70ce55 CMSIS-DSP: scalar atan2 q31, q15, f32 and f16
Correction to q15 and q31 division when denominator is max
negative value.
4 years ago
Christophe Favergeon 3dacfe8014 CMSIS-DSP: Removed compilation warnings 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
Christophe Favergeon 8dcdb350a4 CMSIS-DSP: Mean square error for q15, q31, f16, f32, f64.
Reworked q7 to have a bit more accuracy.
4 years ago
Christophe Favergeon 47a987217f CMSIS-DSP: Mean square error q7 4 years ago
JbR e5a6e60f5b Fixing compilation issue with Visual Studio 2022 in Arm64EC (#1450) 4 years ago
Christophe Favergeon f74b040be0 CMSIS-DSP: New PythonWrapper example
Jupyter notebook showing how to implement a simple kws
and then convert it into an Arduino implementation.
4 years ago
Christophe Favergeon 75cf0da8e6 CMSIS-DSP: Corrected issue in python example. 4 years ago
Christophe Favergeon a979a2da8e CMSIS-DSP: Improved the noise suppression example in the Python wrapper. 4 years ago
Christophe Favergeon 22040e7d41 CMSIS-DSP: Updated documentation of a Python example. 4 years ago
Christophe Favergeon 67d1b283d3 CMSIS-DSP: Update Python examples
Jupyter notebook examples improved.
4 years ago
Christophe Favergeon a27c4d6f54 CMSIS-DSP: Updated Jupyter notebook example 4 years ago
Christophe Favergeon fb90fab3e7 CMSIS-DSP: Added missing functions to the Python wrapper
Changed the version of Jinja2 required by the wrapper to avoid warnings
when using google colab.
4 years ago
Christophe Favergeon 65e84e2d05 CMSIS-DSP: Update Python wrapper README and example
New example is a Jupyter notebook and can be run from Google colab.
4 years ago
Christophe Favergeon 08b6c2a987 CMSIS-DSP: Added a new Python example 4 years ago
Markus Klein 08755ab07d This fixed some GCC warnings with -WConversion enabled: (#1427) 4 years ago
Christophe Favergeon 713b4dcd73 CMSIS-DSP: Removed hardcoded path in SDFTools example7. 4 years ago
Christophe Favergeon c81765dd3e CMSIS-DSP: Removed pattern file from PythonWrapper tests 4 years ago
Christophe Favergeon 6cfdbe7dc6 CMSIS-DSP: Refactoring of the PythonWrapper and SDF
Refactoring to enable improvements to the wrapper and to be able to
upload it to the Python repository.
4 years ago
Christophe Favergeon ef0d63f451 CMSIS-DSP: SDF Improvements
Improvement to the SDF memory optimization using graph coloring.
4 years ago
Christophe Favergeon 0adc9f21e3 CMSIS-DSP: Correcting issue #1412
Python wrapper memory leak.
4 years ago
Christophe Favergeon 76a13319bb CMSIS-DSP: SDF Pack
Added .pack in addition ot .pdsc
4 years ago
Christophe Favergeon 1cc0e6fbca CMSIS-DSP: Added some files to more easily generate a pack for SDF. 4 years ago
Christophe Favergeon f3723ca858 CMSIS-DSP: Bug correction in SDF.
Problems with slidding buffer.
4 years ago
Christophe Favergeon ca1d8496ae CMSIS-DSP: Improvements to dot template in SDF 4 years ago
Christophe Favergeon aa4a2c6df2 CMSIS-DSP: Correction to file causing issue with git diff. 4 years ago
Christophe Favergeon 6bbbb81486 CMSIS-DSP: Update to graphivz generation in SDF 4 years ago
FabKlein 168d055297 CMSIS-DSP: Improved Helium CFFT Radix4 butterflies 4 years ago
Christophe Favergeon 0f4ac797f1 CMSIS-DSP: Improved documentation for SDF.
Improved generation of graphviz.
4 years ago
Thomas Törnblom 6c0e1186be DSP: Add IAR tool chain (#1367)
Signed-off-by: TTornblom <thomas.tornblom@iar.com>
4 years ago
Christophe Favergeon 0f0eaf7a5e CMSIS-DSP: Updated PythonWrapper
Added the new function abs max/min with no index.
4 years ago
Christophe Favergeon 02b12fd1cf CMSIS-DSP: New min/max functions.
Added arm_(max|min)_no_idx_(q7|q15|q31|f16|f32|f64).c
Added arm_abs(max|min)_no_idx_(q7|q15|q31|f16|f32|f64).c

For both functions : Helium and scalar versions.
4 years ago
Christophe Favergeon 469379c527 CMSIS-DSP: Correcting issue #1358 4 years ago
Christophe Favergeon 0365b59188 CMSIS-DSP: Python wrapper update
New function arm_mat_mult_opt_q31 added to the wrapper.
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 c520fb08f4 CMSIS-DSP: Corrected dependency issue in SDF pack. 4 years ago
Christophe Favergeon 2cd6c30118 CMSIS-DSP: Updated SDF pack.
Removed unused variables in some tests.
4 years ago
Christophe Favergeon 06e66cefca CMSIS-DSP: SDF improvement
Event recorder improvements for the VHT implementation of the audio source and sink.
4 years ago
Christophe Favergeon ab6a89a628 CMSIS-DSP: Improve integration of VHT and SDF 4 years ago
Christophe Favergeon b984d738f4 CMSIS-DSP: Preliminary support for VHT in SDF. 4 years ago
Christophe Favergeon 72483e7c3f CMSIS-DSP: Added code size optimization for the SDF C++ generator. 4 years ago
Christophe Favergeon 60475b816d CMSIS-DSP: Correction to MFCC Q15 node. 4 years ago