Commit Graph

303 Commits (89610e31cbb3c67067f5bfbcacb338fd7910023e)

Author SHA1 Message Date
Christophe Favergeon ebcecdfa93 CMSIS-DSP: Correction for issue #1130
Better control of the f16 build.
5 years ago
Christophe Favergeon 68dd797c99 CMSIS-DSP: Helium code for clipping functions. 5 years ago
Christophe Favergeon 0556e5fb2a CMSIS-DSP: Added scalar version of clipping functions. 5 years ago
Christophe Favergeon 6819f87932 CMSIS-DSP: Doxygen corrections 5 years ago
Christophe Favergeon f81dccabf7 CMSIS-DSP: Added Helium version of quaternion functions. 5 years ago
Christophe Favergeon 4357c9e947 CMSIS-DSP: Added scalar f32 quaternion functions.
Some correction for RFFT Fast f32 in Python wrapper
5 years ago
Christophe Favergeon 25a524baad CMSIS-DSP: Configuration UI for the build
The first lines of the script are explaining how to use it.
5 years ago
Christophe Favergeon 9c83f0ab0c CMSIS-DSP: API corrections in bitreversal_f16 5 years ago
Christophe Favergeon 4165f51802 CMSIS-DSP: Tuning of link scripts to be able to run bigger tests on IPSS. 5 years ago
Christophe Favergeon 9168382637 CMSIS-DSP: Moved f16 bitreversal code into a new file 5 years ago
Christophe Favergeon 7bb4b16d50 CMSIS-DSP: Correction to an f16 header include. 5 years ago
Christophe Favergeon 8bea32cc0b CMSIS-DSP: Removed wrong includes of f16 headers in f32 code. 5 years ago
Christophe Favergeon 9a254bc926 CMSIS-DSP: Improvements for building with gcc on M55.
Solve most of f16 issues. But there are still some remaining
build issues with gcc10q4.

2 functions are reverting to scalar version when build with gcc on M55.
(Since Helium versions of those functions are not building).
5 years ago
Christophe Favergeon 502fb88f3d CMSIS-DSP: Test framework tuning
Tuning to test with gcc and Helium 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
killua-killua f657d52568 Update arm_shift_q15.c
type promotion before __SSAT
5 years ago
killua-killua d18f717c68 Update arm_shift_q7.c
type promotion before __SSAT
5 years ago
killua-killua dc096e0de2 Update arm_offset_q31.c
It seems that there is __QADD instruction in all cases. Can we just use __QADD here, like you did in arm_add_q31.c .
5 years ago
killua-killua 0dc176154c Update arm_offset_q7.c
type promotion before __SSAT
5 years ago
Yin-Cheng-888 1ca28fa995 CMSIS-DSP: Fix signed/unsigned integer data type issue 5 years ago
Christophe Favergeon 43f79ca92b CMSIS-DSP: Improvements to Helium implementation of RFFT Q15 and Q31. 5 years ago
Tim Gates 49a4c065b8 docs: fix simple typo, accumlate -> accumulate
There is a small typo in CMSIS/DSP/Source/FilteringFunctions/arm_conv_fast_opt_q15.c, CMSIS/DSP/Source/FilteringFunctions/arm_conv_opt_q15.c, CMSIS/DSP/Source/FilteringFunctions/arm_conv_opt_q7.c, CMSIS/DSP/Source/FilteringFunctions/arm_conv_partial_fast_opt_q15.c, CMSIS/DSP/Source/FilteringFunctions/arm_conv_partial_opt_q15.c, CMSIS/DSP/Source/FilteringFunctions/arm_conv_partial_opt_q7.c, CMSIS/DSP/Source/FilteringFunctions/arm_correlate_fast_opt_q15.c, CMSIS/DSP/Source/FilteringFunctions/arm_correlate_opt_q15.c, CMSIS/DSP/Source/FilteringFunctions/arm_correlate_opt_q7.c.

Should read `accumulate` rather than `accumlate`.
5 years ago
Christophe Favergeon a888f7205b CMSIS-DSP: Some minor corrections.
Documentation and #define naming.
5 years ago
Lennart c080770065 Add missing if clause
to not build float16 code if the datatype is disabled
5 years ago
Christophe Favergeon 8fff9ebe29 CMSIS-DSP: New MVE implementations of the complex dot product and vector product. 5 years ago
Christophe Favergeon c4283d209f CMSIS-DSP: Added new MVE implementation for FIR Q15 and Q7. 5 years ago
Christophe Favergeon a108d6763e CMSIS-DSP: Added new MVE implementation of FIR Q31 5 years ago
Christophe Favergeon 68b219bb1f CMSIS-DSP: New MVE implementation of the FIR F16 5 years ago
Christophe Favergeon 364fdb9a28 CMSIS-DSP: Cleaning to MVE code for fir f32 5 years ago
Christophe Favergeon 6f229b4f65 CMSIS-DSP: New MVE implementation of the FIR f32 5 years ago
Christophe Favergeon af027f97c5 CMSIS-DSP: Biquad improvement
Improvement to formatting script.
5 years ago
Christophe Favergeon 212e9cb805 CMSIS-DSP: Added Cholesky decomposition
LL^t and LDL^t variant.

