You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
CMSIS-DSP/Source/StatisticsFunctions
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
..
CMakeLists.txt CMSIS-DSP: Mean square error for q15, q31, f16, f32, f64. 4 years ago
StatisticsFunctions.c CMSIS-DSP: Mean square error for q15, q31, f16, f32, f64. 4 years ago
StatisticsFunctionsF16.c CMSIS-DSP: Mean square error for q15, q31, f16, f32, f64. 4 years ago
arm_absmax_f16.c CMSIS-DSP: Removed float promotion issues 5 years ago
arm_absmax_f32.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_absmax_f64.c Removing defgroup from f64 & fixing double init values 4 years ago
arm_absmax_no_idx_f16.c CMSIS-DSP: New min/max functions. 4 years ago
arm_absmax_no_idx_f32.c CMSIS-DSP: New min/max functions. 4 years ago
arm_absmax_no_idx_f64.c CMSIS-DSP: New min/max functions. 4 years ago
arm_absmax_no_idx_q7.c CMSIS-DSP: New min/max functions. 4 years ago
arm_absmax_no_idx_q15.c CMSIS-DSP: New min/max functions. 4 years ago
arm_absmax_no_idx_q31.c CMSIS-DSP: New min/max functions. 4 years ago
arm_absmax_q7.c CMSIS-DSP: New MFCC Q15 and Q31 4 years ago
arm_absmax_q15.c CMSIS-DSP: New MFCC Q15 and Q31 4 years ago
arm_absmax_q31.c CMSIS-DSP: New MFCC Q15 and Q31 4 years ago
arm_absmin_f16.c CMSIS-DSP: Mean square error q7 4 years ago
arm_absmin_f32.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_absmin_f64.c Removing defgroup from f64 & fixing double init values 4 years ago
arm_absmin_no_idx_f16.c CMSIS-DSP: Mean square error q7 4 years ago
arm_absmin_no_idx_f32.c CMSIS-DSP: New min/max functions. 4 years ago
arm_absmin_no_idx_f64.c CMSIS-DSP: New min/max functions. 4 years ago
arm_absmin_no_idx_q7.c CMSIS-DSP: New min/max functions. 4 years ago
arm_absmin_no_idx_q15.c CMSIS-DSP: New min/max functions. 4 years ago
arm_absmin_no_idx_q31.c CMSIS-DSP: New min/max functions. 4 years ago
arm_absmin_q7.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_absmin_q15.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_absmin_q31.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_entropy_f16.c CMSIS-DSP: Removed float promotion issues 5 years ago
arm_entropy_f32.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_entropy_f64.c CMSIS-DSP: Removed float promotion issues 5 years ago
arm_kullback_leibler_f16.c CMSIS-DSP: Removed float promotion issues 5 years ago
arm_kullback_leibler_f32.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_kullback_leibler_f64.c CMSIS-DSP: Removed float promotion issues 5 years ago
arm_logsumexp_dot_prod_f16.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_logsumexp_dot_prod_f32.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_logsumexp_f16.c CMSIS-DSP: Removed float promotion issues 5 years ago
arm_logsumexp_f32.c CMSIS-DSP: Removed float promotion issues 5 years ago
arm_max_f16.c CMSIS-DSP: Removed float promotion issues 5 years ago
arm_max_f32.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_max_f64.c Removing defgroup from f64 & fixing double init values 4 years ago
arm_max_no_idx_f16.c CMSIS-DSP: Removed float promotion issues 5 years ago
arm_max_no_idx_f32.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_max_no_idx_f64.c Fixing double init values 4 years ago
arm_max_no_idx_q7.c CMSIS-DSP: New min/max functions. 4 years ago
arm_max_no_idx_q15.c CMSIS-DSP: New min/max functions. 4 years ago
arm_max_no_idx_q31.c CMSIS-DSP: New min/max functions. 4 years ago
arm_max_q7.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_max_q15.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_max_q31.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_mean_f16.c CMSIS-DSP: Removed float promotion issues 5 years ago
arm_mean_f32.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_mean_f64.c Removing defgroup from f64 & fixing double init values 4 years ago
arm_mean_q7.c DSP: Remove undefined behavior in post-increment/decrement read (#1443) 4 years ago
arm_mean_q15.c DSP: Remove undefined behavior in post-increment/decrement read (#1443) 4 years ago
arm_mean_q31.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_min_f16.c CMSIS-DSP: Removed float promotion issues 5 years ago
arm_min_f32.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_min_f64.c Removing defgroup from f64 & fixing double init values 4 years ago
arm_min_no_idx_f16.c CMSIS-DSP: New min/max functions. 4 years ago
arm_min_no_idx_f32.c CMSIS-DSP: New min/max functions. 4 years ago
arm_min_no_idx_f64.c CMSIS-DSP: New min/max functions. 4 years ago
arm_min_no_idx_q7.c CMSIS-DSP: New min/max functions. 4 years ago
arm_min_no_idx_q15.c CMSIS-DSP: New min/max functions. 4 years ago
arm_min_no_idx_q31.c CMSIS-DSP: New min/max functions. 4 years ago
arm_min_q7.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_min_q15.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_min_q31.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_mse_f16.c CMSIS-DSP: Mean square error for q15, q31, f16, f32, f64. 4 years ago
arm_mse_f32.c CMSIS-DSP: Mean square error for q15, q31, f16, f32, f64. 4 years ago
arm_mse_f64.c CMSIS-DSP: Mean square error for q15, q31, f16, f32, f64. 4 years ago
arm_mse_q7.c CMSIS-DSP: Mean square error for q15, q31, f16, f32, f64. 4 years ago
arm_mse_q15.c CMSIS-DSP: Mean square error for q15, q31, f16, f32, f64. 4 years ago
arm_mse_q31.c CMSIS-DSP: Mean square error for q15, q31, f16, f32, f64. 4 years ago
arm_power_f16.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_power_f32.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_power_f64.c Removing defgroup from f64 & fixing double init values 4 years ago
arm_power_q7.c DSP: Remove undefined behavior in post-increment/decrement read (#1443) 4 years ago
arm_power_q15.c DSP: Remove undefined behavior in post-increment/decrement read (#1443) 4 years ago
arm_power_q31.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_rms_f16.c CMSIS-DSP: Removed float promotion issues 5 years ago
arm_rms_f32.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_rms_q15.c DSP: Remove undefined behavior in post-increment/decrement read (#1443) 4 years ago
arm_rms_q31.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_std_f16.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_std_f32.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_std_f64.c Removing defgroup from f64 & fixing double init values 4 years ago
arm_std_q15.c DSP: Remove undefined behavior in post-increment/decrement read (#1443) 4 years ago
arm_std_q31.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_var_f16.c CMSIS-DSP: Removed float promotion issues 5 years ago
arm_var_f32.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_var_f64.c Removing defgroup from f64 & fixing double init values 4 years ago
arm_var_q15.c DSP: Remove undefined behavior in post-increment/decrement read (#1443) 4 years ago
arm_var_q31.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago