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/BasicMathFunctions
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
..
BasicMathFunctions.c Implement some f64 methods 4 years ago
BasicMathFunctionsF16.c CMSIS-DSP: Added scalar version of clipping functions. 5 years ago
CMakeLists.txt CMSIS-DSP: Changed cmake required minimum version 6 years ago
arm_abs_f16.c CMSIS-DSP: Removed float promotion issues 5 years ago
arm_abs_f32.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_abs_f64.c Removing defgroup from f64 & fixing double init values 4 years ago
arm_abs_q7.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_abs_q15.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_abs_q31.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_add_f16.c CMSIS-DSP: Removed float promotion issues 5 years ago
arm_add_f32.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_add_f64.c Removing defgroup from f64 & fixing double init values 4 years ago
arm_add_q7.c DSP: Remove undefined behavior in post-increment/decrement read (#1443) 4 years ago
arm_add_q15.c DSP: Remove undefined behavior in post-increment/decrement read (#1443) 4 years ago
arm_add_q31.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_and_u8.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_and_u16.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_and_u32.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_clip_f16.c CMSIS-DSP: Removed float promotion issues 5 years ago
arm_clip_f32.c CMSIS-DSP: Removed float promotion issues 5 years ago
arm_clip_q7.c CMSIS-DSP: Removed float promotion issues 5 years ago
arm_clip_q15.c CMSIS-DSP: Removed float promotion issues 5 years ago
arm_clip_q31.c CMSIS-DSP: Removed float promotion issues 5 years ago
arm_dot_prod_f16.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_dot_prod_f32.c Fix warning unused tmp variable (#1335) 4 years ago
arm_dot_prod_f64.c Removing defgroup from f64 & fixing double init values 4 years ago
arm_dot_prod_q7.c DSP: Remove undefined behavior in post-increment/decrement read (#1443) 4 years ago
arm_dot_prod_q15.c DSP: Remove undefined behavior in post-increment/decrement read (#1443) 4 years ago
arm_dot_prod_q31.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_mult_f16.c CMSIS-DSP: Removed float promotion issues 5 years ago
arm_mult_f32.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_mult_f64.c Removing defgroup from f64 & fixing double init values 4 years ago
arm_mult_q7.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_mult_q15.c DSP: Remove undefined behavior in post-increment/decrement read (#1443) 4 years ago
arm_mult_q31.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_negate_f16.c CMSIS-DSP: Removed float promotion issues 5 years ago
arm_negate_f32.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_negate_f64.c Removing defgroup from f64 & fixing double init values 4 years ago
arm_negate_q7.c DSP: Remove undefined behavior in post-increment/decrement read (#1443) 4 years ago
arm_negate_q15.c DSP: Remove undefined behavior in post-increment/decrement read (#1443) 4 years ago
arm_negate_q31.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_not_u8.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_not_u16.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_not_u32.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_offset_f16.c CMSIS-DSP: Removed float promotion issues 5 years ago
arm_offset_f32.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_offset_f64.c Removing defgroup from f64 & fixing double init values 4 years ago
arm_offset_q7.c DSP: Remove undefined behavior in post-increment/decrement read (#1443) 4 years ago
arm_offset_q15.c DSP: Remove undefined behavior in post-increment/decrement read (#1443) 4 years ago
arm_offset_q31.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_or_u8.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_or_u16.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_or_u32.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_scale_f16.c CMSIS-DSP: Removed float promotion issues 5 years ago
arm_scale_f32.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_scale_f64.c Removing defgroup from f64 & fixing double init values 4 years ago
arm_scale_q7.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_scale_q15.c DSP: Remove undefined behavior in post-increment/decrement read (#1443) 4 years ago
arm_scale_q31.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_shift_q7.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_shift_q15.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_shift_q31.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_sub_f16.c CMSIS-DSP: Removed float promotion issues 5 years ago
arm_sub_f32.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_sub_f64.c Removing defgroup from f64 & fixing double init values 4 years ago
arm_sub_q7.c DSP: Remove undefined behavior in post-increment/decrement read (#1443) 4 years ago
arm_sub_q15.c DSP: Remove undefined behavior in post-increment/decrement read (#1443) 4 years ago
arm_sub_q31.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_xor_u8.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_xor_u16.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago
arm_xor_u32.c CMSIS-DSP: Update copyright year and version numbers in comments. 5 years ago