Added foward and backward substitution to solve linear systems
with triangular matrix.
5 years ago
Kishinami 5409d06050 CMSIS-DSP: Fix FIR document 5 years ago
Christophe Favergeon a7fd426546 CMSIS-DSP: Removed patch for armclang issue on M55
Issue will be corrected in 6.15
5 years ago
Kishinami 11ead8bc19 Correct DSP Documents: Correct the name of people. 5 years ago
Christophe Favergeon 0bcb1384f2 CMSIS-DSP: More consistent use of the flag ARM_MATH_AUTOVECTORIZE 5 years ago
Christophe Favergeon 7accd563b9 CMSIS-DSP: Corrected script for html generation 5 years ago
Christophe Favergeon 078c0b282d CMSIS-DSP: Improved f16 scalar code. 5 years ago
Christophe Favergeon 4b4d5322c8 CMSIS-DSP: Improvement to f16 helium code for linear SVM.
Improved tests for weighted sum.
5 years ago
Christophe Favergeon 29a69f56d0 CMSIS-DSP: Improved some f16 helium codes. 5 years ago
Kishinami 8ba4243dfa Correct DSP document: Correct the size of the referenced sine table. 5 years ago
Christophe Favergeon 3d1e329f33 CMSIS-DSP: Improved build with MDK
Compilation flags to control code size can now be used with MDK build
and not only with the cmake one.
5 years ago
Christophe Favergeon 8d2fca6efe CMSIS-DSP: Removed compilation warning. 5 years ago
Christophe Favergeon 2b6d208557 CMSIS-DSP: Corrected issue in rfft f16 5 years ago
Christophe Favergeon 68e5b742ba CMSIS-DSP: Some improvement to a few f16 functions 5 years ago
Christophe Favergeon 3752e622b8 CMSIS-DSP: Corrected issue in scalar arm_rfft_fast_f16 5 years ago
Christophe Favergeon 1b34e464ba CMSIS-DSP: Added new f16 tests 5 years ago
Christophe Favergeon 69d56b1a31 CMSIS-DSP: f16 versions of classical ML functions 5 years ago
Christophe Favergeon f51b3c3317 CMSIS-DSP: Added f16 versions of the distance functions 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 51be1901ce CMSIS-DSP: Added f16 versions of statistics functions. 5 years ago
Christophe Favergeon 71218873eb CMSIS-DSP: Added f16 versions of linear and bilinear interpolations 5 years ago
Christophe Favergeon d2d691cc23 CMSIS-DSP: Added f16 matrix functions 5 years ago
Christophe Favergeon 7d79ffa51f CMSIS-DSP: Added arm_correlate_f16
Corrected PythonWrapper issues due to new f16 functions
5 years ago
Christophe Favergeon f0750e92c2 CMSIS-DSP: Added f16 version of biquads.
Corrected few doxygen issues.
5 years ago
Christophe Favergeon 7c55ae80f7 CMSIS-DSP: Added arm_fir_f16
Improved f16 comlex dot product
Correction to compile flags to FFT tables for MVE version.
5 years ago
Christophe Favergeon ebf9104c4e CMSIS-DSP: Added complex math f16 5 years ago
Christophe Favergeon 8b465544a1 CMSIS-DSP: Added arm_rfft_fast_f16 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 93196c0fd7 CMSIS-DSP: Corrected build issue with Neon. 5 years ago
Christophe Favergeon 566550e15d CMSIS-DSP: doxygen corrections 6 years ago
Christophe Favergeon 3359d706cf CMSIS-DSP: Corrected build issue with Python wrapper.
Corrected bug in arm_mat_vec_mult_q15.
6 years ago
Christophe Favergeon a20e215bfc CMSIS-DSP: Added new matrix functions and their MVE implementation
arm_mat_cmplx_trans_f32.c
arm_mat_cmplx_trans_q15.c
arm_mat_cmplx_trans_q31.c
6 years ago
Christophe Favergeon 8268b079d5 CMSIS-DSP: Added new matrix functions and MVE version
arm_mat_mult_q7.c
arm_mat_trans_q7.c
arm_mat_vec_mult_f32.c
arm_mat_vec_mult_q15.c
arm_mat_vec_mult_q31.c
arm_mat_vec_mult_q7.c
6 years ago
Christophe Favergeon c0d3b61f37 CMSIS-DSP: Changed cmake required minimum version 6 years ago
Christophe Favergeon be40746c5e CMSIS-DSP: Improvement to test framework
Added support for A32.
Still some issues with cycle model.
6 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 11b7758815 CMSIS-DSP: Corrected issue #906 6 years ago
Christophe Favergeon 8cafb3219f CMSIS-DSP: Corrected issue #870 6 years ago
Christophe Favergeon b1e1a3140e CMSIS-DSP: Improve test formatting script. 6 years ago
Christophe Favergeon a159791720 CMSIS-DSP: Improved test framework
Added gcc support to IPSS in test framework.
Improved f16 handling for when compiling M55 with gcc.
6 years ago
Christophe Favergeon c33adc9485 CMSIS-DSP: Improvements to the float16 support for building. 6 years ago
Christophe Favergeon b31c737ad0 CMSIS-DSP: Corrected latest issues in f16 MVE version of cfft. 6 years ago
Christophe Favergeon 86a272902a CMSIS-DSP: Add preliminary cfft 16 MVE code. 6 years ago
Christophe Favergeon b543f5c61c CMSIS-DSP: Added f16 support to test framework.
Added preliminary f16 versions of some functions
6 years ago
Christophe Favergeon 89704d71f0 CMSIS-DSP: Correction of issue 890
Wrong file name in some comments.
6 years ago
Christophe Favergeon 12af686c77 CMSIS-DSP: Correction of issue 891
Use of arm_cfft_init_f64 in the tests for coherency with other
cfft tests.
6 years ago
Christophe Favergeon 1accfadc96 CMSIS-DSP: Correct issue 888
Added clarifications to documentation about arm_power_...
6 years ago
Christophe Favergeon 017962caec CMSIS-DSP: Fix for issue 874 6 years ago
GuentherMartin f51e95f5a8 CMSIS-DSP: Corrected tail management bug in MVE version of arm_fir_f32.c 6 years ago
Christophe Favergeon 78d7e66bc9 CMSIS-DSP: Corrected issue in initialization tables for RFFT 32 samples. 6 years ago
Christophe Favergeon fa54f15135 CMSIS-DSP: Corrected tail management bug in MVE version of arm_fir_f32.c 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
Christophe Favergeon ecb9df9e18 CMSIS-DSP: Corrected type mistake. 6 years ago
Christophe Favergeon e4a2262af3 CMSIS-DSP: Added tutorial link to Doxygen documentation.
Corrected potential build issue with packs.
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 64d43685fb CMSIS-DSP: Added MVE support for logical operators (modified prototypes) 6 years ago
Christophe Favergeon 0e438b58f6 CMSIS-DSP: Fix to MVE code to allow compilation with AC6 6.14 6 years ago
ClaudioMartino fb1f6b04a7 CMSIS-DSP: Added scalar float64 entropy and kullback leibler 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 efd47b9da6 CMSIS-DSP: Improvement for issue 809 6 years ago
Christophe Favergeon d2fb32de54 CMSIS-DSP: Added longer test patterns and corrected saturation bugs.
Longer test patterns for BasicMaths, ComplexMaths and Statistics.
Corrected saturation bug in MVE code for arm_abs_q7,
arm_cmplx_conj_q15 and arm_cmplx_conj_q31.
6 years ago
Christophe Favergeon dcda169de6 CMSIS-DSP: Cleaning for RFFT
Updated Doxygen comments.
Moved cfft_init_f64 from PythonWrapper to normal repository.
6 years ago
Christophe Favergeon d5db9b7123 CMSIS-DSP:Correction for issue 218 6 years ago
Christophe Favergeon c97ef0adf6 CMSIS-DSP:Correction for issue 258 6 years ago
Christophe Favergeon d5dabb0e23 CMSIS-DSP:Correction for issue 344 6 years ago
Christophe Favergeon db45f2793e CMSIS-DSP:Correction for issue 694. 6 years ago
Christophe Favergeon f2facaa0a2 CMSIS-DSP: Correction for issue 720 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
Christophe Favergeon c21c54f83d CMSIS-DSP: Added MVE code for merge_rfft_f32 6 years ago
Christophe Favergeon 266d88ba4a CMSIS-DSP: Added MVE version of stage_rfft_f32 6 years ago
Christophe Favergeon 0c8bacd043 CMSIS-DSP: Added MVE code for rfft q15 6 years ago
Christophe Favergeon 681080f52a CMSIS-DSP: Added MVE code for rfft q31 6 years ago
Christophe Favergeon b6d9bdd4ef CMSIS-DSP: Added MVE code for arm_cfft_q15 6 years ago
Christophe Favergeon f5c31e6af4 CMSIS-DSP: Added MVE code for cfft q31
Added tests patterns for RFFT Q31 and Q15.
6 years ago
Christophe Favergeon 3060b1da8f CMSIS-DSP: MVE version of arm_cfft_f32. 6 years ago
ClaudioMartino 169877344c Corrected spline interpolation and merge sort 6 years ago
Christophe Favergeon 76153d838d CMSIS-DSP: Corrected issues 783-786
Adding const to some API arguments
Updating array dimensions in some tests
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 585137ad16 CMSIS-DSP: Added an SVM example to show how to use it. 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 ea8a5b2800 CMSIS-DSP: Added new tests for Biquads.
Added MVE code for Biquads.
6 years ago
FabKlein ee57bbde54 CMSIS-DSP: Initial F64 CFFT/RFFT implementation 6 years ago
Christophe Favergeon 26cb1690bc CMSIS-DSP: Corrected problem with arm_mat_inverse.
Related to pull request 741 when pivot is 0.
6 years ago
Christophe Favergeon 767ed7b920 CMSIS-DSP: Added MVE code for FIR.
Improved FIR test patterns.
6 years ago
Christophe Favergeon ecf9525765 CMSIS-DSP: Added test patterns for fir
Added MVE version of arm_fir_f32
Improved test framework to display more information about errors.
6 years ago
Christophe Favergeon a41d2678d4 CMSIS-DSP: Corrected build problem with arm_correlate_f32. 6 years ago
Christophe Favergeon b1af1d4766 CMSIS-DSP: Generated test patterns for convolutions and correlations.
Added MVE code for convolutions and correlations.
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
ClaudioMartino 07a6ef535d Added arm_abs_q31.c Neon 6 years ago
Christophe Favergeon c19c41d261 CMSIS-DSP: Added a ARM_MATH_FLOAT16 compilation option.
It is automatically enabled when MVE support is enabled.
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 6945b74f8a CMSIS-DSP: Added test patterns for Statistics functions.
Added MVE code for statistics functions.
Improvement to test framework.
6 years ago
Christophe Favergeon dcf079cb1d CMSIS-DSP: Added Helium support to Complex Math Functions.
Added new test patterns for complex math functions.
Added new tests to test framework.
Improved error handling of test framework.
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
Christophe Favergeon 2d3a2166d6 CMSIS-DSP: Added more control for MVE compilation flags.
Now there are ARM_MATH_MVEF and ARM_MATH_MVEI.
6 years ago
Christophe Favergeon 0e915a0458 CMSIS-DSP: Added ARM_MATH_AUTOVECTORIZE and AUTOVECTORIZE to cmake
It is to provide more control and to disable
intrinsics version of some kernels when the C code is simple enough to
benefit from vectorization.

