Commit Graph

336 Commits (main)

Author SHA1 Message Date
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
Christophe Favergeon bd19f75d4f CMSIS-DSP: Minor cleaning and script for color syntax of test
descriptions
6 years ago
Christophe Favergeon 7a07cecef1 CMSIS-DSP: Added distance functions for clustering algorithms 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 94b63664f2 CMSIS-DSP: Added Naive Gaussian Bayesian Estimator 6 years ago
Christophe Favergeon 302ada6633 CMSIS-DSP: Added SVM Functions and tests
Added more tests for BasicMathFunctions
Added script to postprocess result of benchmarks.
6 years ago
Christophe Favergeon d3170304e1 CMSIS-DSP:Added missing compilation flags to arm_rfft_fast_init_f32.c 7 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
ClaudioMartino ad726aa823 vmlaq in arm_dot_prod_f32 instead of vmulq and vadd 7 years ago
Christophe Favergeon bf1f324a6d CMSIS-DSP: DSP_Lib_TestSuite can be built with cmake.
DSP_Lib_TestSuite can be built with cmake and run on FVP.
Some issues with CMSIS-DSP cmake where discovered and corrected.

Comments added to arm_biqaud_cascade_df2T+f32 since the Neon version
must be initialized differently (and thus the corresponding test
in DSP_Lib_TestSuite will have to be updated to pass with Neon version).
7 years ago
Christophe Favergeon c0f96fe5d8 CMSIS-DSP: Corrected issue in Neon version of arm_correlate_f32.
Issue was introduced by a merge on our internal branch.
7 years ago
Christophe Favergeon 3bf2e2eda6 CMSIS-DSP: Enable build with MSVC compiler.
The goal of this commit is to allow the build of CMSIS-DSP on Windows to
enable the use of the library from Python or Matlab.

The Python wrapper has also been simplified and is now using the
CMSIS-DSP directly without requiring specific include files or source files.
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
Christophe Favergeon de626e2391 CMSIS DSP : Added a cmake build system
It is not replacing the current MDK and ArmDS projects.
It is a complementary way to build CMSIS-DSP.
Current version is supporting ARM AC6 compiler from ArmDS.

The result of the build can be run on a FVP for instance.

It could be extended to use different toolchain and build for different
targets.

The README.md in DSP folder is giving all the details.
7 years ago
stgoh 295292422c Rectified Description error on twiddeCoeff_rfft_32
Rectified error on formula that generates Twiddle coefficients table for RFFT (line 17749)
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
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 37f6c581e8 Fix duplicate `const` declaration specifier 7 years ago
Torfinn Berset 61bd40e7a6 Fix incorrect pointer sign for arm_cfft_radix4_q15's bit reversal table (was signed, should be unsigned) 7 years ago
Torfinn Berset 294190cc2d Fix duplicate `const` declaration specifier 7 years ago
Torfinn Berset db3a3ae6a5 Fix const errors when compiling for Cortex M0 7 years ago
Torfinn Berset 23765aeff4 Fix const warnings 7 years ago
Torfinn Berset b54e1f9bf1 Converting C sources to use `const` where appropriate using regular expressions. Fix typos 7 years ago
GuentherMartin ddee94e8db DSP_Lib:
- updated arm_math.h
 - reduced ARM_MATH_CMx macros
7 years ago
Dave Flogeras 41a3f92259 Implement arm_rfft_fast_init_f32 with new separate initialize functions. 7 years ago
Dave Flogeras 0f5b33ee1b Split rfft_fast_init_f32 into separate initializer functions.
The rationale here is that if the caller knows the size FFT they require
at compile time, only the look-up tables required for that size are
placed in the data segment (ROM).  This saves between ~40k to ~80k of
ROM when only using a single FFT size.
7 years ago
GuentherMartin da38c27dd0 Merged PR #166 7 years ago
Andrew Leech 1b43c4f5d5 DSP: fix double-promotion warnings in arm_mat_inverse_f64 7 years ago
Oskar Weigl fd1a8d82f6 restore unrelated changes inadvertently reverted due to bad commit separation 7 years ago
Oskar Weigl c95aa7bde3 Revert "input range must be in [0:2PI]"
This reverts commit 6f9820bdd8.
7 years ago
Oskar Weigl dc65724d7c Revert "input range is [0..2Pi]"
This reverts commit 55cfa55b99.
7 years ago
Oskar Weigl dd4779520f fix float rounding issue in sincos index calculation 7 years ago
ARM IT 681c874896 Comment in DCT4 allowed length
https://github.com/ARM-software/CMSIS_5/issues/232
8 years ago
ARM IT 255011718a Pointer increment bug correction
https://github.com/ARM-software/CMSIS_5/issues/165
8 years ago
ARM IT 55cfa55b99 input range is [0..2Pi] 8 years ago
ARM IT 6f9820bdd8 input range must be in [0:2PI] 8 years ago
ARM IT 1c35a7a258 Cancel test
Cancel test
8 years ago
ARM IT ade09c22b7 test
just for test
8 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 7a41fd0818 updated DSP_Lib files arm_sin_cos_f32.c, arm_var_f32.c. 9 years ago
Martin Günther bc3b6d0e2f DSP ARMv8M preparation. 9 years ago
Martin Günther 147cb4e37a Updated CMSIS DSP because of wrong macro ARM_MATH_CM0_FAMILY_FAMILY. 9 years ago
Martin Günther 1c78832899 Updated DSP_Lib changelog and libraries. 9 years ago
Martin Günther 5d3e72e111 Merge pull request #81 from dpalframan/develop
performance optimizations for arm_mat_mult_fast_q15 and arm_mat_mult_fast_q31
9 years ago
Martin Günther 3a1cfe0e0b Corrected arm_conv_partial_q15(), arm_conv_q15(), arm_correlate_q15() for Cortex-M7 based cores. 9 years ago
David Palframan 365d910888 performance optimizations for arm_mat_mult_fast_q15 and arm_mat_mult_fast_q31 9 years ago
Martin Günther 740c6b2cb0 removed doxy warning 10 years ago
unknown 081039f609 Reduced -Wconversion warnings 10 years ago
Martin Günther 7a4fea9150 Renamed folder DSP_Lib to DSP to be consistent with documentation. 10 years ago