Since the result is compiler dependent, this option is optional.
(And it is not yet added to the source files).

Compilation flags may have to be tuned (-O3 for instance ...)
6 years ago
Christophe Favergeon 3c4824b28f CMSIS-DSP: Corrected wrong table in fft.cmake 6 years ago
Christophe Favergeon 84c7261036 CMSIS-DSP: Simplification to cmake to build without test framework. 6 years ago
Christophe Favergeon 5309ff3334 CMSIS-DSP: Corrected compilation issues with ARM AC5 compiler.
Added AC5 support to the test framework.
Upgraded gcc support.
6 years ago
Christophe Favergeon ee13dcb33a CMSIS-DSP : Testing framework improvements
Added new tests for cfft.
Improved error handling when not enough memory allocated in testmain.cpp
Corrected arm_math.h (replaced inline by preprocessor definition).
Added example debug script to read pattern and output of tests using
scipy.
6 years ago
Christophe Favergeon 4a0aa2ad26 CMSIS-DSP: Added support for Helium.
Only arm_dot_prod_f32 is currently providing an Helium implementation.
6 years ago
ClaudioMartino 033f5e17de Removed useless vld1q_f32 from arm_correlate_f32 6 years ago
Christophe Favergeon 799b7aa521 CMSIS-DSP: Added benchmarking code for Transform. 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 1f87fd50c9 CMSIS-DSP: Change to cmake to more easily build wrappers 6 years ago
Christophe Favergeon b8fbe472b0 CMSIS-DSP:Some corrections to cmake build system. 6 years ago