diff --git a/ComputeLibrary/Include/NEMath.h b/ComputeLibrary/Include/NEMath.h index 589f8dc4e..b679f6e83 100755 --- a/ComputeLibrary/Include/NEMath.h +++ b/ComputeLibrary/Include/NEMath.h @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_NEMATH_H__ -#define __ARM_COMPUTE_NEMATH_H__ +#ifndef ARM_COMPUTE_NEMATH_H__ +#define ARM_COMPUTE_NEMATH_H__ #if defined(ARM_MATH_NEON) diff --git a/Include/arm_common_tables.h b/Include/arm_common_tables.h index f99721d4e..6a9270437 100644 --- a/Include/arm_common_tables.h +++ b/Include/arm_common_tables.h @@ -26,8 +26,8 @@ * limitations under the License. */ -#ifndef _ARM_COMMON_TABLES_H -#define _ARM_COMMON_TABLES_H +#ifndef ARM_COMMON_TABLES_H +#define ARM_COMMON_TABLES_H #include "arm_math_types.h" #include "dsp/fast_math_functions.h" diff --git a/Include/arm_common_tables_f16.h b/Include/arm_common_tables_f16.h index 2fb52e88b..c84a766ad 100755 --- a/Include/arm_common_tables_f16.h +++ b/Include/arm_common_tables_f16.h @@ -26,8 +26,8 @@ * limitations under the License. */ -#ifndef _ARM_COMMON_TABLES_F16_H -#define _ARM_COMMON_TABLES_F16_H +#ifndef ARM_COMMON_TABLES_F16_H +#define ARM_COMMON_TABLES_F16_H #include "arm_math_types_f16.h" diff --git a/Include/arm_const_structs.h b/Include/arm_const_structs.h index 59026db5d..32c1a436e 100644 --- a/Include/arm_const_structs.h +++ b/Include/arm_const_structs.h @@ -27,8 +27,8 @@ * limitations under the License. */ -#ifndef _ARM_CONST_STRUCTS_H -#define _ARM_CONST_STRUCTS_H +#ifndef ARM_CONST_STRUCTS_H +#define ARM_CONST_STRUCTS_H #include "arm_math_types.h" #include "arm_common_tables.h" diff --git a/Include/arm_const_structs_f16.h b/Include/arm_const_structs_f16.h index d834fa7dc..3a520b6b9 100755 --- a/Include/arm_const_structs_f16.h +++ b/Include/arm_const_structs_f16.h @@ -27,8 +27,8 @@ * limitations under the License. */ -#ifndef _ARM_CONST_STRUCTS_F16_H -#define _ARM_CONST_STRUCTS_F16_H +#ifndef ARM_CONST_STRUCTS_F16_H +#define ARM_CONST_STRUCTS_F16_H #include "arm_math_types_f16.h" #include "arm_common_tables.h" diff --git a/Include/arm_helium_utils.h b/Include/arm_helium_utils.h index 0dedb1d74..651676782 100755 --- a/Include/arm_helium_utils.h +++ b/Include/arm_helium_utils.h @@ -26,8 +26,8 @@ * limitations under the License. */ -#ifndef _ARM_UTILS_HELIUM_H_ -#define _ARM_UTILS_HELIUM_H_ +#ifndef ARM_UTILS_HELIUM_H_ +#define ARM_UTILS_HELIUM_H_ #ifdef __cplusplus diff --git a/Include/arm_math.h b/Include/arm_math.h index cb1b6ece0..0e9ca5997 100644 --- a/Include/arm_math.h +++ b/Include/arm_math.h @@ -24,8 +24,8 @@ */ -#ifndef _ARM_MATH_H -#define _ARM_MATH_H +#ifndef ARM_MATH_H +#define ARM_MATH_H #include "arm_math_types.h" diff --git a/Include/arm_math_f16.h b/Include/arm_math_f16.h index daf0c53d4..34ca0e542 100755 --- a/Include/arm_math_f16.h +++ b/Include/arm_math_f16.h @@ -23,8 +23,8 @@ * limitations under the License. */ -#ifndef _ARM_MATH_F16_H -#define _ARM_MATH_F16_H +#ifndef ARM_MATH_F16_H +#define ARM_MATH_F16_H #include "arm_math.h" diff --git a/Include/arm_math_memory.h b/Include/arm_math_memory.h index a6ca3c57b..d4b4c3323 100755 --- a/Include/arm_math_memory.h +++ b/Include/arm_math_memory.h @@ -23,9 +23,9 @@ * limitations under the License. */ -#ifndef _ARM_MATH_MEMORY_H_ +#ifndef ARM_MATH_MEMORY_H_ -#define _ARM_MATH_MEMORY_H_ +#define ARM_MATH_MEMORY_H_ #include "arm_math_types.h" diff --git a/Include/arm_math_types.h b/Include/arm_math_types.h index c10329220..30fd3ab63 100755 --- a/Include/arm_math_types.h +++ b/Include/arm_math_types.h @@ -23,9 +23,21 @@ * limitations under the License. */ -#ifndef _ARM_MATH_TYPES_H_ +#ifndef ARM_MATH_TYPES_H_ -#define _ARM_MATH_TYPES_H_ +#define ARM_MATH_TYPES_H_ + +#if defined(ARM_DSP_CUSTOM_CONFIG) +#include "arm_dsp_config.h" +#endif + +#ifndef ARM_DSP_ATTRIBUTE +#define ARM_DSP_ATTRIBUTE +#endif + +#ifndef ARM_DSP_TABLE_ATTRIBUTE +#define ARM_DSP_TABLE_ATTRIBUTE +#endif #ifdef __cplusplus extern "C" diff --git a/Include/arm_math_types_f16.h b/Include/arm_math_types_f16.h index 7fe87d299..26b8feeec 100755 --- a/Include/arm_math_types_f16.h +++ b/Include/arm_math_types_f16.h @@ -23,8 +23,8 @@ * limitations under the License. */ -#ifndef _ARM_MATH_TYPES_F16_H -#define _ARM_MATH_TYPES_F16_H +#ifndef ARM_MATH_TYPES_F16_H +#define ARM_MATH_TYPES_F16_H #include "arm_math_types.h" diff --git a/Include/arm_mve_tables.h b/Include/arm_mve_tables.h index 1c6e76bd4..aa58d7a92 100755 --- a/Include/arm_mve_tables.h +++ b/Include/arm_mve_tables.h @@ -27,8 +27,8 @@ * limitations under the License. */ - #ifndef _ARM_MVE_TABLES_H - #define _ARM_MVE_TABLES_H + #ifndef ARM_MVE_TABLES_H + #define ARM_MVE_TABLES_H #include "arm_math_types.h" diff --git a/Include/arm_mve_tables_f16.h b/Include/arm_mve_tables_f16.h index e7cf25600..ae2824529 100755 --- a/Include/arm_mve_tables_f16.h +++ b/Include/arm_mve_tables_f16.h @@ -27,8 +27,8 @@ * limitations under the License. */ - #ifndef _ARM_MVE_TABLES_F16_H - #define _ARM_MVE_TABLES_F16_H + #ifndef ARM_MVE_TABLES_F16_H + #define ARM_MVE_TABLES_F16_H #include "arm_math_types_f16.h" diff --git a/Include/arm_vec_math.h b/Include/arm_vec_math.h index 9cc4c4e60..ec90802e0 100755 --- a/Include/arm_vec_math.h +++ b/Include/arm_vec_math.h @@ -23,8 +23,8 @@ * limitations under the License. */ -#ifndef _ARM_VEC_MATH_H -#define _ARM_VEC_MATH_H +#ifndef ARM_VEC_MATH_H +#define ARM_VEC_MATH_H #include "arm_math_types.h" #include "arm_common_tables.h" diff --git a/Include/arm_vec_math_f16.h b/Include/arm_vec_math_f16.h index 91bd28aaf..70e503d66 100755 --- a/Include/arm_vec_math_f16.h +++ b/Include/arm_vec_math_f16.h @@ -23,8 +23,8 @@ * limitations under the License. */ -#ifndef _ARM_VEC_MATH_F16_H -#define _ARM_VEC_MATH_F16_H +#ifndef ARM_VEC_MATH_F16_H +#define ARM_VEC_MATH_F16_H #include "arm_math_types_f16.h" #include "arm_common_tables_f16.h" diff --git a/Include/dsp/basic_math_functions.h b/Include/dsp/basic_math_functions.h index 0b2cc0a29..645afdc3b 100755 --- a/Include/dsp/basic_math_functions.h +++ b/Include/dsp/basic_math_functions.h @@ -24,8 +24,8 @@ */ -#ifndef _BASIC_MATH_FUNCTIONS_H_ -#define _BASIC_MATH_FUNCTIONS_H_ +#ifndef BASIC_MATH_FUNCTIONS_H_ +#define BASIC_MATH_FUNCTIONS_H_ #include "arm_math_types.h" #include "arm_math_memory.h" diff --git a/Include/dsp/basic_math_functions_f16.h b/Include/dsp/basic_math_functions_f16.h index 20705cb10..b3d5ecdc9 100755 --- a/Include/dsp/basic_math_functions_f16.h +++ b/Include/dsp/basic_math_functions_f16.h @@ -24,8 +24,8 @@ */ -#ifndef _BASIC_MATH_FUNCTIONS_F16_H_ -#define _BASIC_MATH_FUNCTIONS_F16_H_ +#ifndef BASIC_MATH_FUNCTIONS_F16_H_ +#define BASIC_MATH_FUNCTIONS_F16_H_ #include "arm_math_types_f16.h" #include "arm_math_memory.h" diff --git a/Include/dsp/bayes_functions.h b/Include/dsp/bayes_functions.h index cd780510e..7b3e0efac 100755 --- a/Include/dsp/bayes_functions.h +++ b/Include/dsp/bayes_functions.h @@ -24,8 +24,8 @@ */ -#ifndef _BAYES_FUNCTIONS_H_ -#define _BAYES_FUNCTIONS_H_ +#ifndef BAYES_FUNCTIONS_H_ +#define BAYES_FUNCTIONS_H_ #include "arm_math_types.h" #include "arm_math_memory.h" diff --git a/Include/dsp/bayes_functions_f16.h b/Include/dsp/bayes_functions_f16.h index b18bb57ff..100162ed4 100755 --- a/Include/dsp/bayes_functions_f16.h +++ b/Include/dsp/bayes_functions_f16.h @@ -24,8 +24,8 @@ */ -#ifndef _BAYES_FUNCTIONS_F16_H_ -#define _BAYES_FUNCTIONS_F16_H_ +#ifndef BAYES_FUNCTIONS_F16_H_ +#define BAYES_FUNCTIONS_F16_H_ #include "arm_math_types_f16.h" #include "arm_math_memory.h" diff --git a/Include/dsp/complex_math_functions.h b/Include/dsp/complex_math_functions.h index 1339ebaee..bdbc2a4ed 100755 --- a/Include/dsp/complex_math_functions.h +++ b/Include/dsp/complex_math_functions.h @@ -24,8 +24,8 @@ */ -#ifndef _COMPLEX_MATH_FUNCTIONS_H_ -#define _COMPLEX_MATH_FUNCTIONS_H_ +#ifndef COMPLEX_MATH_FUNCTIONS_H_ +#define COMPLEX_MATH_FUNCTIONS_H_ #include "arm_math_types.h" #include "arm_math_memory.h" diff --git a/Include/dsp/complex_math_functions_f16.h b/Include/dsp/complex_math_functions_f16.h index b17f9314e..bd147325f 100755 --- a/Include/dsp/complex_math_functions_f16.h +++ b/Include/dsp/complex_math_functions_f16.h @@ -24,8 +24,8 @@ */ -#ifndef _COMPLEX_MATH_FUNCTIONS_F16_H_ -#define _COMPLEX_MATH_FUNCTIONS_F16_H_ +#ifndef COMPLEX_MATH_FUNCTIONS_F16_H_ +#define COMPLEX_MATH_FUNCTIONS_F16_H_ #include "arm_math_types_f16.h" #include "arm_math_memory.h" diff --git a/Include/dsp/controller_functions.h b/Include/dsp/controller_functions.h index 85389ed01..5d5de98ea 100755 --- a/Include/dsp/controller_functions.h +++ b/Include/dsp/controller_functions.h @@ -24,8 +24,8 @@ */ -#ifndef _CONTROLLER_FUNCTIONS_H_ -#define _CONTROLLER_FUNCTIONS_H_ +#ifndef CONTROLLER_FUNCTIONS_H_ +#define CONTROLLER_FUNCTIONS_H_ #include "arm_math_types.h" #include "arm_math_memory.h" diff --git a/Include/dsp/controller_functions_f16.h b/Include/dsp/controller_functions_f16.h index 8fae483c1..a4622ec3d 100755 --- a/Include/dsp/controller_functions_f16.h +++ b/Include/dsp/controller_functions_f16.h @@ -24,8 +24,8 @@ */ -#ifndef _CONTROLLER_FUNCTIONS_F16_H_ -#define _CONTROLLER_FUNCTIONS_F16_H_ +#ifndef CONTROLLER_FUNCTIONS_F16_H_ +#define CONTROLLER_FUNCTIONS_F16_H_ #ifdef __cplusplus extern "C" diff --git a/Include/dsp/debug.h b/Include/dsp/debug.h index c95804cea..b98e03893 100644 --- a/Include/dsp/debug.h +++ b/Include/dsp/debug.h @@ -24,8 +24,8 @@ */ -#ifndef _DEBUG_FUNCTIONS_H_ -#define _DEBUG_FUNCTIONS_H_ +#ifndef DEBUG_FUNCTIONS_H_ +#define DEBUG_FUNCTIONS_H_ #include "arm_math_types.h" #include "arm_math_memory.h" diff --git a/Include/dsp/distance_functions.h b/Include/dsp/distance_functions.h index 354cd4e09..995efab8b 100755 --- a/Include/dsp/distance_functions.h +++ b/Include/dsp/distance_functions.h @@ -24,8 +24,8 @@ */ -#ifndef _DISTANCE_FUNCTIONS_H_ -#define _DISTANCE_FUNCTIONS_H_ +#ifndef DISTANCE_FUNCTIONS_H_ +#define DISTANCE_FUNCTIONS_H_ #include "arm_math_types.h" #include "arm_math_memory.h" diff --git a/Include/dsp/distance_functions_f16.h b/Include/dsp/distance_functions_f16.h index 4e74dd183..224d81499 100755 --- a/Include/dsp/distance_functions_f16.h +++ b/Include/dsp/distance_functions_f16.h @@ -24,8 +24,8 @@ */ -#ifndef _DISTANCE_FUNCTIONS_F16_H_ -#define _DISTANCE_FUNCTIONS_F16_H_ +#ifndef DISTANCE_FUNCTIONS_F16_H_ +#define DISTANCE_FUNCTIONS_F16_H_ #include "arm_math_types_f16.h" #include "arm_math_memory.h" diff --git a/Include/dsp/fast_math_functions.h b/Include/dsp/fast_math_functions.h index a9c756708..8e600ccff 100755 --- a/Include/dsp/fast_math_functions.h +++ b/Include/dsp/fast_math_functions.h @@ -24,8 +24,8 @@ */ -#ifndef _FAST_MATH_FUNCTIONS_H_ -#define _FAST_MATH_FUNCTIONS_H_ +#ifndef FAST_MATH_FUNCTIONS_H_ +#define FAST_MATH_FUNCTIONS_H_ #include "arm_math_types.h" #include "arm_math_memory.h" diff --git a/Include/dsp/fast_math_functions_f16.h b/Include/dsp/fast_math_functions_f16.h index b8ebef5e8..1fa45a86e 100755 --- a/Include/dsp/fast_math_functions_f16.h +++ b/Include/dsp/fast_math_functions_f16.h @@ -24,8 +24,8 @@ */ -#ifndef _FAST_MATH_FUNCTIONS_F16_H_ -#define _FAST_MATH_FUNCTIONS_F16_H_ +#ifndef FAST_MATH_FUNCTIONS_F16_H_ +#define FAST_MATH_FUNCTIONS_F16_H_ #include "arm_math_types_f16.h" #include "arm_math_memory.h" diff --git a/Include/dsp/filtering_functions.h b/Include/dsp/filtering_functions.h index c24d9d566..fa149595b 100755 --- a/Include/dsp/filtering_functions.h +++ b/Include/dsp/filtering_functions.h @@ -24,8 +24,8 @@ */ -#ifndef _FILTERING_FUNCTIONS_H_ -#define _FILTERING_FUNCTIONS_H_ +#ifndef FILTERING_FUNCTIONS_H_ +#define FILTERING_FUNCTIONS_H_ #include "arm_math_types.h" #include "arm_math_memory.h" diff --git a/Include/dsp/filtering_functions_f16.h b/Include/dsp/filtering_functions_f16.h index 250ae0f97..655cd7e0f 100755 --- a/Include/dsp/filtering_functions_f16.h +++ b/Include/dsp/filtering_functions_f16.h @@ -24,8 +24,8 @@ */ -#ifndef _FILTERING_FUNCTIONS_F16_H_ -#define _FILTERING_FUNCTIONS_F16_H_ +#ifndef FILTERING_FUNCTIONS_F16_H_ +#define FILTERING_FUNCTIONS_F16_H_ #include "arm_math_types_f16.h" #include "arm_math_memory.h" diff --git a/Include/dsp/interpolation_functions.h b/Include/dsp/interpolation_functions.h index c65e359e6..574b73738 100755 --- a/Include/dsp/interpolation_functions.h +++ b/Include/dsp/interpolation_functions.h @@ -24,8 +24,8 @@ */ -#ifndef _INTERPOLATION_FUNCTIONS_H_ -#define _INTERPOLATION_FUNCTIONS_H_ +#ifndef INTERPOLATION_FUNCTIONS_H_ +#define INTERPOLATION_FUNCTIONS_H_ #include "arm_math_types.h" #include "arm_math_memory.h" diff --git a/Include/dsp/interpolation_functions_f16.h b/Include/dsp/interpolation_functions_f16.h index 0a35b8c95..e1f27c3cd 100755 --- a/Include/dsp/interpolation_functions_f16.h +++ b/Include/dsp/interpolation_functions_f16.h @@ -24,8 +24,8 @@ */ -#ifndef _INTERPOLATION_FUNCTIONS_F16_H_ -#define _INTERPOLATION_FUNCTIONS_F16_H_ +#ifndef INTERPOLATION_FUNCTIONS_F16_H_ +#define INTERPOLATION_FUNCTIONS_F16_H_ #include "arm_math_types_f16.h" #include "arm_math_memory.h" diff --git a/Include/dsp/matrix_functions.h b/Include/dsp/matrix_functions.h index 6ebf720ed..175ca2fac 100755 --- a/Include/dsp/matrix_functions.h +++ b/Include/dsp/matrix_functions.h @@ -24,8 +24,8 @@ */ -#ifndef _MATRIX_FUNCTIONS_H_ -#define _MATRIX_FUNCTIONS_H_ +#ifndef MATRIX_FUNCTIONS_H_ +#define MATRIX_FUNCTIONS_H_ #include "arm_math_types.h" #include "arm_math_memory.h" diff --git a/Include/dsp/matrix_functions_f16.h b/Include/dsp/matrix_functions_f16.h index 24689e722..39eb9a801 100755 --- a/Include/dsp/matrix_functions_f16.h +++ b/Include/dsp/matrix_functions_f16.h @@ -24,8 +24,8 @@ */ -#ifndef _MATRIX_FUNCTIONS_F16_H_ -#define _MATRIX_FUNCTIONS_F16_H_ +#ifndef MATRIX_FUNCTIONS_F16_H_ +#define MATRIX_FUNCTIONS_F16_H_ #ifdef __cplusplus extern "C" diff --git a/Include/dsp/matrix_utils.h b/Include/dsp/matrix_utils.h index 4e1defa8e..79e7f8cf1 100755 --- a/Include/dsp/matrix_utils.h +++ b/Include/dsp/matrix_utils.h @@ -24,8 +24,8 @@ */ -#ifndef _MATRIX_UTILS_H_ -#define _MATRIX_UTILS_H_ +#ifndef MATRIX_UTILS_H_ +#define MATRIX_UTILS_H_ #include "arm_math_types.h" #include "arm_math_memory.h" diff --git a/Include/dsp/none.h b/Include/dsp/none.h index 130386eec..7551ee95e 100755 --- a/Include/dsp/none.h +++ b/Include/dsp/none.h @@ -34,8 +34,8 @@ of intrinsics. */ -#ifndef _NONE_H_ -#define _NONE_H_ +#ifndef NONE_H_ +#define NONE_H_ #include "arm_math_types.h" diff --git a/Include/dsp/quaternion_math_functions.h b/Include/dsp/quaternion_math_functions.h index 2cc4b334d..6c823a368 100755 --- a/Include/dsp/quaternion_math_functions.h +++ b/Include/dsp/quaternion_math_functions.h @@ -25,8 +25,8 @@ */ -#ifndef _QUATERNION_MATH_FUNCTIONS_H_ -#define _QUATERNION_MATH_FUNCTIONS_H_ +#ifndef QUATERNION_MATH_FUNCTIONS_H_ +#define QUATERNION_MATH_FUNCTIONS_H_ #include "arm_math_types.h" #include "arm_math_memory.h" diff --git a/Include/dsp/statistics_functions.h b/Include/dsp/statistics_functions.h index 94b28e9f5..301aadd02 100755 --- a/Include/dsp/statistics_functions.h +++ b/Include/dsp/statistics_functions.h @@ -24,8 +24,8 @@ */ -#ifndef _STATISTICS_FUNCTIONS_H_ -#define _STATISTICS_FUNCTIONS_H_ +#ifndef STATISTICS_FUNCTIONS_H_ +#define STATISTICS_FUNCTIONS_H_ #include "arm_math_types.h" #include "arm_math_memory.h" diff --git a/Include/dsp/statistics_functions_f16.h b/Include/dsp/statistics_functions_f16.h index defab1472..746e8df39 100755 --- a/Include/dsp/statistics_functions_f16.h +++ b/Include/dsp/statistics_functions_f16.h @@ -24,8 +24,8 @@ */ -#ifndef _STATISTICS_FUNCTIONS_F16_H_ -#define _STATISTICS_FUNCTIONS_F16_H_ +#ifndef STATISTICS_FUNCTIONS_F16_H_ +#define STATISTICS_FUNCTIONS_F16_H_ #include "arm_math_types_f16.h" #include "arm_math_memory.h" diff --git a/Include/dsp/support_functions.h b/Include/dsp/support_functions.h index 979126949..411d6fedd 100755 --- a/Include/dsp/support_functions.h +++ b/Include/dsp/support_functions.h @@ -24,8 +24,8 @@ */ -#ifndef _SUPPORT_FUNCTIONS_H_ -#define _SUPPORT_FUNCTIONS_H_ +#ifndef SUPPORT_FUNCTIONS_H_ +#define SUPPORT_FUNCTIONS_H_ #include "arm_math_types.h" #include "arm_math_memory.h" diff --git a/Include/dsp/support_functions_f16.h b/Include/dsp/support_functions_f16.h index d676e85dc..d765822eb 100755 --- a/Include/dsp/support_functions_f16.h +++ b/Include/dsp/support_functions_f16.h @@ -24,8 +24,8 @@ */ -#ifndef _SUPPORT_FUNCTIONS_F16_H_ -#define _SUPPORT_FUNCTIONS_F16_H_ +#ifndef SUPPORT_FUNCTIONS_F16_H_ +#define SUPPORT_FUNCTIONS_F16_H_ #include "arm_math_types_f16.h" #include "arm_math_memory.h" diff --git a/Include/dsp/svm_defines.h b/Include/dsp/svm_defines.h index f93e9530d..185a8a902 100755 --- a/Include/dsp/svm_defines.h +++ b/Include/dsp/svm_defines.h @@ -25,8 +25,8 @@ */ -#ifndef _SVM_DEFINES_H_ -#define _SVM_DEFINES_H_ +#ifndef SVM_DEFINES_H_ +#define SVM_DEFINES_H_ /** * @brief Struct for specifying SVM Kernel diff --git a/Include/dsp/svm_functions.h b/Include/dsp/svm_functions.h index 3cf70ac94..cb00cd4f1 100755 --- a/Include/dsp/svm_functions.h +++ b/Include/dsp/svm_functions.h @@ -24,8 +24,8 @@ */ -#ifndef _SVM_FUNCTIONS_H_ -#define _SVM_FUNCTIONS_H_ +#ifndef SVM_FUNCTIONS_H_ +#define SVM_FUNCTIONS_H_ #include "arm_math_types.h" #include "arm_math_memory.h" diff --git a/Include/dsp/svm_functions_f16.h b/Include/dsp/svm_functions_f16.h index c240f9bd5..5f757a0a1 100755 --- a/Include/dsp/svm_functions_f16.h +++ b/Include/dsp/svm_functions_f16.h @@ -24,8 +24,8 @@ */ -#ifndef _SVM_FUNCTIONS_F16_H_ -#define _SVM_FUNCTIONS_F16_H_ +#ifndef SVM_FUNCTIONS_F16_H_ +#define SVM_FUNCTIONS_F16_H_ #include "arm_math_types_f16.h" #include "arm_math_memory.h" diff --git a/Include/dsp/transform_functions.h b/Include/dsp/transform_functions.h index a43c15740..b2c13d9df 100755 --- a/Include/dsp/transform_functions.h +++ b/Include/dsp/transform_functions.h @@ -24,8 +24,8 @@ */ -#ifndef _TRANSFORM_FUNCTIONS_H_ -#define _TRANSFORM_FUNCTIONS_H_ +#ifndef TRANSFORM_FUNCTIONS_H_ +#define TRANSFORM_FUNCTIONS_H_ #include "arm_math_types.h" #include "arm_math_memory.h" diff --git a/Include/dsp/transform_functions_f16.h b/Include/dsp/transform_functions_f16.h index 0f37dba63..b0ca0c0d2 100755 --- a/Include/dsp/transform_functions_f16.h +++ b/Include/dsp/transform_functions_f16.h @@ -24,8 +24,8 @@ */ -#ifndef _TRANSFORM_FUNCTIONS_F16_H_ -#define _TRANSFORM_FUNCTIONS_F16_H_ +#ifndef TRANSFORM_FUNCTIONS_F16_H_ +#define TRANSFORM_FUNCTIONS_F16_H_ #include "arm_math_types_f16.h" #include "arm_math_memory.h" diff --git a/Include/dsp/utils.h b/Include/dsp/utils.h index 7dba11fd0..e0c5c90c1 100755 --- a/Include/dsp/utils.h +++ b/Include/dsp/utils.h @@ -22,9 +22,9 @@ * limitations under the License. */ -#ifndef _ARM_MATH_UTILS_H_ +#ifndef ARM_MATH_UTILS_H_ -#define _ARM_MATH_UTILS_H_ +#define ARM_MATH_UTILS_H_ #include "arm_math_types.h" #include diff --git a/Include/dsp/window_functions.h b/Include/dsp/window_functions.h index b9487849d..27f05a739 100644 --- a/Include/dsp/window_functions.h +++ b/Include/dsp/window_functions.h @@ -24,8 +24,8 @@ */ -#ifndef _WINDOW_FUNCTIONS_H_ -#define _WINDOW_FUNCTIONS_H_ +#ifndef WINDOW_FUNCTIONS_H_ +#define WINDOW_FUNCTIONS_H_ #include "arm_math_types.h" #include "arm_math_memory.h" diff --git a/PrivateInclude/arm_sorting.h b/PrivateInclude/arm_sorting.h index ec002b2f1..c1d333653 100644 --- a/PrivateInclude/arm_sorting.h +++ b/PrivateInclude/arm_sorting.h @@ -22,8 +22,8 @@ * limitations under the License. */ -#ifndef _ARM_SORTING_H_ -#define _ARM_SORTING_H_ +#ifndef ARM_SORTING_H_ +#define ARM_SORTING_H_ #include "arm_math.h" diff --git a/PrivateInclude/arm_vec_fft.h b/PrivateInclude/arm_vec_fft.h index fdf6498c3..2f51edb8d 100755 --- a/PrivateInclude/arm_vec_fft.h +++ b/PrivateInclude/arm_vec_fft.h @@ -22,8 +22,8 @@ * limitations under the License. */ -#ifndef _ARM_VEC_FFT_H_ -#define _ARM_VEC_FFT_H_ +#ifndef ARM_VEC_FFT_H_ +#define ARM_VEC_FFT_H_ #include "arm_math.h" #include "arm_helium_utils.h" diff --git a/PrivateInclude/arm_vec_filtering.h b/PrivateInclude/arm_vec_filtering.h index b2a06903d..998dc5cfe 100755 --- a/PrivateInclude/arm_vec_filtering.h +++ b/PrivateInclude/arm_vec_filtering.h @@ -22,8 +22,8 @@ * limitations under the License. */ -#ifndef _ARM_VEC_FILTERING_H_ -#define _ARM_VEC_FILTERING_H_ +#ifndef ARM_VEC_FILTERING_H_ +#define ARM_VEC_FILTERING_H_ #include "arm_math.h" #include "arm_helium_utils.h" diff --git a/Source/BasicMathFunctions/arm_abs_f16.c b/Source/BasicMathFunctions/arm_abs_f16.c index aaa2f6f9a..c50977544 100755 --- a/Source/BasicMathFunctions/arm_abs_f16.c +++ b/Source/BasicMathFunctions/arm_abs_f16.c @@ -51,7 +51,7 @@ #include "arm_helium_utils.h" -void arm_abs_f16( +ARM_DSP_ATTRIBUTE void arm_abs_f16( const float16_t * pSrc, float16_t * pDst, uint32_t blockSize) @@ -97,7 +97,7 @@ void arm_abs_f16( #else #if defined(ARM_FLOAT16_SUPPORTED) -void arm_abs_f16( +ARM_DSP_ATTRIBUTE void arm_abs_f16( const float16_t * pSrc, float16_t * pDst, uint32_t blockSize) diff --git a/Source/BasicMathFunctions/arm_abs_f32.c b/Source/BasicMathFunctions/arm_abs_f32.c index 0de9e257e..44dc9edf7 100644 --- a/Source/BasicMathFunctions/arm_abs_f32.c +++ b/Source/BasicMathFunctions/arm_abs_f32.c @@ -64,7 +64,7 @@ #include "arm_helium_utils.h" -void arm_abs_f32( +ARM_DSP_ATTRIBUTE void arm_abs_f32( const float32_t * pSrc, float32_t * pDst, uint32_t blockSize) @@ -109,7 +109,7 @@ void arm_abs_f32( } #else -void arm_abs_f32( +ARM_DSP_ATTRIBUTE void arm_abs_f32( const float32_t * pSrc, float32_t * pDst, uint32_t blockSize) diff --git a/Source/BasicMathFunctions/arm_abs_f64.c b/Source/BasicMathFunctions/arm_abs_f64.c index 184df9df1..c5f0b30e9 100644 --- a/Source/BasicMathFunctions/arm_abs_f64.c +++ b/Source/BasicMathFunctions/arm_abs_f64.c @@ -45,7 +45,7 @@ @param[in] blockSize number of samples in each vector */ -void arm_abs_f64( +ARM_DSP_ATTRIBUTE void arm_abs_f64( const float64_t * pSrc, float64_t * pDst, uint32_t blockSize) diff --git a/Source/BasicMathFunctions/arm_abs_q15.c b/Source/BasicMathFunctions/arm_abs_q15.c index 3f5fb1923..a7ce56d82 100644 --- a/Source/BasicMathFunctions/arm_abs_q15.c +++ b/Source/BasicMathFunctions/arm_abs_q15.c @@ -52,7 +52,7 @@ #include "arm_helium_utils.h" -void arm_abs_q15( +ARM_DSP_ATTRIBUTE void arm_abs_q15( const q15_t * pSrc, q15_t * pDst, uint32_t blockSize) @@ -93,7 +93,7 @@ void arm_abs_q15( } #else -void arm_abs_q15( +ARM_DSP_ATTRIBUTE void arm_abs_q15( const q15_t * pSrc, q15_t * pDst, uint32_t blockSize) diff --git a/Source/BasicMathFunctions/arm_abs_q31.c b/Source/BasicMathFunctions/arm_abs_q31.c index 0416028fe..86abdcbad 100644 --- a/Source/BasicMathFunctions/arm_abs_q31.c +++ b/Source/BasicMathFunctions/arm_abs_q31.c @@ -52,7 +52,7 @@ #include "arm_helium_utils.h" -void arm_abs_q31( +ARM_DSP_ATTRIBUTE void arm_abs_q31( const q31_t * pSrc, q31_t * pDst, uint32_t blockSize) @@ -95,7 +95,7 @@ void arm_abs_q31( } #else -void arm_abs_q31( +ARM_DSP_ATTRIBUTE void arm_abs_q31( const q31_t * pSrc, q31_t * pDst, uint32_t blockSize) diff --git a/Source/BasicMathFunctions/arm_abs_q7.c b/Source/BasicMathFunctions/arm_abs_q7.c index b0c76902d..c64c77dc4 100644 --- a/Source/BasicMathFunctions/arm_abs_q7.c +++ b/Source/BasicMathFunctions/arm_abs_q7.c @@ -54,7 +54,7 @@ #include "arm_helium_utils.h" -void arm_abs_q7( +ARM_DSP_ATTRIBUTE void arm_abs_q7( const q7_t * pSrc, q7_t * pDst, uint32_t blockSize) @@ -95,7 +95,7 @@ void arm_abs_q7( } #else -void arm_abs_q7( +ARM_DSP_ATTRIBUTE void arm_abs_q7( const q7_t * pSrc, q7_t * pDst, uint32_t blockSize) diff --git a/Source/BasicMathFunctions/arm_add_f16.c b/Source/BasicMathFunctions/arm_add_f16.c index 7e697af36..9af42c3fb 100755 --- a/Source/BasicMathFunctions/arm_add_f16.c +++ b/Source/BasicMathFunctions/arm_add_f16.c @@ -50,7 +50,7 @@ #include "arm_helium_utils.h" -void arm_add_f16( +ARM_DSP_ATTRIBUTE void arm_add_f16( const float16_t * pSrcA, const float16_t * pSrcB, float16_t * pDst, @@ -100,7 +100,7 @@ void arm_add_f16( #else #if defined(ARM_FLOAT16_SUPPORTED) -void arm_add_f16( +ARM_DSP_ATTRIBUTE void arm_add_f16( const float16_t * pSrcA, const float16_t * pSrcB, float16_t * pDst, diff --git a/Source/BasicMathFunctions/arm_add_f32.c b/Source/BasicMathFunctions/arm_add_f32.c index fba08a9f1..a78cee033 100644 --- a/Source/BasicMathFunctions/arm_add_f32.c +++ b/Source/BasicMathFunctions/arm_add_f32.c @@ -61,7 +61,7 @@ #include "arm_helium_utils.h" -void arm_add_f32( +ARM_DSP_ATTRIBUTE void arm_add_f32( const float32_t * pSrcA, const float32_t * pSrcB, float32_t * pDst, @@ -110,7 +110,7 @@ void arm_add_f32( } #else -void arm_add_f32( +ARM_DSP_ATTRIBUTE void arm_add_f32( const float32_t * pSrcA, const float32_t * pSrcB, float32_t * pDst, diff --git a/Source/BasicMathFunctions/arm_add_f64.c b/Source/BasicMathFunctions/arm_add_f64.c index 1af792133..c55380d56 100644 --- a/Source/BasicMathFunctions/arm_add_f64.c +++ b/Source/BasicMathFunctions/arm_add_f64.c @@ -45,7 +45,7 @@ @param[in] blockSize number of samples in each vector */ -void arm_add_f64( +ARM_DSP_ATTRIBUTE void arm_add_f64( const float64_t * pSrcA, const float64_t * pSrcB, float64_t * pDst, diff --git a/Source/BasicMathFunctions/arm_add_q15.c b/Source/BasicMathFunctions/arm_add_q15.c index c33a76cab..37feb9f02 100644 --- a/Source/BasicMathFunctions/arm_add_q15.c +++ b/Source/BasicMathFunctions/arm_add_q15.c @@ -53,7 +53,7 @@ #include "arm_helium_utils.h" -void arm_add_q15( +ARM_DSP_ATTRIBUTE void arm_add_q15( const q15_t * pSrcA, const q15_t * pSrcB, q15_t * pDst, @@ -99,7 +99,7 @@ void arm_add_q15( } #else -void arm_add_q15( +ARM_DSP_ATTRIBUTE void arm_add_q15( const q15_t * pSrcA, const q15_t * pSrcB, q15_t * pDst, diff --git a/Source/BasicMathFunctions/arm_add_q31.c b/Source/BasicMathFunctions/arm_add_q31.c index f96d762fb..84c111fec 100644 --- a/Source/BasicMathFunctions/arm_add_q31.c +++ b/Source/BasicMathFunctions/arm_add_q31.c @@ -53,7 +53,7 @@ #include "arm_helium_utils.h" -void arm_add_q31( +ARM_DSP_ATTRIBUTE void arm_add_q31( const q31_t * pSrcA, const q31_t * pSrcB, q31_t * pDst, @@ -99,7 +99,7 @@ void arm_add_q31( } #else -void arm_add_q31( +ARM_DSP_ATTRIBUTE void arm_add_q31( const q31_t * pSrcA, const q31_t * pSrcB, q31_t * pDst, diff --git a/Source/BasicMathFunctions/arm_add_q7.c b/Source/BasicMathFunctions/arm_add_q7.c index 502af1553..680bb555d 100644 --- a/Source/BasicMathFunctions/arm_add_q7.c +++ b/Source/BasicMathFunctions/arm_add_q7.c @@ -54,7 +54,7 @@ #include "arm_helium_utils.h" -void arm_add_q7( +ARM_DSP_ATTRIBUTE void arm_add_q7( const q7_t * pSrcA, const q7_t * pSrcB, q7_t * pDst, @@ -99,7 +99,7 @@ void arm_add_q7( } } #else -void arm_add_q7( +ARM_DSP_ATTRIBUTE void arm_add_q7( const q7_t * pSrcA, const q7_t * pSrcB, q7_t * pDst, diff --git a/Source/BasicMathFunctions/arm_and_u16.c b/Source/BasicMathFunctions/arm_and_u16.c index 9a4903ef0..2ea539d1a 100644 --- a/Source/BasicMathFunctions/arm_and_u16.c +++ b/Source/BasicMathFunctions/arm_and_u16.c @@ -53,7 +53,7 @@ @param[in] blockSize number of samples in each vector */ -void arm_and_u16( +ARM_DSP_ATTRIBUTE void arm_and_u16( const uint16_t * pSrcA, const uint16_t * pSrcB, uint16_t * pDst, diff --git a/Source/BasicMathFunctions/arm_and_u32.c b/Source/BasicMathFunctions/arm_and_u32.c index a656b4872..374ab9bb7 100644 --- a/Source/BasicMathFunctions/arm_and_u32.c +++ b/Source/BasicMathFunctions/arm_and_u32.c @@ -45,7 +45,7 @@ @param[in] blockSize number of samples in each vector */ -void arm_and_u32( +ARM_DSP_ATTRIBUTE void arm_and_u32( const uint32_t * pSrcA, const uint32_t * pSrcB, uint32_t * pDst, diff --git a/Source/BasicMathFunctions/arm_and_u8.c b/Source/BasicMathFunctions/arm_and_u8.c index 3e92d49e7..172485f8c 100644 --- a/Source/BasicMathFunctions/arm_and_u8.c +++ b/Source/BasicMathFunctions/arm_and_u8.c @@ -46,7 +46,7 @@ @param[in] blockSize number of samples in each vector */ -void arm_and_u8( +ARM_DSP_ATTRIBUTE void arm_and_u8( const uint8_t * pSrcA, const uint8_t * pSrcB, uint8_t * pDst, diff --git a/Source/BasicMathFunctions/arm_clip_f16.c b/Source/BasicMathFunctions/arm_clip_f16.c index 4a3259991..24a063a9a 100755 --- a/Source/BasicMathFunctions/arm_clip_f16.c +++ b/Source/BasicMathFunctions/arm_clip_f16.c @@ -51,7 +51,7 @@ #include "arm_helium_utils.h" -void arm_clip_f16(const float16_t * pSrc, +ARM_DSP_ATTRIBUTE void arm_clip_f16(const float16_t * pSrc, float16_t * pDst, float16_t low, float16_t high, @@ -114,7 +114,7 @@ void arm_clip_f16(const float16_t * pSrc, #if defined(ARM_FLOAT16_SUPPORTED) -void arm_clip_f16(const float16_t * pSrc, +ARM_DSP_ATTRIBUTE void arm_clip_f16(const float16_t * pSrc, float16_t * pDst, float16_t low, float16_t high, diff --git a/Source/BasicMathFunctions/arm_clip_f32.c b/Source/BasicMathFunctions/arm_clip_f32.c index 7bf93e61e..dca582f0b 100755 --- a/Source/BasicMathFunctions/arm_clip_f32.c +++ b/Source/BasicMathFunctions/arm_clip_f32.c @@ -59,7 +59,7 @@ #include "arm_helium_utils.h" -void arm_clip_f32(const float32_t * pSrc, +ARM_DSP_ATTRIBUTE void arm_clip_f32(const float32_t * pSrc, float32_t * pDst, float32_t low, float32_t high, @@ -119,7 +119,7 @@ void arm_clip_f32(const float32_t * pSrc, } #else -void arm_clip_f32(const float32_t * pSrc, +ARM_DSP_ATTRIBUTE void arm_clip_f32(const float32_t * pSrc, float32_t * pDst, float32_t low, float32_t high, diff --git a/Source/BasicMathFunctions/arm_clip_q15.c b/Source/BasicMathFunctions/arm_clip_q15.c index 2a18d7788..25b513840 100755 --- a/Source/BasicMathFunctions/arm_clip_q15.c +++ b/Source/BasicMathFunctions/arm_clip_q15.c @@ -49,7 +49,7 @@ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) #include "arm_helium_utils.h" -void arm_clip_q15(const q15_t * pSrc, +ARM_DSP_ATTRIBUTE void arm_clip_q15(const q15_t * pSrc, q15_t * pDst, q15_t low, q15_t high, @@ -109,7 +109,7 @@ void arm_clip_q15(const q15_t * pSrc, } #else -void arm_clip_q15(const q15_t * pSrc, +ARM_DSP_ATTRIBUTE void arm_clip_q15(const q15_t * pSrc, q15_t * pDst, q15_t low, q15_t high, diff --git a/Source/BasicMathFunctions/arm_clip_q31.c b/Source/BasicMathFunctions/arm_clip_q31.c index 010eb8897..666df2e1b 100755 --- a/Source/BasicMathFunctions/arm_clip_q31.c +++ b/Source/BasicMathFunctions/arm_clip_q31.c @@ -49,7 +49,7 @@ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) #include "arm_helium_utils.h" -void arm_clip_q31(const q31_t * pSrc, +ARM_DSP_ATTRIBUTE void arm_clip_q31(const q31_t * pSrc, q31_t * pDst, q31_t low, q31_t high, @@ -109,7 +109,7 @@ void arm_clip_q31(const q31_t * pSrc, } #else -void arm_clip_q31(const q31_t * pSrc, +ARM_DSP_ATTRIBUTE void arm_clip_q31(const q31_t * pSrc, q31_t * pDst, q31_t low, q31_t high, diff --git a/Source/BasicMathFunctions/arm_clip_q7.c b/Source/BasicMathFunctions/arm_clip_q7.c index 529119b1f..c56986275 100755 --- a/Source/BasicMathFunctions/arm_clip_q7.c +++ b/Source/BasicMathFunctions/arm_clip_q7.c @@ -49,7 +49,7 @@ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) #include "arm_helium_utils.h" -void arm_clip_q7(const q7_t * pSrc, +ARM_DSP_ATTRIBUTE void arm_clip_q7(const q7_t * pSrc, q7_t * pDst, q7_t low, q7_t high, @@ -109,7 +109,7 @@ void arm_clip_q7(const q7_t * pSrc, } #else -void arm_clip_q7(const q7_t * pSrc, +ARM_DSP_ATTRIBUTE void arm_clip_q7(const q7_t * pSrc, q7_t * pDst, q7_t low, q7_t high, diff --git a/Source/BasicMathFunctions/arm_dot_prod_f16.c b/Source/BasicMathFunctions/arm_dot_prod_f16.c index f3ef3b017..5629aeefc 100755 --- a/Source/BasicMathFunctions/arm_dot_prod_f16.c +++ b/Source/BasicMathFunctions/arm_dot_prod_f16.c @@ -51,7 +51,7 @@ #include "arm_helium_utils.h" -void arm_dot_prod_f16( +ARM_DSP_ATTRIBUTE void arm_dot_prod_f16( const float16_t * pSrcA, const float16_t * pSrcB, uint32_t blockSize, @@ -106,7 +106,7 @@ void arm_dot_prod_f16( #else #if defined(ARM_FLOAT16_SUPPORTED) -void arm_dot_prod_f16( +ARM_DSP_ATTRIBUTE void arm_dot_prod_f16( const float16_t * pSrcA, const float16_t * pSrcB, uint32_t blockSize, diff --git a/Source/BasicMathFunctions/arm_dot_prod_f32.c b/Source/BasicMathFunctions/arm_dot_prod_f32.c index 6aefb1814..20005b391 100644 --- a/Source/BasicMathFunctions/arm_dot_prod_f32.c +++ b/Source/BasicMathFunctions/arm_dot_prod_f32.c @@ -63,7 +63,7 @@ #include "arm_helium_utils.h" -void arm_dot_prod_f32( +ARM_DSP_ATTRIBUTE void arm_dot_prod_f32( const float32_t * pSrcA, const float32_t * pSrcB, uint32_t blockSize, @@ -118,7 +118,7 @@ void arm_dot_prod_f32( #else -void arm_dot_prod_f32( +ARM_DSP_ATTRIBUTE void arm_dot_prod_f32( const float32_t * pSrcA, const float32_t * pSrcB, uint32_t blockSize, diff --git a/Source/BasicMathFunctions/arm_dot_prod_f64.c b/Source/BasicMathFunctions/arm_dot_prod_f64.c index 96e557174..934bc05df 100644 --- a/Source/BasicMathFunctions/arm_dot_prod_f64.c +++ b/Source/BasicMathFunctions/arm_dot_prod_f64.c @@ -45,7 +45,7 @@ @param[out] result output result returned here. */ #if defined(ARM_MATH_NEON) && defined(__aarch64__) -void arm_dot_prod_f64( +ARM_DSP_ATTRIBUTE void arm_dot_prod_f64( const float64_t * pSrcA, const float64_t * pSrcB, uint32_t blockSize, @@ -98,7 +98,7 @@ void arm_dot_prod_f64( *result = sum; } #else -void arm_dot_prod_f64( +ARM_DSP_ATTRIBUTE void arm_dot_prod_f64( const float64_t * pSrcA, const float64_t * pSrcB, uint32_t blockSize, diff --git a/Source/BasicMathFunctions/arm_dot_prod_q15.c b/Source/BasicMathFunctions/arm_dot_prod_q15.c index 555b31631..183e484c7 100644 --- a/Source/BasicMathFunctions/arm_dot_prod_q15.c +++ b/Source/BasicMathFunctions/arm_dot_prod_q15.c @@ -55,7 +55,7 @@ #include "arm_helium_utils.h" -void arm_dot_prod_q15( +ARM_DSP_ATTRIBUTE void arm_dot_prod_q15( const q15_t * pSrcA, const q15_t * pSrcB, uint32_t blockSize, @@ -103,7 +103,7 @@ void arm_dot_prod_q15( } #else -void arm_dot_prod_q15( +ARM_DSP_ATTRIBUTE void arm_dot_prod_q15( const q15_t * pSrcA, const q15_t * pSrcB, uint32_t blockSize, diff --git a/Source/BasicMathFunctions/arm_dot_prod_q31.c b/Source/BasicMathFunctions/arm_dot_prod_q31.c index d7a8699c5..3aff23048 100644 --- a/Source/BasicMathFunctions/arm_dot_prod_q31.c +++ b/Source/BasicMathFunctions/arm_dot_prod_q31.c @@ -57,7 +57,7 @@ #include "arm_helium_utils.h" -void arm_dot_prod_q31( +ARM_DSP_ATTRIBUTE void arm_dot_prod_q31( const q31_t * pSrcA, const q31_t * pSrcB, uint32_t blockSize, @@ -111,7 +111,7 @@ void arm_dot_prod_q31( } #else -void arm_dot_prod_q31( +ARM_DSP_ATTRIBUTE void arm_dot_prod_q31( const q31_t * pSrcA, const q31_t * pSrcB, uint32_t blockSize, diff --git a/Source/BasicMathFunctions/arm_dot_prod_q7.c b/Source/BasicMathFunctions/arm_dot_prod_q7.c index 1f5e7a838..9969bf0e6 100644 --- a/Source/BasicMathFunctions/arm_dot_prod_q7.c +++ b/Source/BasicMathFunctions/arm_dot_prod_q7.c @@ -56,7 +56,7 @@ #include "arm_helium_utils.h" -void arm_dot_prod_q7( +ARM_DSP_ATTRIBUTE void arm_dot_prod_q7( const q7_t * pSrcA, const q7_t * pSrcB, uint32_t blockSize, @@ -103,7 +103,7 @@ void arm_dot_prod_q7( *result = sum; } #else -void arm_dot_prod_q7( +ARM_DSP_ATTRIBUTE void arm_dot_prod_q7( const q7_t * pSrcA, const q7_t * pSrcB, uint32_t blockSize, diff --git a/Source/BasicMathFunctions/arm_mult_f16.c b/Source/BasicMathFunctions/arm_mult_f16.c index f9c71e0c2..59883dc29 100755 --- a/Source/BasicMathFunctions/arm_mult_f16.c +++ b/Source/BasicMathFunctions/arm_mult_f16.c @@ -51,7 +51,7 @@ #include "arm_helium_utils.h" -void arm_mult_f16( +ARM_DSP_ATTRIBUTE void arm_mult_f16( const float16_t * pSrcA, const float16_t * pSrcB, float16_t * pDst, @@ -99,7 +99,7 @@ void arm_mult_f16( #else #if defined(ARM_FLOAT16_SUPPORTED) -void arm_mult_f16( +ARM_DSP_ATTRIBUTE void arm_mult_f16( const float16_t * pSrcA, const float16_t * pSrcB, float16_t * pDst, diff --git a/Source/BasicMathFunctions/arm_mult_f32.c b/Source/BasicMathFunctions/arm_mult_f32.c index 33e5979fb..59e37a691 100644 --- a/Source/BasicMathFunctions/arm_mult_f32.c +++ b/Source/BasicMathFunctions/arm_mult_f32.c @@ -61,7 +61,7 @@ #include "arm_helium_utils.h" -void arm_mult_f32( +ARM_DSP_ATTRIBUTE void arm_mult_f32( const float32_t * pSrcA, const float32_t * pSrcB, float32_t * pDst, @@ -108,7 +108,7 @@ void arm_mult_f32( } #else -void arm_mult_f32( +ARM_DSP_ATTRIBUTE void arm_mult_f32( const float32_t * pSrcA, const float32_t * pSrcB, float32_t * pDst, diff --git a/Source/BasicMathFunctions/arm_mult_f64.c b/Source/BasicMathFunctions/arm_mult_f64.c index 3c3733d68..2ee32fad3 100644 --- a/Source/BasicMathFunctions/arm_mult_f64.c +++ b/Source/BasicMathFunctions/arm_mult_f64.c @@ -45,7 +45,7 @@ @param[in] blockSize number of samples in each vector. */ -void arm_mult_f64( +ARM_DSP_ATTRIBUTE void arm_mult_f64( const float64_t * pSrcA, const float64_t * pSrcB, float64_t * pDst, diff --git a/Source/BasicMathFunctions/arm_mult_q15.c b/Source/BasicMathFunctions/arm_mult_q15.c index 04eef1b4c..f07f3b22d 100644 --- a/Source/BasicMathFunctions/arm_mult_q15.c +++ b/Source/BasicMathFunctions/arm_mult_q15.c @@ -52,7 +52,7 @@ #include "arm_helium_utils.h" -void arm_mult_q15( +ARM_DSP_ATTRIBUTE void arm_mult_q15( const q15_t * pSrcA, const q15_t * pSrcB, q15_t * pDst, @@ -97,7 +97,7 @@ void arm_mult_q15( } #else -void arm_mult_q15( +ARM_DSP_ATTRIBUTE void arm_mult_q15( const q15_t * pSrcA, const q15_t * pSrcB, q15_t * pDst, diff --git a/Source/BasicMathFunctions/arm_mult_q31.c b/Source/BasicMathFunctions/arm_mult_q31.c index 22c9e6024..e15d73856 100644 --- a/Source/BasicMathFunctions/arm_mult_q31.c +++ b/Source/BasicMathFunctions/arm_mult_q31.c @@ -52,7 +52,7 @@ #include "arm_helium_utils.h" -void arm_mult_q31( +ARM_DSP_ATTRIBUTE void arm_mult_q31( const q31_t * pSrcA, const q31_t * pSrcB, q31_t * pDst, @@ -97,7 +97,7 @@ void arm_mult_q31( } #else -void arm_mult_q31( +ARM_DSP_ATTRIBUTE void arm_mult_q31( const q31_t * pSrcA, const q31_t * pSrcB, q31_t * pDst, diff --git a/Source/BasicMathFunctions/arm_mult_q7.c b/Source/BasicMathFunctions/arm_mult_q7.c index f5ea37b5f..f665dae75 100644 --- a/Source/BasicMathFunctions/arm_mult_q7.c +++ b/Source/BasicMathFunctions/arm_mult_q7.c @@ -52,7 +52,7 @@ #include "arm_helium_utils.h" -void arm_mult_q7( +ARM_DSP_ATTRIBUTE void arm_mult_q7( const q7_t * pSrcA, const q7_t * pSrcB, q7_t * pDst, @@ -97,7 +97,7 @@ void arm_mult_q7( } #else -void arm_mult_q7( +ARM_DSP_ATTRIBUTE void arm_mult_q7( const q7_t * pSrcA, const q7_t * pSrcB, q7_t * pDst, diff --git a/Source/BasicMathFunctions/arm_negate_f16.c b/Source/BasicMathFunctions/arm_negate_f16.c index db464dd6f..3d0e3bc3a 100755 --- a/Source/BasicMathFunctions/arm_negate_f16.c +++ b/Source/BasicMathFunctions/arm_negate_f16.c @@ -49,7 +49,7 @@ #include "arm_helium_utils.h" -void arm_negate_f16( +ARM_DSP_ATTRIBUTE void arm_negate_f16( const float16_t * pSrc, float16_t * pDst, uint32_t blockSize) @@ -92,7 +92,7 @@ void arm_negate_f16( #else #if defined(ARM_FLOAT16_SUPPORTED) -void arm_negate_f16( +ARM_DSP_ATTRIBUTE void arm_negate_f16( const float16_t * pSrc, float16_t * pDst, uint32_t blockSize) diff --git a/Source/BasicMathFunctions/arm_negate_f32.c b/Source/BasicMathFunctions/arm_negate_f32.c index 0c4408a5c..3238a3c25 100644 --- a/Source/BasicMathFunctions/arm_negate_f32.c +++ b/Source/BasicMathFunctions/arm_negate_f32.c @@ -62,7 +62,7 @@ #include "arm_helium_utils.h" -void arm_negate_f32( +ARM_DSP_ATTRIBUTE void arm_negate_f32( const float32_t * pSrc, float32_t * pDst, uint32_t blockSize) @@ -104,7 +104,7 @@ void arm_negate_f32( } #else -void arm_negate_f32( +ARM_DSP_ATTRIBUTE void arm_negate_f32( const float32_t * pSrc, float32_t * pDst, uint32_t blockSize) diff --git a/Source/BasicMathFunctions/arm_negate_f64.c b/Source/BasicMathFunctions/arm_negate_f64.c index de8bc7a33..02e55b966 100644 --- a/Source/BasicMathFunctions/arm_negate_f64.c +++ b/Source/BasicMathFunctions/arm_negate_f64.c @@ -44,7 +44,7 @@ @param[in] blockSize number of samples in each vector. */ -void arm_negate_f64( +ARM_DSP_ATTRIBUTE void arm_negate_f64( const float64_t * pSrc, float64_t * pDst, uint32_t blockSize) diff --git a/Source/BasicMathFunctions/arm_negate_q15.c b/Source/BasicMathFunctions/arm_negate_q15.c index 0d87bb83e..c6d7eb767 100644 --- a/Source/BasicMathFunctions/arm_negate_q15.c +++ b/Source/BasicMathFunctions/arm_negate_q15.c @@ -53,7 +53,7 @@ #include "arm_helium_utils.h" -void arm_negate_q15( +ARM_DSP_ATTRIBUTE void arm_negate_q15( const q15_t * pSrc, q15_t * pDst, uint32_t blockSize) @@ -94,7 +94,7 @@ void arm_negate_q15( } #else -void arm_negate_q15( +ARM_DSP_ATTRIBUTE void arm_negate_q15( const q15_t * pSrc, q15_t * pDst, uint32_t blockSize) diff --git a/Source/BasicMathFunctions/arm_negate_q31.c b/Source/BasicMathFunctions/arm_negate_q31.c index ac0151be9..69270d359 100644 --- a/Source/BasicMathFunctions/arm_negate_q31.c +++ b/Source/BasicMathFunctions/arm_negate_q31.c @@ -52,7 +52,7 @@ #include "arm_helium_utils.h" -void arm_negate_q31( +ARM_DSP_ATTRIBUTE void arm_negate_q31( const q31_t * pSrc, q31_t * pDst, uint32_t blockSize) @@ -93,7 +93,7 @@ void arm_negate_q31( } #else -void arm_negate_q31( +ARM_DSP_ATTRIBUTE void arm_negate_q31( const q31_t * pSrc, q31_t * pDst, uint32_t blockSize) diff --git a/Source/BasicMathFunctions/arm_negate_q7.c b/Source/BasicMathFunctions/arm_negate_q7.c index 269c8f894..3732fbe96 100644 --- a/Source/BasicMathFunctions/arm_negate_q7.c +++ b/Source/BasicMathFunctions/arm_negate_q7.c @@ -51,7 +51,7 @@ #include "arm_helium_utils.h" -void arm_negate_q7( +ARM_DSP_ATTRIBUTE void arm_negate_q7( const q7_t * pSrc, q7_t * pDst, uint32_t blockSize) @@ -92,7 +92,7 @@ void arm_negate_q7( } #else -void arm_negate_q7( +ARM_DSP_ATTRIBUTE void arm_negate_q7( const q7_t * pSrc, q7_t * pDst, uint32_t blockSize) diff --git a/Source/BasicMathFunctions/arm_not_u16.c b/Source/BasicMathFunctions/arm_not_u16.c index c2599b727..8c69c61e4 100644 --- a/Source/BasicMathFunctions/arm_not_u16.c +++ b/Source/BasicMathFunctions/arm_not_u16.c @@ -52,7 +52,7 @@ @param[in] blockSize number of samples in each vector */ -void arm_not_u16( +ARM_DSP_ATTRIBUTE void arm_not_u16( const uint16_t * pSrc, uint16_t * pDst, uint32_t blockSize) diff --git a/Source/BasicMathFunctions/arm_not_u32.c b/Source/BasicMathFunctions/arm_not_u32.c index 712d34773..2ca5806a0 100644 --- a/Source/BasicMathFunctions/arm_not_u32.c +++ b/Source/BasicMathFunctions/arm_not_u32.c @@ -44,7 +44,7 @@ @param[in] blockSize number of samples in each vector */ -void arm_not_u32( +ARM_DSP_ATTRIBUTE void arm_not_u32( const uint32_t * pSrc, uint32_t * pDst, uint32_t blockSize) diff --git a/Source/BasicMathFunctions/arm_not_u8.c b/Source/BasicMathFunctions/arm_not_u8.c index 99646d9fd..a47c05f74 100644 --- a/Source/BasicMathFunctions/arm_not_u8.c +++ b/Source/BasicMathFunctions/arm_not_u8.c @@ -44,7 +44,7 @@ @param[in] blockSize number of samples in each vector */ -void arm_not_u8( +ARM_DSP_ATTRIBUTE void arm_not_u8( const uint8_t * pSrc, uint8_t * pDst, uint32_t blockSize) diff --git a/Source/BasicMathFunctions/arm_offset_f16.c b/Source/BasicMathFunctions/arm_offset_f16.c index 31ba91a6a..110ca3196 100755 --- a/Source/BasicMathFunctions/arm_offset_f16.c +++ b/Source/BasicMathFunctions/arm_offset_f16.c @@ -49,7 +49,7 @@ #include "arm_helium_utils.h" -void arm_offset_f16( +ARM_DSP_ATTRIBUTE void arm_offset_f16( const float16_t * pSrc, float16_t offset, float16_t * pDst, @@ -94,7 +94,7 @@ void arm_offset_f16( #else #if defined(ARM_FLOAT16_SUPPORTED) -void arm_offset_f16( +ARM_DSP_ATTRIBUTE void arm_offset_f16( const float16_t * pSrc, float16_t offset, float16_t * pDst, diff --git a/Source/BasicMathFunctions/arm_offset_f32.c b/Source/BasicMathFunctions/arm_offset_f32.c index 08270af0f..6f2d51f69 100644 --- a/Source/BasicMathFunctions/arm_offset_f32.c +++ b/Source/BasicMathFunctions/arm_offset_f32.c @@ -63,7 +63,7 @@ #include "arm_helium_utils.h" -void arm_offset_f32( +ARM_DSP_ATTRIBUTE void arm_offset_f32( const float32_t * pSrc, float32_t offset, float32_t * pDst, @@ -107,7 +107,7 @@ void arm_offset_f32( } #else -void arm_offset_f32( +ARM_DSP_ATTRIBUTE void arm_offset_f32( const float32_t * pSrc, float32_t offset, float32_t * pDst, diff --git a/Source/BasicMathFunctions/arm_offset_f64.c b/Source/BasicMathFunctions/arm_offset_f64.c index f27078103..89b7b1bb6 100644 --- a/Source/BasicMathFunctions/arm_offset_f64.c +++ b/Source/BasicMathFunctions/arm_offset_f64.c @@ -45,7 +45,7 @@ @param[in] blockSize number of samples in each vector */ -void arm_offset_f64( +ARM_DSP_ATTRIBUTE void arm_offset_f64( const float64_t * pSrc, float64_t offset, float64_t * pDst, diff --git a/Source/BasicMathFunctions/arm_offset_q15.c b/Source/BasicMathFunctions/arm_offset_q15.c index 4e151b0ab..d9583fdbf 100644 --- a/Source/BasicMathFunctions/arm_offset_q15.c +++ b/Source/BasicMathFunctions/arm_offset_q15.c @@ -52,7 +52,7 @@ #include "arm_helium_utils.h" -void arm_offset_q15( +ARM_DSP_ATTRIBUTE void arm_offset_q15( const q15_t * pSrc, q15_t offset, q15_t * pDst, @@ -95,7 +95,7 @@ void arm_offset_q15( #else -void arm_offset_q15( +ARM_DSP_ATTRIBUTE void arm_offset_q15( const q15_t * pSrc, q15_t offset, q15_t * pDst, diff --git a/Source/BasicMathFunctions/arm_offset_q31.c b/Source/BasicMathFunctions/arm_offset_q31.c index 24d25f885..460bb6f6e 100644 --- a/Source/BasicMathFunctions/arm_offset_q31.c +++ b/Source/BasicMathFunctions/arm_offset_q31.c @@ -53,7 +53,7 @@ #include "arm_helium_utils.h" -void arm_offset_q31( +ARM_DSP_ATTRIBUTE void arm_offset_q31( const q31_t * pSrc, q31_t offset, q31_t * pDst, @@ -95,7 +95,7 @@ void arm_offset_q31( } #else -void arm_offset_q31( +ARM_DSP_ATTRIBUTE void arm_offset_q31( const q31_t * pSrc, q31_t offset, q31_t * pDst, diff --git a/Source/BasicMathFunctions/arm_offset_q7.c b/Source/BasicMathFunctions/arm_offset_q7.c index 1b517e6f6..e5746326b 100644 --- a/Source/BasicMathFunctions/arm_offset_q7.c +++ b/Source/BasicMathFunctions/arm_offset_q7.c @@ -52,7 +52,7 @@ #include "arm_helium_utils.h" -void arm_offset_q7( +ARM_DSP_ATTRIBUTE void arm_offset_q7( const q7_t * pSrc, q7_t offset, q7_t * pDst, @@ -94,7 +94,7 @@ void arm_offset_q7( } #else -void arm_offset_q7( +ARM_DSP_ATTRIBUTE void arm_offset_q7( const q7_t * pSrc, q7_t offset, q7_t * pDst, diff --git a/Source/BasicMathFunctions/arm_or_u16.c b/Source/BasicMathFunctions/arm_or_u16.c index 9e575c370..7bd00d322 100644 --- a/Source/BasicMathFunctions/arm_or_u16.c +++ b/Source/BasicMathFunctions/arm_or_u16.c @@ -53,7 +53,7 @@ @param[in] blockSize number of samples in each vector */ -void arm_or_u16( +ARM_DSP_ATTRIBUTE void arm_or_u16( const uint16_t * pSrcA, const uint16_t * pSrcB, uint16_t * pDst, diff --git a/Source/BasicMathFunctions/arm_or_u32.c b/Source/BasicMathFunctions/arm_or_u32.c index e4d8af744..183ce7aa5 100644 --- a/Source/BasicMathFunctions/arm_or_u32.c +++ b/Source/BasicMathFunctions/arm_or_u32.c @@ -45,7 +45,7 @@ @param[in] blockSize number of samples in each vector */ -void arm_or_u32( +ARM_DSP_ATTRIBUTE void arm_or_u32( const uint32_t * pSrcA, const uint32_t * pSrcB, uint32_t * pDst, diff --git a/Source/BasicMathFunctions/arm_or_u8.c b/Source/BasicMathFunctions/arm_or_u8.c index 628da96f9..0a69435a9 100644 --- a/Source/BasicMathFunctions/arm_or_u8.c +++ b/Source/BasicMathFunctions/arm_or_u8.c @@ -45,7 +45,7 @@ @param[in] blockSize number of samples in each vector */ -void arm_or_u8( +ARM_DSP_ATTRIBUTE void arm_or_u8( const uint8_t * pSrcA, const uint8_t * pSrcB, uint8_t * pDst, diff --git a/Source/BasicMathFunctions/arm_scale_f16.c b/Source/BasicMathFunctions/arm_scale_f16.c index 463558228..055697b35 100755 --- a/Source/BasicMathFunctions/arm_scale_f16.c +++ b/Source/BasicMathFunctions/arm_scale_f16.c @@ -51,7 +51,7 @@ #include "arm_helium_utils.h" -void arm_scale_f16( +ARM_DSP_ATTRIBUTE void arm_scale_f16( const float16_t * pSrc, float16_t scale, float16_t * pDst, @@ -97,7 +97,7 @@ void arm_scale_f16( #else #if defined(ARM_FLOAT16_SUPPORTED) -void arm_scale_f16( +ARM_DSP_ATTRIBUTE void arm_scale_f16( const float16_t *pSrc, float16_t scale, float16_t *pDst, diff --git a/Source/BasicMathFunctions/arm_scale_f32.c b/Source/BasicMathFunctions/arm_scale_f32.c index c39a25cff..587f2fcea 100644 --- a/Source/BasicMathFunctions/arm_scale_f32.c +++ b/Source/BasicMathFunctions/arm_scale_f32.c @@ -76,7 +76,7 @@ #include "arm_helium_utils.h" -void arm_scale_f32( +ARM_DSP_ATTRIBUTE void arm_scale_f32( const float32_t * pSrc, float32_t scale, float32_t * pDst, @@ -121,7 +121,7 @@ void arm_scale_f32( } #else -void arm_scale_f32( +ARM_DSP_ATTRIBUTE void arm_scale_f32( const float32_t *pSrc, float32_t scale, float32_t *pDst, diff --git a/Source/BasicMathFunctions/arm_scale_f64.c b/Source/BasicMathFunctions/arm_scale_f64.c index eaa7e7ef5..ef4050c23 100644 --- a/Source/BasicMathFunctions/arm_scale_f64.c +++ b/Source/BasicMathFunctions/arm_scale_f64.c @@ -45,7 +45,7 @@ @param[in] blockSize number of samples in each vector */ -void arm_scale_f64( +ARM_DSP_ATTRIBUTE void arm_scale_f64( const float64_t *pSrc, float64_t scale, float64_t *pDst, diff --git a/Source/BasicMathFunctions/arm_scale_q15.c b/Source/BasicMathFunctions/arm_scale_q15.c index fb39d4cda..9f1e6acd9 100644 --- a/Source/BasicMathFunctions/arm_scale_q15.c +++ b/Source/BasicMathFunctions/arm_scale_q15.c @@ -54,7 +54,7 @@ #include "arm_helium_utils.h" -void arm_scale_q15( +ARM_DSP_ATTRIBUTE void arm_scale_q15( const q15_t * pSrc, q15_t scaleFract, int8_t shift, @@ -117,7 +117,7 @@ void arm_scale_q15( #else -void arm_scale_q15( +ARM_DSP_ATTRIBUTE void arm_scale_q15( const q15_t *pSrc, q15_t scaleFract, int8_t shift, diff --git a/Source/BasicMathFunctions/arm_scale_q31.c b/Source/BasicMathFunctions/arm_scale_q31.c index c513f3e10..90bac086e 100644 --- a/Source/BasicMathFunctions/arm_scale_q31.c +++ b/Source/BasicMathFunctions/arm_scale_q31.c @@ -59,7 +59,7 @@ #include "arm_helium_utils.h" -void arm_scale_q31( +ARM_DSP_ATTRIBUTE void arm_scale_q31( const q31_t * pSrc, q31_t scaleFract, int8_t shift, @@ -107,7 +107,7 @@ void arm_scale_q31( } #else -void arm_scale_q31( +ARM_DSP_ATTRIBUTE void arm_scale_q31( const q31_t *pSrc, q31_t scaleFract, int8_t shift, diff --git a/Source/BasicMathFunctions/arm_scale_q7.c b/Source/BasicMathFunctions/arm_scale_q7.c index 70b9b70b2..cc8a54e8c 100644 --- a/Source/BasicMathFunctions/arm_scale_q7.c +++ b/Source/BasicMathFunctions/arm_scale_q7.c @@ -54,7 +54,7 @@ #include "arm_helium_utils.h" -void arm_scale_q7( +ARM_DSP_ATTRIBUTE void arm_scale_q7( const q7_t * pSrc, q7_t scaleFract, int8_t shift, @@ -119,7 +119,7 @@ void arm_scale_q7( } #else -void arm_scale_q7( +ARM_DSP_ATTRIBUTE void arm_scale_q7( const q7_t * pSrc, q7_t scaleFract, int8_t shift, diff --git a/Source/BasicMathFunctions/arm_shift_q15.c b/Source/BasicMathFunctions/arm_shift_q15.c index 1d23d2900..59cef7c96 100644 --- a/Source/BasicMathFunctions/arm_shift_q15.c +++ b/Source/BasicMathFunctions/arm_shift_q15.c @@ -53,7 +53,7 @@ #include "arm_helium_utils.h" -void arm_shift_q15( +ARM_DSP_ATTRIBUTE void arm_shift_q15( const q15_t * pSrc, int8_t shiftBits, q15_t * pDst, @@ -98,7 +98,7 @@ void arm_shift_q15( } #else -void arm_shift_q15( +ARM_DSP_ATTRIBUTE void arm_shift_q15( const q15_t * pSrc, int8_t shiftBits, q15_t * pDst, diff --git a/Source/BasicMathFunctions/arm_shift_q31.c b/Source/BasicMathFunctions/arm_shift_q31.c index d601884ec..bd52c138c 100644 --- a/Source/BasicMathFunctions/arm_shift_q31.c +++ b/Source/BasicMathFunctions/arm_shift_q31.c @@ -70,7 +70,7 @@ #include "arm_helium_utils.h" -void arm_shift_q31( +ARM_DSP_ATTRIBUTE void arm_shift_q31( const q31_t * pSrc, int8_t shiftBits, q31_t * pDst, @@ -116,7 +116,7 @@ void arm_shift_q31( #else -void arm_shift_q31( +ARM_DSP_ATTRIBUTE void arm_shift_q31( const q31_t * pSrc, int8_t shiftBits, q31_t * pDst, diff --git a/Source/BasicMathFunctions/arm_shift_q7.c b/Source/BasicMathFunctions/arm_shift_q7.c index 1160b8b17..87df12c10 100644 --- a/Source/BasicMathFunctions/arm_shift_q7.c +++ b/Source/BasicMathFunctions/arm_shift_q7.c @@ -55,7 +55,7 @@ #include "arm_helium_utils.h" -void arm_shift_q7( +ARM_DSP_ATTRIBUTE void arm_shift_q7( const q7_t * pSrc, int8_t shiftBits, q7_t * pDst, @@ -100,7 +100,7 @@ void arm_shift_q7( } #else -void arm_shift_q7( +ARM_DSP_ATTRIBUTE void arm_shift_q7( const q7_t * pSrc, int8_t shiftBits, q7_t * pDst, diff --git a/Source/BasicMathFunctions/arm_sub_f16.c b/Source/BasicMathFunctions/arm_sub_f16.c index 9498d6dfa..ec59e1b43 100755 --- a/Source/BasicMathFunctions/arm_sub_f16.c +++ b/Source/BasicMathFunctions/arm_sub_f16.c @@ -49,7 +49,7 @@ #if defined(ARM_MATH_MVE_FLOAT16) && !defined(ARM_MATH_AUTOVECTORIZE) #include "arm_helium_utils.h" -void arm_sub_f16( +ARM_DSP_ATTRIBUTE void arm_sub_f16( const float16_t * pSrcA, const float16_t * pSrcB, float16_t * pDst, @@ -99,7 +99,7 @@ void arm_sub_f16( #else #if defined(ARM_FLOAT16_SUPPORTED) -void arm_sub_f16( +ARM_DSP_ATTRIBUTE void arm_sub_f16( const float16_t * pSrcA, const float16_t * pSrcB, float16_t * pDst, diff --git a/Source/BasicMathFunctions/arm_sub_f32.c b/Source/BasicMathFunctions/arm_sub_f32.c index d94c2d31b..95a67cdf0 100644 --- a/Source/BasicMathFunctions/arm_sub_f32.c +++ b/Source/BasicMathFunctions/arm_sub_f32.c @@ -61,7 +61,7 @@ #include "arm_helium_utils.h" -void arm_sub_f32( +ARM_DSP_ATTRIBUTE void arm_sub_f32( const float32_t * pSrcA, const float32_t * pSrcB, float32_t * pDst, @@ -110,7 +110,7 @@ void arm_sub_f32( } #else -void arm_sub_f32( +ARM_DSP_ATTRIBUTE void arm_sub_f32( const float32_t * pSrcA, const float32_t * pSrcB, float32_t * pDst, diff --git a/Source/BasicMathFunctions/arm_sub_f64.c b/Source/BasicMathFunctions/arm_sub_f64.c index f9564dc40..857cb1156 100644 --- a/Source/BasicMathFunctions/arm_sub_f64.c +++ b/Source/BasicMathFunctions/arm_sub_f64.c @@ -45,7 +45,7 @@ @param[in] blockSize number of samples in each vector */ -void arm_sub_f64( +ARM_DSP_ATTRIBUTE void arm_sub_f64( const float64_t * pSrcA, const float64_t * pSrcB, float64_t * pDst, diff --git a/Source/BasicMathFunctions/arm_sub_q15.c b/Source/BasicMathFunctions/arm_sub_q15.c index 647ac9edc..c03adc4f6 100644 --- a/Source/BasicMathFunctions/arm_sub_q15.c +++ b/Source/BasicMathFunctions/arm_sub_q15.c @@ -53,7 +53,7 @@ #include "arm_helium_utils.h" -void arm_sub_q15( +ARM_DSP_ATTRIBUTE void arm_sub_q15( const q15_t * pSrcA, const q15_t * pSrcB, q15_t * pDst, @@ -100,7 +100,7 @@ void arm_sub_q15( #else -void arm_sub_q15( +ARM_DSP_ATTRIBUTE void arm_sub_q15( const q15_t * pSrcA, const q15_t * pSrcB, q15_t * pDst, diff --git a/Source/BasicMathFunctions/arm_sub_q31.c b/Source/BasicMathFunctions/arm_sub_q31.c index 2ad08b95d..a4a860e43 100644 --- a/Source/BasicMathFunctions/arm_sub_q31.c +++ b/Source/BasicMathFunctions/arm_sub_q31.c @@ -53,7 +53,7 @@ #include "arm_helium_utils.h" -void arm_sub_q31( +ARM_DSP_ATTRIBUTE void arm_sub_q31( const q31_t * pSrcA, const q31_t * pSrcB, q31_t * pDst, @@ -99,7 +99,7 @@ void arm_sub_q31( } #else -void arm_sub_q31( +ARM_DSP_ATTRIBUTE void arm_sub_q31( const q31_t * pSrcA, const q31_t * pSrcB, q31_t * pDst, diff --git a/Source/BasicMathFunctions/arm_sub_q7.c b/Source/BasicMathFunctions/arm_sub_q7.c index 05493f387..c3bf928ff 100644 --- a/Source/BasicMathFunctions/arm_sub_q7.c +++ b/Source/BasicMathFunctions/arm_sub_q7.c @@ -52,7 +52,7 @@ #include "arm_helium_utils.h" -void arm_sub_q7( +ARM_DSP_ATTRIBUTE void arm_sub_q7( const q7_t * pSrcA, const q7_t * pSrcB, q7_t * pDst, @@ -97,7 +97,7 @@ void arm_sub_q7( } } #else -void arm_sub_q7( +ARM_DSP_ATTRIBUTE void arm_sub_q7( const q7_t * pSrcA, const q7_t * pSrcB, q7_t * pDst, diff --git a/Source/BasicMathFunctions/arm_xor_u16.c b/Source/BasicMathFunctions/arm_xor_u16.c index cdb813dd9..2abec6fed 100644 --- a/Source/BasicMathFunctions/arm_xor_u16.c +++ b/Source/BasicMathFunctions/arm_xor_u16.c @@ -53,7 +53,7 @@ @param[in] blockSize number of samples in each vector */ -void arm_xor_u16( +ARM_DSP_ATTRIBUTE void arm_xor_u16( const uint16_t * pSrcA, const uint16_t * pSrcB, uint16_t * pDst, diff --git a/Source/BasicMathFunctions/arm_xor_u32.c b/Source/BasicMathFunctions/arm_xor_u32.c index e917de10a..cae2e7620 100644 --- a/Source/BasicMathFunctions/arm_xor_u32.c +++ b/Source/BasicMathFunctions/arm_xor_u32.c @@ -45,7 +45,7 @@ @param[in] blockSize number of samples in each vector */ -void arm_xor_u32( +ARM_DSP_ATTRIBUTE void arm_xor_u32( const uint32_t * pSrcA, const uint32_t * pSrcB, uint32_t * pDst, diff --git a/Source/BasicMathFunctions/arm_xor_u8.c b/Source/BasicMathFunctions/arm_xor_u8.c index 36c4ba575..08feef146 100644 --- a/Source/BasicMathFunctions/arm_xor_u8.c +++ b/Source/BasicMathFunctions/arm_xor_u8.c @@ -45,7 +45,7 @@ @param[in] blockSize number of samples in each vector */ -void arm_xor_u8( +ARM_DSP_ATTRIBUTE void arm_xor_u8( const uint8_t * pSrcA, const uint8_t * pSrcB, uint8_t * pDst, diff --git a/Source/BayesFunctions/arm_gaussian_naive_bayes_predict_f16.c b/Source/BayesFunctions/arm_gaussian_naive_bayes_predict_f16.c index e3b2ef66e..b90bf8848 100755 --- a/Source/BayesFunctions/arm_gaussian_naive_bayes_predict_f16.c +++ b/Source/BayesFunctions/arm_gaussian_naive_bayes_predict_f16.c @@ -56,7 +56,7 @@ #include "arm_helium_utils.h" #include "arm_vec_math_f16.h" -uint32_t arm_gaussian_naive_bayes_predict_f16(const arm_gaussian_naive_bayes_instance_f16 *S, +ARM_DSP_ATTRIBUTE uint32_t arm_gaussian_naive_bayes_predict_f16(const arm_gaussian_naive_bayes_instance_f16 *S, const float16_t * in, float16_t *pOutputProbabilities, float16_t *pBufferB @@ -142,7 +142,7 @@ uint32_t arm_gaussian_naive_bayes_predict_f16(const arm_gaussian_naive_bayes_ins #else -uint32_t arm_gaussian_naive_bayes_predict_f16(const arm_gaussian_naive_bayes_instance_f16 *S, +ARM_DSP_ATTRIBUTE uint32_t arm_gaussian_naive_bayes_predict_f16(const arm_gaussian_naive_bayes_instance_f16 *S, const float16_t * in, float16_t *pOutputProbabilities, float16_t *pBufferB) diff --git a/Source/BayesFunctions/arm_gaussian_naive_bayes_predict_f32.c b/Source/BayesFunctions/arm_gaussian_naive_bayes_predict_f32.c index 56331ff52..242d30315 100755 --- a/Source/BayesFunctions/arm_gaussian_naive_bayes_predict_f32.c +++ b/Source/BayesFunctions/arm_gaussian_naive_bayes_predict_f32.c @@ -55,7 +55,7 @@ #include "arm_helium_utils.h" #include "arm_vec_math.h" -uint32_t arm_gaussian_naive_bayes_predict_f32(const arm_gaussian_naive_bayes_instance_f32 *S, +ARM_DSP_ATTRIBUTE uint32_t arm_gaussian_naive_bayes_predict_f32(const arm_gaussian_naive_bayes_instance_f32 *S, const float32_t * in, float32_t *pOutputProbabilities, float32_t *pBufferB @@ -147,7 +147,7 @@ uint32_t arm_gaussian_naive_bayes_predict_f32(const arm_gaussian_naive_bayes_ins -uint32_t arm_gaussian_naive_bayes_predict_f32(const arm_gaussian_naive_bayes_instance_f32 *S, +ARM_DSP_ATTRIBUTE uint32_t arm_gaussian_naive_bayes_predict_f32(const arm_gaussian_naive_bayes_instance_f32 *S, const float32_t * in, float32_t *pOutputProbabilities, float32_t *pBufferB) @@ -332,7 +332,7 @@ uint32_t arm_gaussian_naive_bayes_predict_f32(const arm_gaussian_naive_bayes_ins #else -uint32_t arm_gaussian_naive_bayes_predict_f32(const arm_gaussian_naive_bayes_instance_f32 *S, +ARM_DSP_ATTRIBUTE uint32_t arm_gaussian_naive_bayes_predict_f32(const arm_gaussian_naive_bayes_instance_f32 *S, const float32_t * in, float32_t *pOutputProbabilities, float32_t *pBufferB) diff --git a/Source/CommonTables/arm_common_tables.c b/Source/CommonTables/arm_common_tables.c index dee782850..711e0830c 100644 --- a/Source/CommonTables/arm_common_tables.c +++ b/Source/CommonTables/arm_common_tables.c @@ -64,7 +64,7 @@ /** @brief Table for bit reversal process */ -const uint16_t armBitRevTable[1024] = { +const uint16_t armBitRevTable[1024] ARM_DSP_TABLE_ATTRIBUTE = { 0x400, 0x200, 0x600, 0x100, 0x500, 0x300, 0x700, 0x080, 0x480, 0x280, 0x680, 0x180, 0x580, 0x380, 0x780, 0x040, 0x440, 0x240, 0x640, 0x140, 0x540, 0x340, 0x740, 0x0c0, 0x4c0, 0x2c0, 0x6c0, 0x1c0, 0x5c0, 0x3c0, @@ -188,7 +188,7 @@ const uint16_t armBitRevTable[1024] = { @par Cos and Sin values are in interleaved fashion */ -const uint64_t twiddleCoefF64_16[32] = { +const uint64_t twiddleCoefF64_16[32] ARM_DSP_TABLE_ATTRIBUTE = { 0x3ff0000000000000, 0x0000000000000000, // 1, 0' 0x3fed906bcf328d46, 0x3fd87de2a6aea963, // 0.92388, 0.38268' 0x3fe6a09e667f3bcc, 0x3fe6a09e667f3bcc, // 0.70711, 0.70711' @@ -221,7 +221,7 @@ const uint64_t twiddleCoefF64_16[32] = { @par Cos and Sin values are in interleaved fashion */ -const uint64_t twiddleCoefF64_32[64] = { +const uint64_t twiddleCoefF64_32[64] ARM_DSP_TABLE_ATTRIBUTE = { 0x3ff0000000000000, 0x0000000000000000, // 1, 0' 0x3fef6297cff75cb0, 0x3fc8f8b83c69a60a, // 0.98079, 0.19509' 0x3fed906bcf328d46, 0x3fd87de2a6aea963, // 0.92388, 0.38268' @@ -270,7 +270,7 @@ const uint64_t twiddleCoefF64_32[64] = { @par Cos and Sin values are in interleaved fashion */ -const uint64_t twiddleCoefF64_64[128] = { +const uint64_t twiddleCoefF64_64[128] ARM_DSP_TABLE_ATTRIBUTE = { 0x3ff0000000000000, 0x0000000000000000, // 1, 0' 0x3fefd88da3d12526, 0x3fb917a6bc29b42c, // 0.99518, 0.098017' 0x3fef6297cff75cb0, 0x3fc8f8b83c69a60a, // 0.98079, 0.19509' @@ -351,7 +351,7 @@ const uint64_t twiddleCoefF64_64[128] = { @par Cos and Sin values are in interleaved fashion */ -const uint64_t twiddleCoefF64_128[256] = { +const uint64_t twiddleCoefF64_128[256] ARM_DSP_TABLE_ATTRIBUTE = { 0x3ff0000000000000, 0x0000000000000000, // 1, 0' 0x3feff621e3796d7e, 0x3fa91f65f10dd814, // 0.9988, 0.049068' 0x3fefd88da3d12526, 0x3fb917a6bc29b42c, // 0.99518, 0.098017' @@ -496,7 +496,7 @@ const uint64_t twiddleCoefF64_128[256] = { @par Cos and Sin values are in interleaved fashion */ -const uint64_t twiddleCoefF64_256[512] = { +const uint64_t twiddleCoefF64_256[512] ARM_DSP_TABLE_ATTRIBUTE = { 0x3ff0000000000000, 0x0000000000000000, // 1, 0 0x3feffd886084cd0d, 0x3f992155f7a3667e, // 0.9997, 0.024541 0x3feff621e3796d7e, 0x3fa91f65f10dd814, // 0.9988, 0.049068 @@ -769,7 +769,7 @@ const uint64_t twiddleCoefF64_256[512] = { @par Cos and Sin values are in interleaved fashion */ -const uint64_t twiddleCoefF64_512[1024] = { +const uint64_t twiddleCoefF64_512[1024] ARM_DSP_TABLE_ATTRIBUTE = { 0x3ff0000000000000, 0x0000000000000000, // 1, 0 0x3fefff62169b92db, 0x3f8921d1fcdec784, // 0.99992, 0.012272 0x3feffd886084cd0d, 0x3f992155f7a3667e, // 0.9997, 0.024541 @@ -1298,7 +1298,7 @@ const uint64_t twiddleCoefF64_512[1024] = { @par Cos and Sin values are in interleaved fashion */ -const uint64_t twiddleCoefF64_1024[2048] = { +const uint64_t twiddleCoefF64_1024[2048] ARM_DSP_TABLE_ATTRIBUTE = { 0x3ff0000000000000, 0x0000000000000000, // 1, 0 0x3fefffd8858e8a92, 0x3f7921f0fe670071, // 0.99998, 0.0061359 0x3fefff62169b92db, 0x3f8921d1fcdec784, // 0.99992, 0.012272 @@ -2339,7 +2339,7 @@ const uint64_t twiddleCoefF64_1024[2048] = { @par Cos and Sin values are in interleaved fashion */ -const uint64_t twiddleCoefF64_2048[4096] = { +const uint64_t twiddleCoefF64_2048[4096] ARM_DSP_TABLE_ATTRIBUTE = { 0x3ff0000000000000, 0x0000000000000000, // 1, 0 0x3feffff621621d02, 0x3f6921f8becca4ba, // 1, 0.003068 0x3fefffd8858e8a92, 0x3f7921f0fe670071, // 0.99998, 0.0061359 @@ -4405,7 +4405,7 @@ const uint64_t twiddleCoefF64_2048[4096] = { @par Cos and Sin values are in interleaved fashion */ -const uint64_t twiddleCoefF64_4096[8192] = { +const uint64_t twiddleCoefF64_4096[8192] ARM_DSP_TABLE_ATTRIBUTE = { 0x3ff0000000000000, 0x0000000000000000, // 1, 0 0x3feffffd88586ee6, 0x3f5921faaee6472d, // 1, 0.001534 0x3feffff621621d02, 0x3f6921f8becca4ba, // 1, 0.003068 @@ -8520,7 +8520,7 @@ const uint64_t twiddleCoefF64_4096[8192] = { @par Cos and Sin values are in interleaved fashion */ -const float32_t twiddleCoef_16[32] = { +const float32_t twiddleCoef_16[32] ARM_DSP_TABLE_ATTRIBUTE = { 1.000000000f, 0.000000000f, 0.923879533f, 0.382683432f, 0.707106781f, 0.707106781f, @@ -8553,7 +8553,7 @@ const float32_t twiddleCoef_16[32] = { @par Cos and Sin values are in interleaved fashion */ -const float32_t twiddleCoef_32[64] = { +const float32_t twiddleCoef_32[64] ARM_DSP_TABLE_ATTRIBUTE = { 1.000000000f, 0.000000000f, 0.980785280f, 0.195090322f, 0.923879533f, 0.382683432f, @@ -8602,7 +8602,7 @@ const float32_t twiddleCoef_32[64] = { @par Cos and Sin values are in interleaved fashion */ -const float32_t twiddleCoef_64[128] = { +const float32_t twiddleCoef_64[128] ARM_DSP_TABLE_ATTRIBUTE = { 1.000000000f, 0.000000000f, 0.995184727f, 0.098017140f, 0.980785280f, 0.195090322f, @@ -8683,7 +8683,7 @@ const float32_t twiddleCoef_64[128] = { @par Cos and Sin values are in interleaved fashion */ -const float32_t twiddleCoef_128[256] = { +const float32_t twiddleCoef_128[256] ARM_DSP_TABLE_ATTRIBUTE = { 1.000000000f, 0.000000000f, 0.998795456f, 0.049067674f, 0.995184727f, 0.098017140f, @@ -8828,7 +8828,7 @@ const float32_t twiddleCoef_128[256] = { @par Cos and Sin values are in interleaved fashion */ -const float32_t twiddleCoef_256[512] = { +const float32_t twiddleCoef_256[512] ARM_DSP_TABLE_ATTRIBUTE = { 1.000000000f, 0.000000000f, 0.999698819f, 0.024541229f, 0.998795456f, 0.049067674f, @@ -9101,7 +9101,7 @@ const float32_t twiddleCoef_256[512] = { @par Cos and Sin values are in interleaved fashion */ -const float32_t twiddleCoef_512[1024] = { +const float32_t twiddleCoef_512[1024] ARM_DSP_TABLE_ATTRIBUTE = { 1.000000000f, 0.000000000f, 0.999924702f, 0.012271538f, 0.999698819f, 0.024541229f, @@ -9630,7 +9630,7 @@ const float32_t twiddleCoef_512[1024] = { @par Cos and Sin values are in interleaved fashion */ -const float32_t twiddleCoef_1024[2048] = { +const float32_t twiddleCoef_1024[2048] ARM_DSP_TABLE_ATTRIBUTE = { 1.000000000f, 0.000000000f, 0.999981175f, 0.006135885f, 0.999924702f, 0.012271538f, @@ -10671,7 +10671,7 @@ const float32_t twiddleCoef_1024[2048] = { @par Cos and Sin values are in interleaved fashion */ -const float32_t twiddleCoef_2048[4096] = { +const float32_t twiddleCoef_2048[4096] ARM_DSP_TABLE_ATTRIBUTE = { 1.000000000f, 0.000000000f, 0.999995294f, 0.003067957f, 0.999981175f, 0.006135885f, @@ -12736,7 +12736,7 @@ const float32_t twiddleCoef_2048[4096] = { @par Cos and Sin values are in interleaved fashion */ -const float32_t twiddleCoef_4096[8192] = { +const float32_t twiddleCoef_4096[8192] ARM_DSP_TABLE_ATTRIBUTE = { 1.000000000f, 0.000000000f, 0.999998823f, 0.001533980f, 0.999995294f, 0.003067957f, @@ -16857,7 +16857,7 @@ const float32_t twiddleCoef_4096[8192] = { Convert Floating point to Q31(Fixed point 1.31): round(twiddleCoefQ31(i) * pow(2, 31)) */ -const q31_t twiddleCoef_16_q31[24] = { +const q31_t twiddleCoef_16_q31[24] ARM_DSP_TABLE_ATTRIBUTE = { (q31_t)0x7FFFFFFF, (q31_t)0x00000000, (q31_t)0x7641AF3C, (q31_t)0x30FBC54D, (q31_t)0x5A82799A, (q31_t)0x5A82799A, @@ -16890,7 +16890,7 @@ const q31_t twiddleCoef_16_q31[24] = { Convert Floating point to Q31(Fixed point 1.31): round(twiddleCoefQ31(i) * pow(2, 31)) */ -const q31_t twiddleCoef_32_q31[48] = { +const q31_t twiddleCoef_32_q31[48] ARM_DSP_TABLE_ATTRIBUTE = { (q31_t)0x7FFFFFFF, (q31_t)0x00000000, (q31_t)0x7D8A5F3F, (q31_t)0x18F8B83C, (q31_t)0x7641AF3C, (q31_t)0x30FBC54D, @@ -16934,7 +16934,7 @@ const q31_t twiddleCoef_32_q31[48] = { Convert Floating point to Q31(Fixed point 1.31): round(twiddleCoefQ31(i) * pow(2, 31)) */ -const q31_t twiddleCoef_64_q31[96] = { +const q31_t twiddleCoef_64_q31[96] ARM_DSP_TABLE_ATTRIBUTE = { (q31_t)0x7FFFFFFF, (q31_t)0x00000000, (q31_t)0x7F62368F, (q31_t)0x0C8BD35E, (q31_t)0x7D8A5F3F, (q31_t)0x18F8B83C, (q31_t)0x7A7D055B, (q31_t)0x25280C5D, (q31_t)0x7641AF3C, @@ -16986,7 +16986,7 @@ const q31_t twiddleCoef_64_q31[96] = { Convert Floating point to Q31(Fixed point 1.31): round(twiddleCoefQ31(i) * pow(2, 31)) */ -const q31_t twiddleCoef_128_q31[192] = { +const q31_t twiddleCoef_128_q31[192] ARM_DSP_TABLE_ATTRIBUTE = { (q31_t)0x7FFFFFFF, (q31_t)0x00000000, (q31_t)0x7FD8878D, (q31_t)0x0647D97C, (q31_t)0x7F62368F, (q31_t)0x0C8BD35E, (q31_t)0x7E9D55FC, (q31_t)0x12C8106E, (q31_t)0x7D8A5F3F, @@ -17071,7 +17071,7 @@ const q31_t twiddleCoef_128_q31[192] = { round(twiddleCoefQ31(i) * pow(2, 31)) */ -const q31_t twiddleCoef_256_q31[384] = { +const q31_t twiddleCoef_256_q31[384] ARM_DSP_TABLE_ATTRIBUTE = { (q31_t)0x7FFFFFFF, (q31_t)0x00000000, (q31_t)0x7FF62182, (q31_t)0x03242ABF, (q31_t)0x7FD8878D, (q31_t)0x0647D97C, (q31_t)0x7FA736B4, (q31_t)0x096A9049, (q31_t)0x7F62368F, @@ -17220,7 +17220,7 @@ const q31_t twiddleCoef_256_q31[384] = { round(twiddleCoefQ31(i) * pow(2, 31)) */ -const q31_t twiddleCoef_512_q31[768] = { +const q31_t twiddleCoef_512_q31[768] ARM_DSP_TABLE_ATTRIBUTE = { (q31_t)0x7FFFFFFF, (q31_t)0x00000000, (q31_t)0x7FFD885A, (q31_t)0x01921D1F, (q31_t)0x7FF62182, (q31_t)0x03242ABF, (q31_t)0x7FE9CBC0, (q31_t)0x04B6195D, (q31_t)0x7FD8878D, @@ -17497,7 +17497,7 @@ const q31_t twiddleCoef_512_q31[768] = { round(twiddleCoefQ31(i) * pow(2, 31)) */ -const q31_t twiddleCoef_1024_q31[1536] = { +const q31_t twiddleCoef_1024_q31[1536] ARM_DSP_TABLE_ATTRIBUTE = { (q31_t)0x7FFFFFFF, (q31_t)0x00000000, (q31_t)0x7FFF6216, (q31_t)0x00C90F88, (q31_t)0x7FFD885A, (q31_t)0x01921D1F, (q31_t)0x7FFA72D1, (q31_t)0x025B26D7, (q31_t)0x7FF62182, @@ -18029,7 +18029,7 @@ const q31_t twiddleCoef_1024_q31[1536] = { Convert Floating point to Q31(Fixed point 1.31): round(twiddleCoefQ31(i) * pow(2, 31)) */ -const q31_t twiddleCoef_2048_q31[3072] = { +const q31_t twiddleCoef_2048_q31[3072] ARM_DSP_TABLE_ATTRIBUTE = { (q31_t)0x7FFFFFFF, (q31_t)0x00000000, (q31_t)0x7FFFD885, (q31_t)0x006487E3, (q31_t)0x7FFF6216, (q31_t)0x00C90F88, (q31_t)0x7FFE9CB2, (q31_t)0x012D96B0, (q31_t)0x7FFD885A, @@ -19073,7 +19073,7 @@ const q31_t twiddleCoef_2048_q31[3072] = { Convert Floating point to Q31(Fixed point 1.31): round(twiddleCoefQ31(i) * pow(2, 31)) */ -const q31_t twiddleCoef_4096_q31[6144] = +const q31_t twiddleCoef_4096_q31[6144] ARM_DSP_TABLE_ATTRIBUTE = { (q31_t)0x7FFFFFFF, (q31_t)0x00000000, (q31_t)0x7FFFF621, (q31_t)0x003243F5, (q31_t)0x7FFFD885, (q31_t)0x006487E3, @@ -21146,7 +21146,7 @@ const q31_t twiddleCoef_4096_q31[6144] = Convert Floating point to q15(Fixed point 1.15): round(twiddleCoefq15(i) * pow(2, 15)) */ -const q15_t twiddleCoef_16_q15[24] = { +const q15_t twiddleCoef_16_q15[24] ARM_DSP_TABLE_ATTRIBUTE = { (q15_t)0x7FFF, (q15_t)0x0000, (q15_t)0x7641, (q15_t)0x30FB, (q15_t)0x5A82, (q15_t)0x5A82, @@ -21178,7 +21178,7 @@ const q15_t twiddleCoef_16_q15[24] = { Convert Floating point to q15(Fixed point 1.15): round(twiddleCoefq15(i) * pow(2, 15)) */ -const q15_t twiddleCoef_32_q15[48] = { +const q15_t twiddleCoef_32_q15[48] ARM_DSP_TABLE_ATTRIBUTE = { (q15_t)0x7FFF, (q15_t)0x0000, (q15_t)0x7D8A, (q15_t)0x18F8, (q15_t)0x7641, (q15_t)0x30FB, @@ -21222,7 +21222,7 @@ const q15_t twiddleCoef_32_q15[48] = { Convert Floating point to q15(Fixed point 1.15): round(twiddleCoefq15(i) * pow(2, 15)) */ -const q15_t twiddleCoef_64_q15[96] = { +const q15_t twiddleCoef_64_q15[96] ARM_DSP_TABLE_ATTRIBUTE = { (q15_t)0x7FFF, (q15_t)0x0000, (q15_t)0x7F62, (q15_t)0x0C8B, (q15_t)0x7D8A, (q15_t)0x18F8, (q15_t)0x7A7D, (q15_t)0x2528, (q15_t)0x7641, (q15_t)0x30FB, (q15_t)0x70E2, (q15_t)0x3C56, @@ -21266,7 +21266,7 @@ const q15_t twiddleCoef_64_q15[96] = { Convert Floating point to q15(Fixed point 1.15): round(twiddleCoefq15(i) * pow(2, 15)) */ -const q15_t twiddleCoef_128_q15[192] = { +const q15_t twiddleCoef_128_q15[192] ARM_DSP_TABLE_ATTRIBUTE = { (q15_t)0x7FFF, (q15_t)0x0000, (q15_t)0x7FD8, (q15_t)0x0647, (q15_t)0x7F62, (q15_t)0x0C8B, (q15_t)0x7E9D, (q15_t)0x12C8, (q15_t)0x7D8A, (q15_t)0x18F8, (q15_t)0x7C29, (q15_t)0x1F19, @@ -21334,7 +21334,7 @@ const q15_t twiddleCoef_128_q15[192] = { Convert Floating point to q15(Fixed point 1.15): round(twiddleCoefq15(i) * pow(2, 15)) */ -const q15_t twiddleCoef_256_q15[384] = { +const q15_t twiddleCoef_256_q15[384] ARM_DSP_TABLE_ATTRIBUTE = { (q15_t)0x7FFF, (q15_t)0x0000, (q15_t)0x7FF6, (q15_t)0x0324, (q15_t)0x7FD8, (q15_t)0x0647, (q15_t)0x7FA7, (q15_t)0x096A, (q15_t)0x7F62, (q15_t)0x0C8B, (q15_t)0x7F09, (q15_t)0x0FAB, @@ -21450,7 +21450,7 @@ const q15_t twiddleCoef_256_q15[384] = { Convert Floating point to q15(Fixed point 1.15): round(twiddleCoefq15(i) * pow(2, 15)) */ -const q15_t twiddleCoef_512_q15[768] = { +const q15_t twiddleCoef_512_q15[768] ARM_DSP_TABLE_ATTRIBUTE = { (q15_t)0x7FFF, (q15_t)0x0000, (q15_t)0x7FFD, (q15_t)0x0192, (q15_t)0x7FF6, (q15_t)0x0324, (q15_t)0x7FE9, (q15_t)0x04B6, (q15_t)0x7FD8, (q15_t)0x0647, (q15_t)0x7FC2, (q15_t)0x07D9, @@ -21663,7 +21663,7 @@ const q15_t twiddleCoef_512_q15[768] = { round(twiddleCoefq15(i) * pow(2, 15)) */ -const q15_t twiddleCoef_1024_q15[1536] = { +const q15_t twiddleCoef_1024_q15[1536] ARM_DSP_TABLE_ATTRIBUTE = { (q15_t)0x7FFF, (q15_t)0x0000, (q15_t)0x7FFF, (q15_t)0x00C9, (q15_t)0x7FFD, (q15_t)0x0192, (q15_t)0x7FFA, (q15_t)0x025B, (q15_t)0x7FF6, (q15_t)0x0324, (q15_t)0x7FF0, (q15_t)0x03ED, @@ -22067,7 +22067,7 @@ const q15_t twiddleCoef_1024_q15[1536] = { Convert Floating point to q15(Fixed point 1.15): round(twiddleCoefq15(i) * pow(2, 15)) */ -const q15_t twiddleCoef_2048_q15[3072] = { +const q15_t twiddleCoef_2048_q15[3072] ARM_DSP_TABLE_ATTRIBUTE = { (q15_t)0x7FFF, (q15_t)0x0000, (q15_t)0x7FFF, (q15_t)0x0064, (q15_t)0x7FFF, (q15_t)0x00C9, (q15_t)0x7FFE, (q15_t)0x012D, (q15_t)0x7FFD, (q15_t)0x0192, (q15_t)0x7FFC, (q15_t)0x01F6, @@ -22855,7 +22855,7 @@ const q15_t twiddleCoef_2048_q15[3072] = { Convert Floating point to q15(Fixed point 1.15): round(twiddleCoefq15(i) * pow(2, 15)) */ -const q15_t twiddleCoef_4096_q15[6144] = +const q15_t twiddleCoef_4096_q15[6144] ARM_DSP_TABLE_ATTRIBUTE = { (q15_t)0x7FFF, (q15_t)0x0000, (q15_t)0x7FFF, (q15_t)0x0032, (q15_t)0x7FFF, (q15_t)0x0064, (q15_t)0x7FFF, (q15_t)0x0096, @@ -24401,20 +24401,20 @@ const q15_t twiddleCoef_4096_q15[6144] = */ -const uint16_t armBitRevIndexTableF64_16[ARMBITREVINDEXTABLEF64_16_TABLE_LENGTH] = +const uint16_t armBitRevIndexTableF64_16[ARMBITREVINDEXTABLEF64_16_TABLE_LENGTH] ARM_DSP_TABLE_ATTRIBUTE = { /* radix 4, size 12 */ 8,64, 16,32, 24,96, 40,80, 56,112, 88,104 }; -const uint16_t armBitRevIndexTableF64_32[ARMBITREVINDEXTABLEF64_32_TABLE_LENGTH] = +const uint16_t armBitRevIndexTableF64_32[ARMBITREVINDEXTABLEF64_32_TABLE_LENGTH] ARM_DSP_TABLE_ATTRIBUTE = { /* 4x2, size 24 */ 8,128, 16,64, 24,192, 40,160, 48,96, 56,224, 72,144, 88,208, 104,176, 120,240, 152,200, 184,232 }; -const uint16_t armBitRevIndexTableF64_64[ARMBITREVINDEXTABLEF64_64_TABLE_LENGTH] = +const uint16_t armBitRevIndexTableF64_64[ARMBITREVINDEXTABLEF64_64_TABLE_LENGTH] ARM_DSP_TABLE_ATTRIBUTE = { /* radix 4, size 56 */ 8,256, 16,128, 24,384, 32,64, 40,320, 48,192, 56,448, 72,288, 80,160, 88,416, 104,352, @@ -24422,7 +24422,7 @@ const uint16_t armBitRevIndexTableF64_64[ARMBITREVINDEXTABLEF64_64_TABLE_LENGTH] 232,368, 248,496, 280,392, 296,328, 312,456, 344,424, 376,488, 440,472 }; -const uint16_t armBitRevIndexTableF64_128[ARMBITREVINDEXTABLEF64_128_TABLE_LENGTH] = +const uint16_t armBitRevIndexTableF64_128[ARMBITREVINDEXTABLEF64_128_TABLE_LENGTH] ARM_DSP_TABLE_ATTRIBUTE = { /* 4x2, size 112 */ 8,512, 16,256, 24,768, 32,128, 40,640, 48,384, 56,896, 72,576, 80,320, 88,832, 96,192, @@ -24433,7 +24433,7 @@ const uint16_t armBitRevIndexTableF64_128[ARMBITREVINDEXTABLEF64_128_TABLE_LENGT 664,808, 696,936, 728,872, 760,1000, 824,920, 888,984 }; -const uint16_t armBitRevIndexTableF64_256[ARMBITREVINDEXTABLEF64_256_TABLE_LENGTH] = +const uint16_t armBitRevIndexTableF64_256[ARMBITREVINDEXTABLEF64_256_TABLE_LENGTH] ARM_DSP_TABLE_ATTRIBUTE = { /* radix 4, size 240 */ 8,1024, 16,512, 24,1536, 32,256, 40,1280, 48,768, 56,1792, 64,128, 72,1152, 80,640, @@ -24452,7 +24452,7 @@ const uint16_t armBitRevIndexTableF64_256[ARMBITREVINDEXTABLEF64_256_TABLE_LENGT 1624,1688, 1656,1944, 1720,1880, 1784,2008, 1912,1976 }; -const uint16_t armBitRevIndexTableF64_512[ARMBITREVINDEXTABLEF64_512_TABLE_LENGTH] = +const uint16_t armBitRevIndexTableF64_512[ARMBITREVINDEXTABLEF64_512_TABLE_LENGTH] ARM_DSP_TABLE_ATTRIBUTE = { /* 4x2, size 480 */ 8,2048, 16,1024, 24,3072, 32,512, 40,2560, 48,1536, 56,3584, 64,256, 72,2304, 80,1280, @@ -24486,7 +24486,7 @@ const uint16_t armBitRevIndexTableF64_512[ARMBITREVINDEXTABLEF64_512_TABLE_LENGT 3512,3800, 3576,4056, 3704,3896, 3832,4024 }; -const uint16_t armBitRevIndexTableF64_1024[ARMBITREVINDEXTABLEF64_1024_TABLE_LENGTH] = +const uint16_t armBitRevIndexTableF64_1024[ARMBITREVINDEXTABLEF64_1024_TABLE_LENGTH] ARM_DSP_TABLE_ATTRIBUTE = { /* radix 4, size 992 */ 8,4096, 16,2048, 24,6144, 32,1024, 40,5120, 48,3072, 56,7168, 64,512, 72,4608, @@ -24560,7 +24560,7 @@ const uint16_t armBitRevIndexTableF64_1024[ARMBITREVINDEXTABLEF64_1024_TABLE_LEN 7352,7480, 7416,7992, 7544,7864, 7672,8120, 7928,8056 }; -const uint16_t armBitRevIndexTableF64_2048[ARMBITREVINDEXTABLEF64_2048_TABLE_LENGTH] = +const uint16_t armBitRevIndexTableF64_2048[ARMBITREVINDEXTABLEF64_2048_TABLE_LENGTH] ARM_DSP_TABLE_ATTRIBUTE = { /* 4x2, size 1984 */ 8,8192, 16,4096, 24,12288, 32,2048, 40,10240, 48,6144, 56,14336, 64,1024, @@ -24716,7 +24716,7 @@ const uint16_t armBitRevIndexTableF64_2048[ARMBITREVINDEXTABLEF64_2048_TABLE_LEN 14968,15544, 15096,16056, 15224,15800, 15352,16312, 15608,15992, 15864,16248 }; -const uint16_t armBitRevIndexTableF64_4096[ARMBITREVINDEXTABLEF64_4096_TABLE_LENGTH] = +const uint16_t armBitRevIndexTableF64_4096[ARMBITREVINDEXTABLEF64_4096_TABLE_LENGTH] ARM_DSP_TABLE_ATTRIBUTE = { /* radix 4, size 4032 */ 8,16384, 16,8192, 24,24576, 32,4096, 40,20480, 48,12288, 56,28672, 64,2048, @@ -25054,13 +25054,13 @@ const uint16_t armBitRevIndexTableF64_4096[ARMBITREVINDEXTABLEF64_4096_TABLE_LEN 31480,32120, 31736,32632, 32248,32504 }; -const uint16_t armBitRevIndexTable16[ARMBITREVINDEXTABLE_16_TABLE_LENGTH] = +const uint16_t armBitRevIndexTable16[ARMBITREVINDEXTABLE_16_TABLE_LENGTH] ARM_DSP_TABLE_ATTRIBUTE = { /* 8x2, size 20 */ 8,64, 24,72, 16,64, 40,80, 32,64, 56,88, 48,72, 88,104, 72,96, 104,112 }; -const uint16_t armBitRevIndexTable32[ARMBITREVINDEXTABLE_32_TABLE_LENGTH] = +const uint16_t armBitRevIndexTable32[ARMBITREVINDEXTABLE_32_TABLE_LENGTH] ARM_DSP_TABLE_ATTRIBUTE = { /* 8x4, size 48 */ 8,64, 16,128, 24,192, 32,64, 40,72, 48,136, 56,200, 64,128, 72,80, 88,208, @@ -25068,7 +25068,7 @@ const uint16_t armBitRevIndexTable32[ARMBITREVINDEXTABLE_32_TABLE_LENGTH] = 152,224, 176,208, 184,232, 216,240, 200,224, 232,240 }; -const uint16_t armBitRevIndexTable64[ARMBITREVINDEXTABLE_64_TABLE_LENGTH] = +const uint16_t armBitRevIndexTable64[ARMBITREVINDEXTABLE_64_TABLE_LENGTH] ARM_DSP_TABLE_ATTRIBUTE = { /* radix 8, size 56 */ 8,64, 16,128, 24,192, 32,256, 40,320, 48,384, 56,448, 80,136, 88,200, @@ -25078,7 +25078,7 @@ const uint16_t armBitRevIndexTable64[ARMBITREVINDEXTABLE_64_TABLE_LENGTH] = }; -const uint16_t armBitRevIndexTable128[ARMBITREVINDEXTABLE_128_TABLE_LENGTH] = +const uint16_t armBitRevIndexTable128[ARMBITREVINDEXTABLE_128_TABLE_LENGTH] ARM_DSP_TABLE_ATTRIBUTE = { /* 8x2, size 208 */ 8,512, 16,64, 24,576, 32,128, 40,640, 48,192, 56,704, 64,256, 72,768, @@ -25096,7 +25096,7 @@ const uint16_t armBitRevIndexTable128[ARMBITREVINDEXTABLE_128_TABLE_LENGTH] = 904,928, 912,960, 920,992, 944,968, 952,1000, 968,992, 984,1008 }; -const uint16_t armBitRevIndexTable256[ARMBITREVINDEXTABLE_256_TABLE_LENGTH] = +const uint16_t armBitRevIndexTable256[ARMBITREVINDEXTABLE_256_TABLE_LENGTH] ARM_DSP_TABLE_ATTRIBUTE = { /* 8x4, size 440 */ 8,512, 16,1024, 24,1536, 32,64, 40,576, 48,1088, 56,1600, 64,128, 72,640, @@ -25134,7 +25134,7 @@ const uint16_t armBitRevIndexTable256[ARMBITREVINDEXTABLE_256_TABLE_LENGTH] = 1960,1968, 2008,2032, 1992,2016, 2024,2032 }; -const uint16_t armBitRevIndexTable512[ARMBITREVINDEXTABLE_512_TABLE_LENGTH] = +const uint16_t armBitRevIndexTable512[ARMBITREVINDEXTABLE_512_TABLE_LENGTH] ARM_DSP_TABLE_ATTRIBUTE = { /* radix 8, size 448 */ 8,512, 16,1024, 24,1536, 32,2048, 40,2560, 48,3072, 56,3584, 72,576, @@ -25174,7 +25174,7 @@ const uint16_t armBitRevIndexTable512[ARMBITREVINDEXTABLE_512_TABLE_LENGTH] = 3448,3952, 3512,4016, 3576,4080 }; -const uint16_t armBitRevIndexTable1024[ARMBITREVINDEXTABLE_1024_TABLE_LENGTH] = +const uint16_t armBitRevIndexTable1024[ARMBITREVINDEXTABLE_1024_TABLE_LENGTH] ARM_DSP_TABLE_ATTRIBUTE = { /* 8x2, size 1800 */ 8,4096, 16,512, 24,4608, 32,1024, 40,5120, 48,1536, 56,5632, 64,2048, @@ -25326,7 +25326,7 @@ const uint16_t armBitRevIndexTable1024[ARMBITREVINDEXTABLE_1024_TABLE_LENGTH] = 8112,8136, 8120,8168, 8136,8160, 8152,8176 }; -const uint16_t armBitRevIndexTable2048[ARMBITREVINDEXTABLE_2048_TABLE_LENGTH] = +const uint16_t armBitRevIndexTable2048[ARMBITREVINDEXTABLE_2048_TABLE_LENGTH] ARM_DSP_TABLE_ATTRIBUTE = { /* 8x2, size 3808 */ 8,4096, 16,8192, 24,12288, 32,512, 40,4608, 48,8704, 56,12800, 64,1024, @@ -25668,7 +25668,7 @@ const uint16_t armBitRevIndexTable2048[ARMBITREVINDEXTABLE_2048_TABLE_LENGTH] = 16328,16352, 16360,16368 }; -const uint16_t armBitRevIndexTable4096[ARMBITREVINDEXTABLE_4096_TABLE_LENGTH] = +const uint16_t armBitRevIndexTable4096[ARMBITREVINDEXTABLE_4096_TABLE_LENGTH] ARM_DSP_TABLE_ATTRIBUTE = { /* radix 8, size 4032 */ 8,4096, 16,8192, 24,12288, 32,16384, 40,20480, 48,24576, 56,28672, 64,512, @@ -26039,20 +26039,20 @@ const uint16_t armBitRevIndexTable4096[ARMBITREVINDEXTABLE_4096_TABLE_LENGTH] = 32248,32696 }; -const uint16_t armBitRevIndexTable_fixed_16[ARMBITREVINDEXTABLE_FIXED_16_TABLE_LENGTH] = +const uint16_t armBitRevIndexTable_fixed_16[ARMBITREVINDEXTABLE_FIXED_16_TABLE_LENGTH] ARM_DSP_TABLE_ATTRIBUTE = { /* radix 4, size 12 */ 8,64, 16,32, 24,96, 40,80, 56,112, 88,104 }; -const uint16_t armBitRevIndexTable_fixed_32[ARMBITREVINDEXTABLE_FIXED_32_TABLE_LENGTH] = +const uint16_t armBitRevIndexTable_fixed_32[ARMBITREVINDEXTABLE_FIXED_32_TABLE_LENGTH] ARM_DSP_TABLE_ATTRIBUTE = { /* 4x2, size 24 */ 8,128, 16,64, 24,192, 40,160, 48,96, 56,224, 72,144, 88,208, 104,176, 120,240, 152,200, 184,232 }; -const uint16_t armBitRevIndexTable_fixed_64[ARMBITREVINDEXTABLE_FIXED_64_TABLE_LENGTH] = +const uint16_t armBitRevIndexTable_fixed_64[ARMBITREVINDEXTABLE_FIXED_64_TABLE_LENGTH] ARM_DSP_TABLE_ATTRIBUTE = { /* radix 4, size 56 */ 8,256, 16,128, 24,384, 32,64, 40,320, 48,192, 56,448, 72,288, 80,160, 88,416, 104,352, @@ -26060,7 +26060,7 @@ const uint16_t armBitRevIndexTable_fixed_64[ARMBITREVINDEXTABLE_FIXED_64_TABLE_L 232,368, 248,496, 280,392, 296,328, 312,456, 344,424, 376,488, 440,472 }; -const uint16_t armBitRevIndexTable_fixed_128[ARMBITREVINDEXTABLE_FIXED_128_TABLE_LENGTH] = +const uint16_t armBitRevIndexTable_fixed_128[ARMBITREVINDEXTABLE_FIXED_128_TABLE_LENGTH] ARM_DSP_TABLE_ATTRIBUTE = { /* 4x2, size 112 */ 8,512, 16,256, 24,768, 32,128, 40,640, 48,384, 56,896, 72,576, 80,320, 88,832, 96,192, @@ -26071,7 +26071,7 @@ const uint16_t armBitRevIndexTable_fixed_128[ARMBITREVINDEXTABLE_FIXED_128_TABLE 664,808, 696,936, 728,872, 760,1000, 824,920, 888,984 }; -const uint16_t armBitRevIndexTable_fixed_256[ARMBITREVINDEXTABLE_FIXED_256_TABLE_LENGTH] = +const uint16_t armBitRevIndexTable_fixed_256[ARMBITREVINDEXTABLE_FIXED_256_TABLE_LENGTH] ARM_DSP_TABLE_ATTRIBUTE = { /* radix 4, size 240 */ 8,1024, 16,512, 24,1536, 32,256, 40,1280, 48,768, 56,1792, 64,128, 72,1152, 80,640, @@ -26090,7 +26090,7 @@ const uint16_t armBitRevIndexTable_fixed_256[ARMBITREVINDEXTABLE_FIXED_256_TABLE 1624,1688, 1656,1944, 1720,1880, 1784,2008, 1912,1976 }; -const uint16_t armBitRevIndexTable_fixed_512[ARMBITREVINDEXTABLE_FIXED_512_TABLE_LENGTH] = +const uint16_t armBitRevIndexTable_fixed_512[ARMBITREVINDEXTABLE_FIXED_512_TABLE_LENGTH] ARM_DSP_TABLE_ATTRIBUTE = { /* 4x2, size 480 */ 8,2048, 16,1024, 24,3072, 32,512, 40,2560, 48,1536, 56,3584, 64,256, 72,2304, 80,1280, @@ -26124,7 +26124,7 @@ const uint16_t armBitRevIndexTable_fixed_512[ARMBITREVINDEXTABLE_FIXED_512_TABLE 3512,3800, 3576,4056, 3704,3896, 3832,4024 }; -const uint16_t armBitRevIndexTable_fixed_1024[ARMBITREVINDEXTABLE_FIXED_1024_TABLE_LENGTH] = +const uint16_t armBitRevIndexTable_fixed_1024[ARMBITREVINDEXTABLE_FIXED_1024_TABLE_LENGTH] ARM_DSP_TABLE_ATTRIBUTE = { /* radix 4, size 992 */ 8,4096, 16,2048, 24,6144, 32,1024, 40,5120, 48,3072, 56,7168, 64,512, 72,4608, @@ -26198,7 +26198,7 @@ const uint16_t armBitRevIndexTable_fixed_1024[ARMBITREVINDEXTABLE_FIXED_1024_TAB 7352,7480, 7416,7992, 7544,7864, 7672,8120, 7928,8056 }; -const uint16_t armBitRevIndexTable_fixed_2048[ARMBITREVINDEXTABLE_FIXED_2048_TABLE_LENGTH] = +const uint16_t armBitRevIndexTable_fixed_2048[ARMBITREVINDEXTABLE_FIXED_2048_TABLE_LENGTH] ARM_DSP_TABLE_ATTRIBUTE = { /* 4x2, size 1984 */ 8,8192, 16,4096, 24,12288, 32,2048, 40,10240, 48,6144, 56,14336, 64,1024, @@ -26354,7 +26354,7 @@ const uint16_t armBitRevIndexTable_fixed_2048[ARMBITREVINDEXTABLE_FIXED_2048_TAB 14968,15544, 15096,16056, 15224,15800, 15352,16312, 15608,15992, 15864,16248 }; -const uint16_t armBitRevIndexTable_fixed_4096[ARMBITREVINDEXTABLE_FIXED_4096_TABLE_LENGTH] = +const uint16_t armBitRevIndexTable_fixed_4096[ARMBITREVINDEXTABLE_FIXED_4096_TABLE_LENGTH] ARM_DSP_TABLE_ATTRIBUTE = { /* radix 4, size 4032 */ 8,16384, 16,8192, 24,24576, 32,4096, 40,20480, 48,12288, 56,28672, 64,2048, @@ -26700,7 +26700,7 @@ const uint16_t armBitRevIndexTable_fixed_4096[ARMBITREVINDEXTABLE_FIXED_4096_TAB @par Real and Imag values are in interleaved fashion */ -const uint64_t twiddleCoefF64_rfft_32[32] = { +const uint64_t twiddleCoefF64_rfft_32[32] ARM_DSP_TABLE_ATTRIBUTE = { 0x0000000000000000, 0x3ff0000000000000, // 0, 1 0x3fc8f8b83c69a60a, 0x3fef6297cff75cb0, //0.19509, 0.98079 0x3fd87de2a6aea963, 0x3fed906bcf328d46, //0.38268, 0.92388 @@ -26719,7 +26719,7 @@ const uint64_t twiddleCoefF64_rfft_32[32] = { 0x3fc8f8b83c69a60a, 0xbfef6297cff75cb0, //0.19509,-0.98079 }; -const uint64_t twiddleCoefF64_rfft_64[64] = { +const uint64_t twiddleCoefF64_rfft_64[64] ARM_DSP_TABLE_ATTRIBUTE = { 0x0000000000000000, 0x3ff0000000000000, // 0, 1' 0x3fb917a6bc29b42c, 0x3fefd88da3d12526, //0.098017, 0.99518' 0x3fc8f8b83c69a60a, 0x3fef6297cff75cb0, // 0.19509, 0.98079' @@ -26754,7 +26754,7 @@ const uint64_t twiddleCoefF64_rfft_64[64] = { 0x3fb917a6bc29b42c, 0xbfefd88da3d12526, //0.098017, -0.99518' }; -const uint64_t twiddleCoefF64_rfft_128[128] = { +const uint64_t twiddleCoefF64_rfft_128[128] ARM_DSP_TABLE_ATTRIBUTE = { 0x0000000000000000, 0x3ff0000000000000, // 0, 1' 0x3fa91f65f10dd814, 0x3feff621e3796d7e, //0.049068, 0.9988' 0x3fb917a6bc29b42c, 0x3fefd88da3d12526, //0.098017, 0.99518' @@ -26821,7 +26821,7 @@ const uint64_t twiddleCoefF64_rfft_128[128] = { 0x3fa91f65f10dd814, 0xbfeff621e3796d7e, //0.049068, -0.9988' }; -const uint64_t twiddleCoefF64_rfft_256[256] = { +const uint64_t twiddleCoefF64_rfft_256[256] ARM_DSP_TABLE_ATTRIBUTE = { 0x0000000000000000, 0x3ff0000000000000, // 0, 1 0x3f992155f7a3667e, 0x3feffd886084cd0d, //0.024541, 0.9997 0x3fa91f65f10dd814, 0x3feff621e3796d7e, //0.049068, 0.9988 @@ -26954,7 +26954,7 @@ const uint64_t twiddleCoefF64_rfft_256[256] = { }; -const uint64_t twiddleCoefF64_rfft_512[512] = { +const uint64_t twiddleCoefF64_rfft_512[512] ARM_DSP_TABLE_ATTRIBUTE = { 0x0000000000000000, 0x3ff0000000000000, // 0, 1' 0x3f8921d1fcdec784, 0x3fefff62169b92db, //0.012272, 0.99992' 0x3f992155f7a3667e, 0x3feffd886084cd0d, //0.024541, 0.9997' @@ -27215,7 +27215,7 @@ const uint64_t twiddleCoefF64_rfft_512[512] = { }; -const uint64_t twiddleCoefF64_rfft_1024[1024] = { +const uint64_t twiddleCoefF64_rfft_1024[1024] ARM_DSP_TABLE_ATTRIBUTE = { 0x0000000000000000, 0x3ff0000000000000, // 0, 1' 0x3f7921f0fe670071, 0x3fefffd8858e8a92, //0.0061359, 0.99998' 0x3f8921d1fcdec784, 0x3fefff62169b92db, // 0.012272, 0.99992' @@ -27730,7 +27730,7 @@ const uint64_t twiddleCoefF64_rfft_1024[1024] = { 0x3f7921f0fe670071, 0xbfefffd8858e8a92, //0.0061359, -0.99998' }; -const uint64_t twiddleCoefF64_rfft_2048[2048] = { +const uint64_t twiddleCoefF64_rfft_2048[2048] ARM_DSP_TABLE_ATTRIBUTE = { 0x0000000000000000, 0x3ff0000000000000, // 0, 1 0x3f6921f8becca4ba, 0x3feffff621621d02, // 0.003068, 1 0x3f7921f0fe670071, 0x3fefffd8858e8a92, //0.0061359, 0.99998 @@ -28757,7 +28757,7 @@ const uint64_t twiddleCoefF64_rfft_2048[2048] = { 0x3f6921f8becca4ba, 0xbfeffff621621d02, // 0.003068, -1 }; -const uint64_t twiddleCoefF64_rfft_4096[4096] = { +const uint64_t twiddleCoefF64_rfft_4096[4096] ARM_DSP_TABLE_ATTRIBUTE = { 0x0000000000000000, 0x3ff0000000000000, // 0, 1 0x3f5921faaee6472d, 0x3feffffd88586ee6, // 0.001534, 1 0x3f6921f8becca4ba, 0x3feffff621621d02, // 0.003068, 1 @@ -30817,7 +30817,7 @@ const uint64_t twiddleCoefF64_rfft_4096[4096] = { @par Real and Imag values are in interleaved fashion */ -const float32_t twiddleCoef_rfft_32[32] = { +const float32_t twiddleCoef_rfft_32[32] ARM_DSP_TABLE_ATTRIBUTE = { 0.000000000f, 1.000000000f, 0.195090322f, 0.980785280f, 0.382683432f, 0.923879533f, @@ -30836,7 +30836,7 @@ const float32_t twiddleCoef_rfft_32[32] = { 0.195090322f, -0.980785280f }; -const float32_t twiddleCoef_rfft_64[64] = { +const float32_t twiddleCoef_rfft_64[64] ARM_DSP_TABLE_ATTRIBUTE = { 0.000000000000000f, 1.000000000000000f, 0.098017140329561f, 0.995184726672197f, 0.195090322016128f, 0.980785280403230f, @@ -30871,7 +30871,7 @@ const float32_t twiddleCoef_rfft_64[64] = { 0.098017140329561f, -0.995184726672197f }; -const float32_t twiddleCoef_rfft_128[128] = { +const float32_t twiddleCoef_rfft_128[128] ARM_DSP_TABLE_ATTRIBUTE = { 0.000000000f, 1.000000000f, 0.049067674f, 0.998795456f, 0.098017140f, 0.995184727f, @@ -30938,7 +30938,7 @@ const float32_t twiddleCoef_rfft_128[128] = { 0.049067674f, -0.998795456f }; -const float32_t twiddleCoef_rfft_256[256] = { +const float32_t twiddleCoef_rfft_256[256] ARM_DSP_TABLE_ATTRIBUTE = { 0.000000000f, 1.000000000f, 0.024541229f, 0.999698819f, 0.049067674f, 0.998795456f, @@ -31069,7 +31069,7 @@ const float32_t twiddleCoef_rfft_256[256] = { 0.024541229f, -0.999698819f }; -const float32_t twiddleCoef_rfft_512[512] = { +const float32_t twiddleCoef_rfft_512[512] ARM_DSP_TABLE_ATTRIBUTE = { 0.000000000f, 1.000000000f, 0.012271538f, 0.999924702f, 0.024541229f, 0.999698819f, @@ -31328,7 +31328,7 @@ const float32_t twiddleCoef_rfft_512[512] = { 0.012271538f, -0.999924702f }; -const float32_t twiddleCoef_rfft_1024[1024] = { +const float32_t twiddleCoef_rfft_1024[1024] ARM_DSP_TABLE_ATTRIBUTE = { 0.000000000f, 1.000000000f, 0.006135885f, 0.999981175f, 0.012271538f, 0.999924702f, @@ -31843,7 +31843,7 @@ const float32_t twiddleCoef_rfft_1024[1024] = { 0.006135885f, -0.999981175f }; -const float32_t twiddleCoef_rfft_2048[2048] = { +const float32_t twiddleCoef_rfft_2048[2048] ARM_DSP_TABLE_ATTRIBUTE = { 0.000000000f, 1.000000000f, 0.003067957f, 0.999995294f, 0.006135885f, 0.999981175f, @@ -32870,7 +32870,7 @@ const float32_t twiddleCoef_rfft_2048[2048] = { 0.003067957f, -0.999995294f }; -const float32_t twiddleCoef_rfft_4096[4096] = { +const float32_t twiddleCoef_rfft_4096[4096] ARM_DSP_TABLE_ATTRIBUTE = { 0.000000000f, 1.000000000f, 0.001533980f, 0.999998823f, 0.003067957f, 0.999995294f, @@ -34943,7 +34943,7 @@ const float32_t twiddleCoef_rfft_4096[4096] = { } */ -const float32_t realCoefA[8192] = { +const float32_t realCoefA[8192] ARM_DSP_TABLE_ATTRIBUTE = { 0.500000000000000f, -0.500000000000000f, 0.499616503715515f, -0.499999850988388f, 0.499233007431030f, -0.499999403953552f, 0.498849511146545f, -0.499998688697815f, 0.498466014862061f, -0.499997645616531f, 0.498082518577576f, -0.499996334314346f, @@ -37007,7 +37007,7 @@ const float32_t realCoefA[8192] = { } */ -const float32_t realCoefB[8192] = { +const float32_t realCoefB[8192] ARM_DSP_TABLE_ATTRIBUTE = { 0.500000000000000f, 0.500000000000000f, 0.500383496284485f, 0.499999850988388f, 0.500766992568970f, 0.499999403953552f, 0.501150488853455f, 0.499998688697815f, 0.501533985137939f, 0.499997645616531f, 0.501917481422424f, 0.499996334314346f, @@ -39072,7 +39072,7 @@ const float32_t realCoefB[8192] = { Convert to fixed point Q31 format round(pATable[i] * pow(2, 31)) */ -const q31_t realCoefAQ31[8192] = { +const q31_t realCoefAQ31[8192] ARM_DSP_TABLE_ATTRIBUTE = { (q31_t)0x40000000, (q31_t)0xc0000000, (q31_t)0x3ff36f02, (q31_t)0xc000013c, (q31_t)0x3fe6de05, (q31_t)0xc00004ef, (q31_t)0x3fda4d09, (q31_t)0xc0000b1a, (q31_t)0x3fcdbc0f, (q31_t)0xc00013bd, (q31_t)0x3fc12b16, (q31_t)0xc0001ed8, @@ -41139,7 +41139,7 @@ const q31_t realCoefAQ31[8192] = { round(pBTable[i] * pow(2, 31)) */ -const q31_t realCoefBQ31[8192] = { +const q31_t realCoefBQ31[8192] ARM_DSP_TABLE_ATTRIBUTE = { (q31_t)0x40000000, (q31_t)0x40000000, (q31_t)0x400c90fe, (q31_t)0x3ffffec4, (q31_t)0x401921fb, (q31_t)0x3ffffb11, (q31_t)0x4025b2f7, (q31_t)0x3ffff4e6, (q31_t)0x403243f1, (q31_t)0x3fffec43, (q31_t)0x403ed4ea, (q31_t)0x3fffe128, @@ -43204,7 +43204,7 @@ const q31_t realCoefBQ31[8192] = { Convert to fixed point Q15 format round(pATable[i] * pow(2, 15)) */ -const q15_t __ALIGNED(4) realCoefAQ15[8192] = { +const q15_t __ALIGNED(4) realCoefAQ15[8192] ARM_DSP_TABLE_ATTRIBUTE = { (q15_t)0x4000, (q15_t)0xc000, (q15_t)0x3ff3, (q15_t)0xc000, (q15_t)0x3fe7, (q15_t)0xc000, (q15_t)0x3fda, (q15_t)0xc000, (q15_t)0x3fce, (q15_t)0xc000, (q15_t)0x3fc1, (q15_t)0xc000, (q15_t)0x3fb5, (q15_t)0xc000, (q15_t)0x3fa8, (q15_t)0xc000, (q15_t)0x3f9b, (q15_t)0xc000, (q15_t)0x3f8f, (q15_t)0xc000, (q15_t)0x3f82, (q15_t)0xc000, (q15_t)0x3f76, (q15_t)0xc001, @@ -44245,7 +44245,7 @@ const q15_t __ALIGNED(4) realCoefAQ15[8192] = { Convert to fixed point Q15 format round(pBTable[i] * pow(2, 15)) */ -const q15_t __ALIGNED(4) realCoefBQ15[8192] = { +const q15_t __ALIGNED(4) realCoefBQ15[8192] ARM_DSP_TABLE_ATTRIBUTE = { (q15_t)0x4000, (q15_t)0x4000, (q15_t)0x400d, (q15_t)0x4000, (q15_t)0x4019, (q15_t)0x4000, (q15_t)0x4026, (q15_t)0x4000, (q15_t)0x4032, (q15_t)0x4000, (q15_t)0x403f, (q15_t)0x4000, (q15_t)0x404b, (q15_t)0x4000, (q15_t)0x4058, (q15_t)0x4000, (q15_t)0x4065, (q15_t)0x4000, (q15_t)0x4071, (q15_t)0x4000, (q15_t)0x407e, (q15_t)0x4000, (q15_t)0x408a, (q15_t)0x3fff, @@ -69801,7 +69801,7 @@ const q15_t __ALIGNED(4) realCoefBQ15[8192] = { /** @brief Q15 table for reciprocal */ -const q15_t __ALIGNED(4) armRecipTableQ15[64] = { +const q15_t __ALIGNED(4) armRecipTableQ15[64] ARM_DSP_TABLE_ATTRIBUTE = { 0x7F03, 0x7D13, 0x7B31, 0x795E, 0x7798, 0x75E0, 0x7434, 0x7294, 0x70FF, 0x6F76, 0x6DF6, 0x6C82, 0x6B16, 0x69B5, 0x685C, 0x670C, 0x65C4, 0x6484, @@ -69820,7 +69820,7 @@ const q15_t __ALIGNED(4) armRecipTableQ15[64] = { /** @brief Q31 table for reciprocal */ -const q31_t armRecipTableQ31[64] = { +const q31_t armRecipTableQ31[64] ARM_DSP_TABLE_ATTRIBUTE = { 0x7F03F03F, 0x7D137420, 0x7B31E739, 0x795E9F94, 0x7798FD29, 0x75E06928, 0x7434554D, 0x72943B4B, 0x70FF9C40, 0x6F760031, 0x6DF6F593, 0x6C8210E3, 0x6B16EC3A, 0x69B526F6, 0x685C655F, 0x670C505D, 0x65C4952D, 0x6484E519, @@ -69847,7 +69847,7 @@ const q31_t armRecipTableQ31[64] = { @par where PI value is 3.14159265358979 */ -const float32_t sinTable_f32[FAST_MATH_TABLE_SIZE + 1] = { +const float32_t sinTable_f32[FAST_MATH_TABLE_SIZE + 1] ARM_DSP_TABLE_ATTRIBUTE = { 0.00000000f, 0.01227154f, 0.02454123f, 0.03680722f, 0.04906767f, 0.06132074f, 0.07356456f, 0.08579731f, 0.09801714f, 0.11022221f, 0.12241068f, 0.13458071f, 0.14673047f, 0.15885814f, 0.17096189f, 0.18303989f, 0.19509032f, 0.20711138f, @@ -69962,7 +69962,7 @@ const float32_t sinTable_f32[FAST_MATH_TABLE_SIZE + 1] = { Finally, round to the nearest integer value: sinTable[i] += (sinTable[i] > 0 ? 0.5 : -0.5); */ -const q31_t sinTable_q31[FAST_MATH_TABLE_SIZE + 1] = { +const q31_t sinTable_q31[FAST_MATH_TABLE_SIZE + 1] ARM_DSP_TABLE_ATTRIBUTE = { 0L, 26352928L, 52701887L, 79042909L, 105372028L, 131685278L, 157978697L, 184248325L, 210490206L, 236700388L, 262874923L, 289009871L, 315101295L, 341145265L, 367137861L, 393075166L, 418953276L, 444768294L, 470516330L, @@ -70075,7 +70075,7 @@ const q31_t sinTable_q31[FAST_MATH_TABLE_SIZE + 1] = { Finally, round to the nearest integer value: sinTable[i] += (sinTable[i] > 0 ? 0.5 :-0.5); */ -const q15_t sinTable_q15[FAST_MATH_TABLE_SIZE + 1] = { +const q15_t sinTable_q15[FAST_MATH_TABLE_SIZE + 1] ARM_DSP_TABLE_ATTRIBUTE = { 0, 402, 804, 1206, 1608, 2009, 2411, 2811, 3212, 3612, 4011, 4410, 4808, 5205, 5602, 5998, 6393, 6787, 7180, 7571, 7962, 8351, 8740, 9127, 9512, 9896, 10279, 10660, 11039, 11417, 11793, 12167, 12540, 12910, 13279, @@ -70133,7 +70133,7 @@ const q15_t sinTable_q15[FAST_MATH_TABLE_SIZE + 1] = { #if (defined(ARM_MATH_MVEI) || defined(ARM_MATH_HELIUM)) && !defined(ARM_MATH_AUTOVECTORIZE) -const q31_t sqrtTable_Q31[256] = { +const q31_t sqrtTable_Q31[256] ARM_DSP_TABLE_ATTRIBUTE = { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @@ -70192,7 +70192,7 @@ const q31_t sqrtTable_Q31[256] = { 0x306123cc, 0x1061e8e6, 0x30304878, 0x10307919 }; -const q15_t sqrtTable_Q15[256] = { +const q15_t sqrtTable_Q15[256] ARM_DSP_TABLE_ATTRIBUTE = { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @@ -70257,7 +70257,7 @@ const q15_t sqrtTable_Q15[256] = { #define B6(n) B4(n) , B4(n + 1), B4(n + 1), B4(n + 2) // Lookup table that store the reverse of each table -const unsigned char hwLUT[256] = { B6(0), B6(1), B6(1), B6(2) }; +const unsigned char hwLUT[256] ARM_DSP_TABLE_ATTRIBUTE = { B6(0), B6(1), B6(1), B6(2) }; #endif /* @@ -70274,20 +70274,20 @@ With[{q = 15, nb = 4, q12quarter = 16^^2000}, ] // CopyToClipboard */ -const q31_t sqrt_initial_lut_q31[32]={536870912, 506166750, 480191942, 457845052, 438353264, 421156193, \ +const q31_t sqrt_initial_lut_q31[32] ARM_DSP_TABLE_ATTRIBUTE = {536870912, 506166750, 480191942, 457845052, 438353264, 421156193, \ 405836263, 392075079, 379625062, 368290407, 357913941, 348367849, \ 339546978, 331363921, 323745341, 316629190, 309962566, 303700050, \ 297802400, 292235509, 286969573, 281978417, 277238947, 272730696, \ 268435456, 264336964, 260420644, 256673389, 253083375, 249639903, \ 246333269, 243154642}; -const q15_t sqrt_initial_lut_q15[16]={8192, 7327, 6689, 6193, 5793, 5461, 5181, 4940, 4730, 4544, 4379, \ +const q15_t sqrt_initial_lut_q15[16] ARM_DSP_TABLE_ATTRIBUTE ={8192, 7327, 6689, 6193, 5793, 5461, 5181, 4940, 4730, 4544, 4379, \ 4230, 4096, 3974, 3862, 3759}; #if (defined(ARM_MATH_MVEF) || defined(ARM_MATH_HELIUM)) && !defined(ARM_MATH_AUTOVECTORIZE) -const float32_t exp_tab[8] = { +const float32_t exp_tab[8] ARM_DSP_TABLE_ATTRIBUTE = { (1.f), (0.0416598916054f), (0.500000596046f), @@ -70298,7 +70298,7 @@ const float32_t exp_tab[8] = { (0.000195780929062f), }; -const float32_t __logf_lut_f32[8] = { +const float32_t __logf_lut_f32[8] ARM_DSP_TABLE_ATTRIBUTE = { -2.295614848256274, /*p0*/ -2.470711633419806, /*p4*/ -5.686926051100417, /*p2*/ diff --git a/Source/CommonTables/arm_common_tables_f16.c b/Source/CommonTables/arm_common_tables_f16.c index 05ed459d1..5e1792de7 100755 --- a/Source/CommonTables/arm_common_tables_f16.c +++ b/Source/CommonTables/arm_common_tables_f16.c @@ -64,7 +64,7 @@ * Cos and Sin values are in interleaved fashion * */ -const float16_t twiddleCoefF16_16[32] = { +const float16_t twiddleCoefF16_16[32] ARM_DSP_TABLE_ATTRIBUTE = { (float16_t)1.000000000f, (float16_t)0.000000000f, (float16_t)0.923879533f, (float16_t)0.382683432f, (float16_t)0.707106781f, (float16_t)0.707106781f, @@ -99,7 +99,7 @@ const float16_t twiddleCoefF16_16[32] = { * Cos and Sin values are in interleaved fashion * */ -const float16_t twiddleCoefF16_32[64] = { +const float16_t twiddleCoefF16_32[64] ARM_DSP_TABLE_ATTRIBUTE = { (float16_t)1.000000000f, (float16_t)0.000000000f, (float16_t)0.980785280f, (float16_t)0.195090322f, (float16_t)0.923879533f, (float16_t)0.382683432f, @@ -150,7 +150,7 @@ const float16_t twiddleCoefF16_32[64] = { * Cos and Sin values are in interleaved fashion * */ -const float16_t twiddleCoefF16_64[128] = { +const float16_t twiddleCoefF16_64[128] ARM_DSP_TABLE_ATTRIBUTE = { (float16_t)1.000000000f, (float16_t)0.000000000f, (float16_t)0.995184727f, (float16_t)0.098017140f, (float16_t)0.980785280f, (float16_t)0.195090322f, @@ -233,7 +233,7 @@ const float16_t twiddleCoefF16_64[128] = { * */ -const float16_t twiddleCoefF16_128[256] = { +const float16_t twiddleCoefF16_128[256] ARM_DSP_TABLE_ATTRIBUTE = { (float16_t)1.000000000f, (float16_t)0.000000000f, (float16_t)0.998795456f, (float16_t)0.049067674f, (float16_t)0.995184727f, (float16_t)0.098017140f, @@ -379,7 +379,7 @@ const float16_t twiddleCoefF16_128[256] = { * Cos and Sin values are in interleaved fashion * */ -const float16_t twiddleCoefF16_256[512] = { +const float16_t twiddleCoefF16_256[512] ARM_DSP_TABLE_ATTRIBUTE = { (float16_t)1.000000000f, (float16_t)0.000000000f, (float16_t)0.999698819f, (float16_t)0.024541229f, (float16_t)0.998795456f, (float16_t)0.049067674f, @@ -653,7 +653,7 @@ const float16_t twiddleCoefF16_256[512] = { * Cos and Sin values are in interleaved fashion * */ -const float16_t twiddleCoefF16_512[1024] = { +const float16_t twiddleCoefF16_512[1024] ARM_DSP_TABLE_ATTRIBUTE = { (float16_t)1.000000000f, (float16_t)0.000000000f, (float16_t)0.999924702f, (float16_t)0.012271538f, (float16_t)0.999698819f, (float16_t)0.024541229f, @@ -1183,7 +1183,7 @@ const float16_t twiddleCoefF16_512[1024] = { * Cos and Sin values are in interleaved fashion * */ -const float16_t twiddleCoefF16_1024[2048] = { +const float16_t twiddleCoefF16_1024[2048] ARM_DSP_TABLE_ATTRIBUTE = { (float16_t)1.000000000f, (float16_t)0.000000000f, (float16_t)0.999981175f, (float16_t)0.006135885f, (float16_t)0.999924702f, (float16_t)0.012271538f, @@ -2225,7 +2225,7 @@ const float16_t twiddleCoefF16_1024[2048] = { * Cos and Sin values are in interleaved fashion * */ -const float16_t twiddleCoefF16_2048[4096] = { +const float16_t twiddleCoefF16_2048[4096] ARM_DSP_TABLE_ATTRIBUTE = { (float16_t)1.000000000f, (float16_t)0.000000000f, (float16_t)0.999995294f, (float16_t)0.003067957f, (float16_t)0.999981175f, (float16_t)0.006135885f, @@ -4291,7 +4291,7 @@ const float16_t twiddleCoefF16_2048[4096] = { * Cos and Sin values are in interleaved fashion * */ -const float16_t twiddleCoefF16_4096[8192] = { +const float16_t twiddleCoefF16_4096[8192] ARM_DSP_TABLE_ATTRIBUTE = { (float16_t)1.000000000f, (float16_t)0.000000000f, (float16_t)0.999998823f, (float16_t)0.001533980f, (float16_t)0.999995294f, (float16_t)0.003067957f, @@ -8398,7 +8398,7 @@ const float16_t twiddleCoefF16_4096[8192] = { @par Real and Imag values are in interleaved fashion */ -const float16_t twiddleCoefF16_rfft_32[32] = { +const float16_t twiddleCoefF16_rfft_32[32] ARM_DSP_TABLE_ATTRIBUTE = { (float16_t)0.000000000f, (float16_t)1.000000000f, (float16_t)0.195090322f, (float16_t)0.980785280f, (float16_t)0.382683432f, (float16_t)0.923879533f, @@ -8417,7 +8417,7 @@ const float16_t twiddleCoefF16_rfft_32[32] = { (float16_t)0.195090322f, (float16_t)-0.980785280f }; -const float16_t twiddleCoefF16_rfft_64[64] = { +const float16_t twiddleCoefF16_rfft_64[64] ARM_DSP_TABLE_ATTRIBUTE = { (float16_t)0.000000000000000f, (float16_t)1.000000000000000f, (float16_t)0.098017140329561f, (float16_t)0.995184726672197f, (float16_t)0.195090322016128f, (float16_t)0.980785280403230f, @@ -8452,7 +8452,7 @@ const float16_t twiddleCoefF16_rfft_64[64] = { (float16_t)0.098017140329561f, (float16_t)-0.995184726672197f }; -const float16_t twiddleCoefF16_rfft_128[128] = { +const float16_t twiddleCoefF16_rfft_128[128] ARM_DSP_TABLE_ATTRIBUTE = { (float16_t)0.000000000f, (float16_t)1.000000000f, (float16_t)0.049067674f, (float16_t)0.998795456f, (float16_t)0.098017140f, (float16_t)0.995184727f, @@ -8519,7 +8519,7 @@ const float16_t twiddleCoefF16_rfft_128[128] = { (float16_t)0.049067674f, (float16_t)-0.998795456f }; -const float16_t twiddleCoefF16_rfft_256[256] = { +const float16_t twiddleCoefF16_rfft_256[256] ARM_DSP_TABLE_ATTRIBUTE = { (float16_t)0.000000000f, (float16_t)1.000000000f, (float16_t)0.024541229f, (float16_t)0.999698819f, (float16_t)0.049067674f, (float16_t)0.998795456f, @@ -8650,7 +8650,7 @@ const float16_t twiddleCoefF16_rfft_256[256] = { (float16_t)0.024541229f, (float16_t)-0.999698819f }; -const float16_t twiddleCoefF16_rfft_512[512] = { +const float16_t twiddleCoefF16_rfft_512[512] ARM_DSP_TABLE_ATTRIBUTE = { (float16_t)0.000000000f, (float16_t)1.000000000f, (float16_t)0.012271538f, (float16_t)0.999924702f, (float16_t)0.024541229f, (float16_t)0.999698819f, @@ -8909,7 +8909,7 @@ const float16_t twiddleCoefF16_rfft_512[512] = { (float16_t)0.012271538f, (float16_t)-0.999924702f }; -const float16_t twiddleCoefF16_rfft_1024[1024] = { +const float16_t twiddleCoefF16_rfft_1024[1024] ARM_DSP_TABLE_ATTRIBUTE = { (float16_t)0.000000000f, (float16_t)1.000000000f, (float16_t)0.006135885f, (float16_t)0.999981175f, (float16_t)0.012271538f, (float16_t)0.999924702f, @@ -9424,7 +9424,7 @@ const float16_t twiddleCoefF16_rfft_1024[1024] = { (float16_t)0.006135885f, (float16_t)-0.999981175f }; -const float16_t twiddleCoefF16_rfft_2048[2048] = { +const float16_t twiddleCoefF16_rfft_2048[2048] ARM_DSP_TABLE_ATTRIBUTE = { (float16_t)0.000000000f, (float16_t)1.000000000f, (float16_t)0.003067957f, (float16_t)0.999995294f, (float16_t)0.006135885f, (float16_t)0.999981175f, @@ -10451,7 +10451,7 @@ const float16_t twiddleCoefF16_rfft_2048[2048] = { (float16_t)0.003067957f, (float16_t)-0.999995294f }; -const float16_t twiddleCoefF16_rfft_4096[4096] = { +const float16_t twiddleCoefF16_rfft_4096[4096] ARM_DSP_TABLE_ATTRIBUTE = { (float16_t)0.000000000f, (float16_t)1.000000000f, (float16_t)0.001533980f, (float16_t)0.999998823f, (float16_t)0.003067957f, (float16_t)0.999995294f, @@ -12504,7 +12504,7 @@ const float16_t twiddleCoefF16_rfft_4096[4096] = { #if (defined(ARM_MATH_MVEF) || defined(ARM_MATH_HELIUM)) && !defined(ARM_MATH_AUTOVECTORIZE) -const float16_t exp_tab_f16[8] = { +const float16_t exp_tab_f16[8] ARM_DSP_TABLE_ATTRIBUTE = { (1.f16), (0.0416598916054f16), (0.500000596046f16), @@ -12515,7 +12515,7 @@ const float16_t exp_tab_f16[8] = { (0.000195780929062f16), }; -const float16_t __logf_lut_f16[8] = { +const float16_t __logf_lut_f16[8] ARM_DSP_TABLE_ATTRIBUTE = { -2.295614848256274f16, /*p0*/ -2.470711633419806f16, /*p4*/ -5.686926051100417f16, /*p2*/ diff --git a/Source/CommonTables/arm_const_structs.c b/Source/CommonTables/arm_const_structs.c index ec78dc15d..e17661c50 100644 --- a/Source/CommonTables/arm_const_structs.c +++ b/Source/CommonTables/arm_const_structs.c @@ -36,39 +36,39 @@ for compilation. */ /* Floating-point structs */ -const arm_cfft_instance_f64 arm_cfft_sR_f64_len16 = { +const arm_cfft_instance_f64 arm_cfft_sR_f64_len16 ARM_DSP_TABLE_ATTRIBUTE = { 16, (const float64_t *)twiddleCoefF64_16, armBitRevIndexTableF64_16, ARMBITREVINDEXTABLEF64_16_TABLE_LENGTH }; -const arm_cfft_instance_f64 arm_cfft_sR_f64_len32 = { +const arm_cfft_instance_f64 arm_cfft_sR_f64_len32 ARM_DSP_TABLE_ATTRIBUTE = { 32, (const float64_t *)twiddleCoefF64_32, armBitRevIndexTableF64_32, ARMBITREVINDEXTABLEF64_32_TABLE_LENGTH }; -const arm_cfft_instance_f64 arm_cfft_sR_f64_len64 = { +const arm_cfft_instance_f64 arm_cfft_sR_f64_len64 ARM_DSP_TABLE_ATTRIBUTE = { 64, (const float64_t *)twiddleCoefF64_64, armBitRevIndexTableF64_64, ARMBITREVINDEXTABLEF64_64_TABLE_LENGTH }; -const arm_cfft_instance_f64 arm_cfft_sR_f64_len128 = { +const arm_cfft_instance_f64 arm_cfft_sR_f64_len128 ARM_DSP_TABLE_ATTRIBUTE = { 128, (const float64_t *)twiddleCoefF64_128, armBitRevIndexTableF64_128, ARMBITREVINDEXTABLEF64_128_TABLE_LENGTH }; -const arm_cfft_instance_f64 arm_cfft_sR_f64_len256 = { +const arm_cfft_instance_f64 arm_cfft_sR_f64_len256 ARM_DSP_TABLE_ATTRIBUTE = { 256, (const float64_t *)twiddleCoefF64_256, armBitRevIndexTableF64_256, ARMBITREVINDEXTABLEF64_256_TABLE_LENGTH }; -const arm_cfft_instance_f64 arm_cfft_sR_f64_len512 = { +const arm_cfft_instance_f64 arm_cfft_sR_f64_len512 ARM_DSP_TABLE_ATTRIBUTE = { 512, (const float64_t *)twiddleCoefF64_512, armBitRevIndexTableF64_512, ARMBITREVINDEXTABLEF64_512_TABLE_LENGTH }; -const arm_cfft_instance_f64 arm_cfft_sR_f64_len1024 = { +const arm_cfft_instance_f64 arm_cfft_sR_f64_len1024 ARM_DSP_TABLE_ATTRIBUTE = { 1024, (const float64_t *)twiddleCoefF64_1024, armBitRevIndexTableF64_1024, ARMBITREVINDEXTABLEF64_1024_TABLE_LENGTH }; -const arm_cfft_instance_f64 arm_cfft_sR_f64_len2048 = { +const arm_cfft_instance_f64 arm_cfft_sR_f64_len2048 ARM_DSP_TABLE_ATTRIBUTE = { 2048, (const float64_t *)twiddleCoefF64_2048, armBitRevIndexTableF64_2048, ARMBITREVINDEXTABLEF64_2048_TABLE_LENGTH }; -const arm_cfft_instance_f64 arm_cfft_sR_f64_len4096 = { +const arm_cfft_instance_f64 arm_cfft_sR_f64_len4096 ARM_DSP_TABLE_ATTRIBUTE = { 4096, (const float64_t *)twiddleCoefF64_4096, armBitRevIndexTableF64_4096, ARMBITREVINDEXTABLEF64_4096_TABLE_LENGTH }; @@ -76,40 +76,40 @@ const arm_cfft_instance_f64 arm_cfft_sR_f64_len4096 = { #if !defined(ARM_MATH_MVEF) || defined(ARM_MATH_AUTOVECTORIZE) -const arm_cfft_instance_f32 arm_cfft_sR_f32_len16 = { +const arm_cfft_instance_f32 arm_cfft_sR_f32_len16 ARM_DSP_TABLE_ATTRIBUTE = { 16, twiddleCoef_16, armBitRevIndexTable16, ARMBITREVINDEXTABLE_16_TABLE_LENGTH }; -const arm_cfft_instance_f32 arm_cfft_sR_f32_len32 = { +const arm_cfft_instance_f32 arm_cfft_sR_f32_len32 ARM_DSP_TABLE_ATTRIBUTE = { 32, twiddleCoef_32, armBitRevIndexTable32, ARMBITREVINDEXTABLE_32_TABLE_LENGTH }; -const arm_cfft_instance_f32 arm_cfft_sR_f32_len64 = { +const arm_cfft_instance_f32 arm_cfft_sR_f32_len64 ARM_DSP_TABLE_ATTRIBUTE = { 64, twiddleCoef_64, armBitRevIndexTable64, ARMBITREVINDEXTABLE_64_TABLE_LENGTH }; -const arm_cfft_instance_f32 arm_cfft_sR_f32_len128 = { +const arm_cfft_instance_f32 arm_cfft_sR_f32_len128 ARM_DSP_TABLE_ATTRIBUTE = { 128, twiddleCoef_128, armBitRevIndexTable128, ARMBITREVINDEXTABLE_128_TABLE_LENGTH }; -const arm_cfft_instance_f32 arm_cfft_sR_f32_len256 = { +const arm_cfft_instance_f32 arm_cfft_sR_f32_len256 ARM_DSP_TABLE_ATTRIBUTE = { 256, twiddleCoef_256, armBitRevIndexTable256, ARMBITREVINDEXTABLE_256_TABLE_LENGTH }; -const arm_cfft_instance_f32 arm_cfft_sR_f32_len512 = { +const arm_cfft_instance_f32 arm_cfft_sR_f32_len512 ARM_DSP_TABLE_ATTRIBUTE = { 512, twiddleCoef_512, armBitRevIndexTable512, ARMBITREVINDEXTABLE_512_TABLE_LENGTH }; -const arm_cfft_instance_f32 arm_cfft_sR_f32_len1024 = { +const arm_cfft_instance_f32 arm_cfft_sR_f32_len1024 ARM_DSP_TABLE_ATTRIBUTE = { 1024, twiddleCoef_1024, armBitRevIndexTable1024, ARMBITREVINDEXTABLE_1024_TABLE_LENGTH }; -const arm_cfft_instance_f32 arm_cfft_sR_f32_len2048 = { +const arm_cfft_instance_f32 arm_cfft_sR_f32_len2048 ARM_DSP_TABLE_ATTRIBUTE = { 2048, twiddleCoef_2048, armBitRevIndexTable2048, ARMBITREVINDEXTABLE_2048_TABLE_LENGTH }; -const arm_cfft_instance_f32 arm_cfft_sR_f32_len4096 = { +const arm_cfft_instance_f32 arm_cfft_sR_f32_len4096 ARM_DSP_TABLE_ATTRIBUTE = { 4096, twiddleCoef_4096, armBitRevIndexTable4096, ARMBITREVINDEXTABLE_4096_TABLE_LENGTH }; @@ -129,76 +129,76 @@ For the MVE version, the new arm_cfft_init_f32 must be used. */ -const arm_cfft_instance_q31 arm_cfft_sR_q31_len16 = { +const arm_cfft_instance_q31 arm_cfft_sR_q31_len16 ARM_DSP_TABLE_ATTRIBUTE = { 16, twiddleCoef_16_q31, armBitRevIndexTable_fixed_16, ARMBITREVINDEXTABLE_FIXED_16_TABLE_LENGTH }; -const arm_cfft_instance_q31 arm_cfft_sR_q31_len32 = { +const arm_cfft_instance_q31 arm_cfft_sR_q31_len32 ARM_DSP_TABLE_ATTRIBUTE = { 32, twiddleCoef_32_q31, armBitRevIndexTable_fixed_32, ARMBITREVINDEXTABLE_FIXED_32_TABLE_LENGTH }; -const arm_cfft_instance_q31 arm_cfft_sR_q31_len64 = { +const arm_cfft_instance_q31 arm_cfft_sR_q31_len64 ARM_DSP_TABLE_ATTRIBUTE = { 64, twiddleCoef_64_q31, armBitRevIndexTable_fixed_64, ARMBITREVINDEXTABLE_FIXED_64_TABLE_LENGTH }; -const arm_cfft_instance_q31 arm_cfft_sR_q31_len128 = { +const arm_cfft_instance_q31 arm_cfft_sR_q31_len128 ARM_DSP_TABLE_ATTRIBUTE = { 128, twiddleCoef_128_q31, armBitRevIndexTable_fixed_128, ARMBITREVINDEXTABLE_FIXED_128_TABLE_LENGTH }; -const arm_cfft_instance_q31 arm_cfft_sR_q31_len256 = { +const arm_cfft_instance_q31 arm_cfft_sR_q31_len256 ARM_DSP_TABLE_ATTRIBUTE = { 256, twiddleCoef_256_q31, armBitRevIndexTable_fixed_256, ARMBITREVINDEXTABLE_FIXED_256_TABLE_LENGTH }; -const arm_cfft_instance_q31 arm_cfft_sR_q31_len512 = { +const arm_cfft_instance_q31 arm_cfft_sR_q31_len512 ARM_DSP_TABLE_ATTRIBUTE = { 512, twiddleCoef_512_q31, armBitRevIndexTable_fixed_512, ARMBITREVINDEXTABLE_FIXED_512_TABLE_LENGTH }; -const arm_cfft_instance_q31 arm_cfft_sR_q31_len1024 = { +const arm_cfft_instance_q31 arm_cfft_sR_q31_len1024 ARM_DSP_TABLE_ATTRIBUTE = { 1024, twiddleCoef_1024_q31, armBitRevIndexTable_fixed_1024, ARMBITREVINDEXTABLE_FIXED_1024_TABLE_LENGTH }; -const arm_cfft_instance_q31 arm_cfft_sR_q31_len2048 = { +const arm_cfft_instance_q31 arm_cfft_sR_q31_len2048 ARM_DSP_TABLE_ATTRIBUTE = { 2048, twiddleCoef_2048_q31, armBitRevIndexTable_fixed_2048, ARMBITREVINDEXTABLE_FIXED_2048_TABLE_LENGTH }; -const arm_cfft_instance_q31 arm_cfft_sR_q31_len4096 = { +const arm_cfft_instance_q31 arm_cfft_sR_q31_len4096 ARM_DSP_TABLE_ATTRIBUTE = { 4096, twiddleCoef_4096_q31, armBitRevIndexTable_fixed_4096, ARMBITREVINDEXTABLE_FIXED_4096_TABLE_LENGTH }; -const arm_cfft_instance_q15 arm_cfft_sR_q15_len16 = { +const arm_cfft_instance_q15 arm_cfft_sR_q15_len16 ARM_DSP_TABLE_ATTRIBUTE = { 16, twiddleCoef_16_q15, armBitRevIndexTable_fixed_16, ARMBITREVINDEXTABLE_FIXED_16_TABLE_LENGTH }; -const arm_cfft_instance_q15 arm_cfft_sR_q15_len32 = { +const arm_cfft_instance_q15 arm_cfft_sR_q15_len32 ARM_DSP_TABLE_ATTRIBUTE = { 32, twiddleCoef_32_q15, armBitRevIndexTable_fixed_32, ARMBITREVINDEXTABLE_FIXED_32_TABLE_LENGTH }; -const arm_cfft_instance_q15 arm_cfft_sR_q15_len64 = { +const arm_cfft_instance_q15 arm_cfft_sR_q15_len64 ARM_DSP_TABLE_ATTRIBUTE = { 64, twiddleCoef_64_q15, armBitRevIndexTable_fixed_64, ARMBITREVINDEXTABLE_FIXED_64_TABLE_LENGTH }; -const arm_cfft_instance_q15 arm_cfft_sR_q15_len128 = { +const arm_cfft_instance_q15 arm_cfft_sR_q15_len128 ARM_DSP_TABLE_ATTRIBUTE = { 128, twiddleCoef_128_q15, armBitRevIndexTable_fixed_128, ARMBITREVINDEXTABLE_FIXED_128_TABLE_LENGTH }; -const arm_cfft_instance_q15 arm_cfft_sR_q15_len256 = { +const arm_cfft_instance_q15 arm_cfft_sR_q15_len256 ARM_DSP_TABLE_ATTRIBUTE = { 256, twiddleCoef_256_q15, armBitRevIndexTable_fixed_256, ARMBITREVINDEXTABLE_FIXED_256_TABLE_LENGTH }; -const arm_cfft_instance_q15 arm_cfft_sR_q15_len512 = { +const arm_cfft_instance_q15 arm_cfft_sR_q15_len512 ARM_DSP_TABLE_ATTRIBUTE = { 512, twiddleCoef_512_q15, armBitRevIndexTable_fixed_512, ARMBITREVINDEXTABLE_FIXED_512_TABLE_LENGTH }; -const arm_cfft_instance_q15 arm_cfft_sR_q15_len1024 = { +const arm_cfft_instance_q15 arm_cfft_sR_q15_len1024 ARM_DSP_TABLE_ATTRIBUTE = { 1024, twiddleCoef_1024_q15, armBitRevIndexTable_fixed_1024, ARMBITREVINDEXTABLE_FIXED_1024_TABLE_LENGTH }; -const arm_cfft_instance_q15 arm_cfft_sR_q15_len2048 = { +const arm_cfft_instance_q15 arm_cfft_sR_q15_len2048 ARM_DSP_TABLE_ATTRIBUTE = { 2048, twiddleCoef_2048_q15, armBitRevIndexTable_fixed_2048, ARMBITREVINDEXTABLE_FIXED_2048_TABLE_LENGTH }; -const arm_cfft_instance_q15 arm_cfft_sR_q15_len4096 = { +const arm_cfft_instance_q15 arm_cfft_sR_q15_len4096 ARM_DSP_TABLE_ATTRIBUTE = { 4096, twiddleCoef_4096_q15, armBitRevIndexTable_fixed_4096, ARMBITREVINDEXTABLE_FIXED_4096_TABLE_LENGTH }; @@ -207,49 +207,49 @@ const arm_cfft_instance_q15 arm_cfft_sR_q15_len4096 = { /* Structure for real-value inputs */ /* Double precision strucs */ -const arm_rfft_fast_instance_f64 arm_rfft_fast_sR_f64_len32 = { +const arm_rfft_fast_instance_f64 arm_rfft_fast_sR_f64_len32 ARM_DSP_TABLE_ATTRIBUTE = { { 16, (const float64_t *)twiddleCoefF64_16, armBitRevIndexTableF64_16, ARMBITREVINDEXTABLEF64_16_TABLE_LENGTH }, 32U, (float64_t *)twiddleCoefF64_rfft_32 }; -const arm_rfft_fast_instance_f64 arm_rfft_fast_sR_f64_len64 = { +const arm_rfft_fast_instance_f64 arm_rfft_fast_sR_f64_len64 ARM_DSP_TABLE_ATTRIBUTE = { { 32, (const float64_t *)twiddleCoefF64_32, armBitRevIndexTableF64_32, ARMBITREVINDEXTABLEF64_32_TABLE_LENGTH }, 64U, (float64_t *)twiddleCoefF64_rfft_64 }; -const arm_rfft_fast_instance_f64 arm_rfft_fast_sR_f64_len128 = { +const arm_rfft_fast_instance_f64 arm_rfft_fast_sR_f64_len128 ARM_DSP_TABLE_ATTRIBUTE = { { 64, (const float64_t *)twiddleCoefF64_64, armBitRevIndexTableF64_64, ARMBITREVINDEXTABLEF64_64_TABLE_LENGTH }, 128U, (float64_t *)twiddleCoefF64_rfft_128 }; -const arm_rfft_fast_instance_f64 arm_rfft_fast_sR_f64_len256 = { +const arm_rfft_fast_instance_f64 arm_rfft_fast_sR_f64_len256 ARM_DSP_TABLE_ATTRIBUTE = { { 128, (const float64_t *)twiddleCoefF64_128, armBitRevIndexTableF64_128, ARMBITREVINDEXTABLEF64_128_TABLE_LENGTH }, 256U, (float64_t *)twiddleCoefF64_rfft_256 }; -const arm_rfft_fast_instance_f64 arm_rfft_fast_sR_f64_len512 = { +const arm_rfft_fast_instance_f64 arm_rfft_fast_sR_f64_len512 ARM_DSP_TABLE_ATTRIBUTE = { { 256, (const float64_t *)twiddleCoefF64_256, armBitRevIndexTableF64_256, ARMBITREVINDEXTABLEF64_256_TABLE_LENGTH }, 512U, (float64_t *)twiddleCoefF64_rfft_512 }; -const arm_rfft_fast_instance_f64 arm_rfft_fast_sR_f64_len1024 = { +const arm_rfft_fast_instance_f64 arm_rfft_fast_sR_f64_len1024 ARM_DSP_TABLE_ATTRIBUTE = { { 512, (const float64_t *)twiddleCoefF64_512, armBitRevIndexTableF64_512, ARMBITREVINDEXTABLEF64_512_TABLE_LENGTH }, 1024U, (float64_t *)twiddleCoefF64_rfft_1024 }; -const arm_rfft_fast_instance_f64 arm_rfft_fast_sR_f64_len2048 = { +const arm_rfft_fast_instance_f64 arm_rfft_fast_sR_f64_len2048 ARM_DSP_TABLE_ATTRIBUTE = { { 1024, (const float64_t *)twiddleCoefF64_1024, armBitRevIndexTableF64_1024, ARMBITREVINDEXTABLEF64_1024_TABLE_LENGTH }, 2048U, (float64_t *)twiddleCoefF64_rfft_2048 }; -const arm_rfft_fast_instance_f64 arm_rfft_fast_sR_f64_len4096 = { +const arm_rfft_fast_instance_f64 arm_rfft_fast_sR_f64_len4096 ARM_DSP_TABLE_ATTRIBUTE = { { 2048, (const float64_t *)twiddleCoefF64_2048, armBitRevIndexTableF64_2048, ARMBITREVINDEXTABLEF64_2048_TABLE_LENGTH }, 4096U, (float64_t *)twiddleCoefF64_rfft_4096 @@ -259,49 +259,49 @@ const arm_rfft_fast_instance_f64 arm_rfft_fast_sR_f64_len4096 = { #if !defined(ARM_MATH_MVEF) || defined(ARM_MATH_AUTOVECTORIZE) -const arm_rfft_fast_instance_f32 arm_rfft_fast_sR_f32_len32 = { +const arm_rfft_fast_instance_f32 arm_rfft_fast_sR_f32_len32 ARM_DSP_TABLE_ATTRIBUTE = { { 16, twiddleCoef_16, armBitRevIndexTable16, ARMBITREVINDEXTABLE_16_TABLE_LENGTH }, 32U, (float32_t *)twiddleCoef_rfft_32 }; -const arm_rfft_fast_instance_f32 arm_rfft_fast_sR_f32_len64 = { +const arm_rfft_fast_instance_f32 arm_rfft_fast_sR_f32_len64 ARM_DSP_TABLE_ATTRIBUTE = { { 32, twiddleCoef_32, armBitRevIndexTable32, ARMBITREVINDEXTABLE_32_TABLE_LENGTH }, 64U, (float32_t *)twiddleCoef_rfft_64 }; -const arm_rfft_fast_instance_f32 arm_rfft_fast_sR_f32_len128 = { +const arm_rfft_fast_instance_f32 arm_rfft_fast_sR_f32_len128 ARM_DSP_TABLE_ATTRIBUTE = { { 64, twiddleCoef_64, armBitRevIndexTable64, ARMBITREVINDEXTABLE_64_TABLE_LENGTH }, 128U, (float32_t *)twiddleCoef_rfft_128 }; -const arm_rfft_fast_instance_f32 arm_rfft_fast_sR_f32_len256 = { +const arm_rfft_fast_instance_f32 arm_rfft_fast_sR_f32_len256 ARM_DSP_TABLE_ATTRIBUTE = { { 128, twiddleCoef_128, armBitRevIndexTable128, ARMBITREVINDEXTABLE_128_TABLE_LENGTH }, 256U, (float32_t *)twiddleCoef_rfft_256 }; -const arm_rfft_fast_instance_f32 arm_rfft_fast_sR_f32_len512 = { +const arm_rfft_fast_instance_f32 arm_rfft_fast_sR_f32_len512 ARM_DSP_TABLE_ATTRIBUTE = { { 256, twiddleCoef_256, armBitRevIndexTable256, ARMBITREVINDEXTABLE_256_TABLE_LENGTH }, 512U, (float32_t *)twiddleCoef_rfft_512 }; -const arm_rfft_fast_instance_f32 arm_rfft_fast_sR_f32_len1024 = { +const arm_rfft_fast_instance_f32 arm_rfft_fast_sR_f32_len1024 ARM_DSP_TABLE_ATTRIBUTE = { { 512, twiddleCoef_512, armBitRevIndexTable512, ARMBITREVINDEXTABLE_512_TABLE_LENGTH }, 1024U, (float32_t *)twiddleCoef_rfft_1024 }; -const arm_rfft_fast_instance_f32 arm_rfft_fast_sR_f32_len2048 = { +const arm_rfft_fast_instance_f32 arm_rfft_fast_sR_f32_len2048 ARM_DSP_TABLE_ATTRIBUTE = { { 1024, twiddleCoef_1024, armBitRevIndexTable1024, ARMBITREVINDEXTABLE_1024_TABLE_LENGTH }, 2048U, (float32_t *)twiddleCoef_rfft_2048 }; -const arm_rfft_fast_instance_f32 arm_rfft_fast_sR_f32_len4096 = { +const arm_rfft_fast_instance_f32 arm_rfft_fast_sR_f32_len4096 ARM_DSP_TABLE_ATTRIBUTE = { { 2048, twiddleCoef_2048, armBitRevIndexTable2048, ARMBITREVINDEXTABLE_2048_TABLE_LENGTH }, 4096U, (float32_t *)twiddleCoef_rfft_4096 @@ -324,7 +324,7 @@ For the MVE version, the new arm_cfft_init_f32 must be used. */ -const arm_rfft_instance_q31 arm_rfft_sR_q31_len32 = { +const arm_rfft_instance_q31 arm_rfft_sR_q31_len32 ARM_DSP_TABLE_ATTRIBUTE = { 32U, 0, 1, @@ -334,7 +334,7 @@ const arm_rfft_instance_q31 arm_rfft_sR_q31_len32 = { &arm_cfft_sR_q31_len16 }; -const arm_rfft_instance_q31 arm_rfft_sR_q31_len64 = { +const arm_rfft_instance_q31 arm_rfft_sR_q31_len64 ARM_DSP_TABLE_ATTRIBUTE = { 64U, 0, 1, @@ -344,7 +344,7 @@ const arm_rfft_instance_q31 arm_rfft_sR_q31_len64 = { &arm_cfft_sR_q31_len32 }; -const arm_rfft_instance_q31 arm_rfft_sR_q31_len128 = { +const arm_rfft_instance_q31 arm_rfft_sR_q31_len128 ARM_DSP_TABLE_ATTRIBUTE = { 128U, 0, 1, @@ -354,7 +354,7 @@ const arm_rfft_instance_q31 arm_rfft_sR_q31_len128 = { &arm_cfft_sR_q31_len64 }; -const arm_rfft_instance_q31 arm_rfft_sR_q31_len256 = { +const arm_rfft_instance_q31 arm_rfft_sR_q31_len256 ARM_DSP_TABLE_ATTRIBUTE = { 256U, 0, 1, @@ -364,7 +364,7 @@ const arm_rfft_instance_q31 arm_rfft_sR_q31_len256 = { &arm_cfft_sR_q31_len128 }; -const arm_rfft_instance_q31 arm_rfft_sR_q31_len512 = { +const arm_rfft_instance_q31 arm_rfft_sR_q31_len512 ARM_DSP_TABLE_ATTRIBUTE = { 512U, 0, 1, @@ -374,7 +374,7 @@ const arm_rfft_instance_q31 arm_rfft_sR_q31_len512 = { &arm_cfft_sR_q31_len256 }; -const arm_rfft_instance_q31 arm_rfft_sR_q31_len1024 = { +const arm_rfft_instance_q31 arm_rfft_sR_q31_len1024 ARM_DSP_TABLE_ATTRIBUTE = { 1024U, 0, 1, @@ -384,7 +384,7 @@ const arm_rfft_instance_q31 arm_rfft_sR_q31_len1024 = { &arm_cfft_sR_q31_len512 }; -const arm_rfft_instance_q31 arm_rfft_sR_q31_len2048 = { +const arm_rfft_instance_q31 arm_rfft_sR_q31_len2048 ARM_DSP_TABLE_ATTRIBUTE = { 2048U, 0, 1, @@ -394,7 +394,7 @@ const arm_rfft_instance_q31 arm_rfft_sR_q31_len2048 = { &arm_cfft_sR_q31_len1024 }; -const arm_rfft_instance_q31 arm_rfft_sR_q31_len4096 = { +const arm_rfft_instance_q31 arm_rfft_sR_q31_len4096 ARM_DSP_TABLE_ATTRIBUTE = { 4096U, 0, 1, @@ -404,7 +404,7 @@ const arm_rfft_instance_q31 arm_rfft_sR_q31_len4096 = { &arm_cfft_sR_q31_len2048 }; -const arm_rfft_instance_q31 arm_rfft_sR_q31_len8192 = { +const arm_rfft_instance_q31 arm_rfft_sR_q31_len8192 ARM_DSP_TABLE_ATTRIBUTE = { 8192U, 0, 1, @@ -415,7 +415,7 @@ const arm_rfft_instance_q31 arm_rfft_sR_q31_len8192 = { }; /* q15_t */ -const arm_rfft_instance_q15 arm_rfft_sR_q15_len32 = { +const arm_rfft_instance_q15 arm_rfft_sR_q15_len32 ARM_DSP_TABLE_ATTRIBUTE = { 32U, 0, 1, @@ -425,7 +425,7 @@ const arm_rfft_instance_q15 arm_rfft_sR_q15_len32 = { &arm_cfft_sR_q15_len16 }; -const arm_rfft_instance_q15 arm_rfft_sR_q15_len64 = { +const arm_rfft_instance_q15 arm_rfft_sR_q15_len64 ARM_DSP_TABLE_ATTRIBUTE = { 64U, 0, 1, @@ -435,7 +435,7 @@ const arm_rfft_instance_q15 arm_rfft_sR_q15_len64 = { &arm_cfft_sR_q15_len32 }; -const arm_rfft_instance_q15 arm_rfft_sR_q15_len128 = { +const arm_rfft_instance_q15 arm_rfft_sR_q15_len128 ARM_DSP_TABLE_ATTRIBUTE = { 128U, 0, 1, @@ -445,7 +445,7 @@ const arm_rfft_instance_q15 arm_rfft_sR_q15_len128 = { &arm_cfft_sR_q15_len64 }; -const arm_rfft_instance_q15 arm_rfft_sR_q15_len256 = { +const arm_rfft_instance_q15 arm_rfft_sR_q15_len256 ARM_DSP_TABLE_ATTRIBUTE = { 256U, 0, 1, @@ -455,7 +455,7 @@ const arm_rfft_instance_q15 arm_rfft_sR_q15_len256 = { &arm_cfft_sR_q15_len128 }; -const arm_rfft_instance_q15 arm_rfft_sR_q15_len512 = { +const arm_rfft_instance_q15 arm_rfft_sR_q15_len512 ARM_DSP_TABLE_ATTRIBUTE = { 512U, 0, 1, @@ -465,7 +465,7 @@ const arm_rfft_instance_q15 arm_rfft_sR_q15_len512 = { &arm_cfft_sR_q15_len256 }; -const arm_rfft_instance_q15 arm_rfft_sR_q15_len1024 = { +const arm_rfft_instance_q15 arm_rfft_sR_q15_len1024 ARM_DSP_TABLE_ATTRIBUTE = { 1024U, 0, 1, @@ -475,7 +475,7 @@ const arm_rfft_instance_q15 arm_rfft_sR_q15_len1024 = { &arm_cfft_sR_q15_len512 }; -const arm_rfft_instance_q15 arm_rfft_sR_q15_len2048 = { +const arm_rfft_instance_q15 arm_rfft_sR_q15_len2048 ARM_DSP_TABLE_ATTRIBUTE = { 2048U, 0, 1, @@ -485,7 +485,7 @@ const arm_rfft_instance_q15 arm_rfft_sR_q15_len2048 = { &arm_cfft_sR_q15_len1024 }; -const arm_rfft_instance_q15 arm_rfft_sR_q15_len4096 = { +const arm_rfft_instance_q15 arm_rfft_sR_q15_len4096 ARM_DSP_TABLE_ATTRIBUTE = { 4096U, 0, 1, @@ -495,7 +495,7 @@ const arm_rfft_instance_q15 arm_rfft_sR_q15_len4096 = { &arm_cfft_sR_q15_len2048 }; -const arm_rfft_instance_q15 arm_rfft_sR_q15_len8192 = { +const arm_rfft_instance_q15 arm_rfft_sR_q15_len8192 ARM_DSP_TABLE_ATTRIBUTE = { 8192U, 0, 1, diff --git a/Source/CommonTables/arm_const_structs_f16.c b/Source/CommonTables/arm_const_structs_f16.c index 80e5510d4..a11c3d995 100755 --- a/Source/CommonTables/arm_const_structs_f16.c +++ b/Source/CommonTables/arm_const_structs_f16.c @@ -52,39 +52,39 @@ For the MVE version, the new arm_cfft_init_f16 must be used. #if !defined(__CC_ARM) -const arm_cfft_instance_f16 arm_cfft_sR_f16_len16 = { +const arm_cfft_instance_f16 arm_cfft_sR_f16_len16 ARM_DSP_TABLE_ATTRIBUTE = { 16, twiddleCoefF16_16, armBitRevIndexTable_fixed_16, ARMBITREVINDEXTABLE_FIXED_16_TABLE_LENGTH }; -const arm_cfft_instance_f16 arm_cfft_sR_f16_len32 = { +const arm_cfft_instance_f16 arm_cfft_sR_f16_len32 ARM_DSP_TABLE_ATTRIBUTE = { 32, twiddleCoefF16_32, armBitRevIndexTable_fixed_32, ARMBITREVINDEXTABLE_FIXED_32_TABLE_LENGTH }; -const arm_cfft_instance_f16 arm_cfft_sR_f16_len64 = { +const arm_cfft_instance_f16 arm_cfft_sR_f16_len64 ARM_DSP_TABLE_ATTRIBUTE = { 64, twiddleCoefF16_64, armBitRevIndexTable_fixed_64, ARMBITREVINDEXTABLE_FIXED_64_TABLE_LENGTH }; -const arm_cfft_instance_f16 arm_cfft_sR_f16_len128 = { +const arm_cfft_instance_f16 arm_cfft_sR_f16_len128 ARM_DSP_TABLE_ATTRIBUTE = { 128, twiddleCoefF16_128, armBitRevIndexTable_fixed_128, ARMBITREVINDEXTABLE_FIXED_128_TABLE_LENGTH }; -const arm_cfft_instance_f16 arm_cfft_sR_f16_len256 = { +const arm_cfft_instance_f16 arm_cfft_sR_f16_len256 ARM_DSP_TABLE_ATTRIBUTE = { 256, twiddleCoefF16_256, armBitRevIndexTable_fixed_256, ARMBITREVINDEXTABLE_FIXED_256_TABLE_LENGTH }; -const arm_cfft_instance_f16 arm_cfft_sR_f16_len512 = { +const arm_cfft_instance_f16 arm_cfft_sR_f16_len512 ARM_DSP_TABLE_ATTRIBUTE = { 512, twiddleCoefF16_512, armBitRevIndexTable_fixed_512, ARMBITREVINDEXTABLE_FIXED_512_TABLE_LENGTH }; -const arm_cfft_instance_f16 arm_cfft_sR_f16_len1024 = { +const arm_cfft_instance_f16 arm_cfft_sR_f16_len1024 ARM_DSP_TABLE_ATTRIBUTE = { 1024, twiddleCoefF16_1024, armBitRevIndexTable_fixed_1024, ARMBITREVINDEXTABLE_FIXED_1024_TABLE_LENGTH }; -const arm_cfft_instance_f16 arm_cfft_sR_f16_len2048 = { +const arm_cfft_instance_f16 arm_cfft_sR_f16_len2048 ARM_DSP_TABLE_ATTRIBUTE = { 2048, twiddleCoefF16_2048, armBitRevIndexTable_fixed_2048, ARMBITREVINDEXTABLE_FIXED_2048_TABLE_LENGTH }; -const arm_cfft_instance_f16 arm_cfft_sR_f16_len4096 = { +const arm_cfft_instance_f16 arm_cfft_sR_f16_len4096 ARM_DSP_TABLE_ATTRIBUTE = { 4096, twiddleCoefF16_4096, armBitRevIndexTable_fixed_4096, ARMBITREVINDEXTABLE_FIXED_4096_TABLE_LENGTH }; diff --git a/Source/CommonTables/arm_mve_tables.c b/Source/CommonTables/arm_mve_tables.c index 8c01c879d..406a3c4fe 100755 --- a/Source/CommonTables/arm_mve_tables.c +++ b/Source/CommonTables/arm_mve_tables.c @@ -36,42 +36,42 @@ -const uint32_t rearranged_twiddle_tab_stride1_arr_16_f32[2]={ +const uint32_t rearranged_twiddle_tab_stride1_arr_16_f32[2] ARM_DSP_TABLE_ATTRIBUTE ={ 0,0,}; -const uint32_t rearranged_twiddle_tab_stride2_arr_16_f32[2]={ +const uint32_t rearranged_twiddle_tab_stride2_arr_16_f32[2] ARM_DSP_TABLE_ATTRIBUTE ={ 0,0,}; -const uint32_t rearranged_twiddle_tab_stride3_arr_16_f32[2]={ +const uint32_t rearranged_twiddle_tab_stride3_arr_16_f32[2] ARM_DSP_TABLE_ATTRIBUTE ={ 0,0,}; -const float32_t rearranged_twiddle_stride1_16_f32[8]={ +const float32_t rearranged_twiddle_stride1_16_f32[8] ARM_DSP_TABLE_ATTRIBUTE ={ 1.00000000000000000000f,0.00000000000000000000f,0.92387950420379638672f, 0.38268342614173889160f,0.70710676908493041992f,0.70710676908493041992f, 0.38268342614173889160f,0.92387950420379638672f,}; -const float32_t rearranged_twiddle_stride2_16_f32[8]={ +const float32_t rearranged_twiddle_stride2_16_f32[8] ARM_DSP_TABLE_ATTRIBUTE ={ 1.00000000000000000000f,0.00000000000000000000f,0.70710676908493041992f, 0.70710676908493041992f,0.00000000000000006123f,1.00000000000000000000f, -0.70710676908493041992f,0.70710676908493041992f,}; -const float32_t rearranged_twiddle_stride3_16_f32[8]={ +const float32_t rearranged_twiddle_stride3_16_f32[8] ARM_DSP_TABLE_ATTRIBUTE ={ 1.00000000000000000000f,0.00000000000000000000f,0.38268342614173889160f, 0.92387950420379638672f,-0.70710676908493041992f,0.70710676908493041992f, -0.92387950420379638672f,-0.38268342614173889160f,}; -const uint32_t rearranged_twiddle_tab_stride1_arr_64_f32[3]={ +const uint32_t rearranged_twiddle_tab_stride1_arr_64_f32[3] ARM_DSP_TABLE_ATTRIBUTE ={ 0,32,0,}; -const uint32_t rearranged_twiddle_tab_stride2_arr_64_f32[3]={ +const uint32_t rearranged_twiddle_tab_stride2_arr_64_f32[3] ARM_DSP_TABLE_ATTRIBUTE ={ 0,32,0,}; -const uint32_t rearranged_twiddle_tab_stride3_arr_64_f32[3]={ +const uint32_t rearranged_twiddle_tab_stride3_arr_64_f32[3] ARM_DSP_TABLE_ATTRIBUTE ={ 0,32,0,}; -const float32_t rearranged_twiddle_stride1_64_f32[40]={ +const float32_t rearranged_twiddle_stride1_64_f32[40] ARM_DSP_TABLE_ATTRIBUTE ={ 1.00000000000000000000f,0.00000000000000000000f,0.99518471956253051758f, 0.09801714122295379639f,0.98078525066375732422f,0.19509032368659973145f, 0.95694035291671752930f,0.29028466343879699707f,0.92387950420379638672f, @@ -87,7 +87,7 @@ const float32_t rearranged_twiddle_stride1_64_f32[40]={ 0.70710676908493041992f,0.70710676908493041992f,0.38268342614173889160f, 0.92387950420379638672f,}; -const float32_t rearranged_twiddle_stride2_64_f32[40]={ +const float32_t rearranged_twiddle_stride2_64_f32[40] ARM_DSP_TABLE_ATTRIBUTE ={ 1.00000000000000000000f,0.00000000000000000000f,0.98078525066375732422f, 0.19509032368659973145f,0.92387950420379638672f,0.38268342614173889160f, 0.83146959543228149414f,0.55557024478912353516f,0.70710676908493041992f, @@ -103,7 +103,7 @@ const float32_t rearranged_twiddle_stride2_64_f32[40]={ 0.00000000000000006123f,1.00000000000000000000f,-0.70710676908493041992f, 0.70710676908493041992f,}; -const float32_t rearranged_twiddle_stride3_64_f32[40]={ +const float32_t rearranged_twiddle_stride3_64_f32[40] ARM_DSP_TABLE_ATTRIBUTE ={ 1.00000000000000000000f,0.00000000000000000000f,0.95694035291671752930f, 0.29028466343879699707f,0.83146959543228149414f,0.55557024478912353516f, 0.63439327478408813477f,0.77301043272018432617f,0.38268342614173889160f, @@ -120,16 +120,16 @@ const float32_t rearranged_twiddle_stride3_64_f32[40]={ -0.38268342614173889160f,}; -const uint32_t rearranged_twiddle_tab_stride1_arr_256_f32[4]={ +const uint32_t rearranged_twiddle_tab_stride1_arr_256_f32[4] ARM_DSP_TABLE_ATTRIBUTE ={ 0,128,160,0,}; -const uint32_t rearranged_twiddle_tab_stride2_arr_256_f32[4]={ +const uint32_t rearranged_twiddle_tab_stride2_arr_256_f32[4] ARM_DSP_TABLE_ATTRIBUTE ={ 0,128,160,0,}; -const uint32_t rearranged_twiddle_tab_stride3_arr_256_f32[4]={ +const uint32_t rearranged_twiddle_tab_stride3_arr_256_f32[4] ARM_DSP_TABLE_ATTRIBUTE ={ 0,128,160,0,}; -const float32_t rearranged_twiddle_stride1_256_f32[168]={ +const float32_t rearranged_twiddle_stride1_256_f32[168] ARM_DSP_TABLE_ATTRIBUTE ={ 1.00000000000000000000f,0.00000000000000000000f,0.99969881772994995117f, 0.02454122900962829590f,0.99879544973373413086f,0.04906767606735229492f, 0.99729043245315551758f,0.07356456667184829712f,0.99518471956253051758f, @@ -187,7 +187,7 @@ const float32_t rearranged_twiddle_stride1_256_f32[168]={ 0.92387950420379638672f,0.38268342614173889160f,0.70710676908493041992f, 0.70710676908493041992f,0.38268342614173889160f,0.92387950420379638672f,}; -const float32_t rearranged_twiddle_stride2_256_f32[168]={ +const float32_t rearranged_twiddle_stride2_256_f32[168] ARM_DSP_TABLE_ATTRIBUTE ={ 1.00000000000000000000f,0.00000000000000000000f,0.99879544973373413086f, 0.04906767606735229492f,0.99518471956253051758f,0.09801714122295379639f, 0.98917651176452636719f,0.14673046767711639404f,0.98078525066375732422f, @@ -245,7 +245,7 @@ const float32_t rearranged_twiddle_stride2_256_f32[168]={ 0.70710676908493041992f,0.70710676908493041992f,0.00000000000000006123f, 1.00000000000000000000f,-0.70710676908493041992f,0.70710676908493041992f,}; -const float32_t rearranged_twiddle_stride3_256_f32[168]={ +const float32_t rearranged_twiddle_stride3_256_f32[168] ARM_DSP_TABLE_ATTRIBUTE ={ 1.00000000000000000000f,0.00000000000000000000f,0.99729043245315551758f, 0.07356456667184829712f,0.98917651176452636719f,0.14673046767711639404f, 0.97570210695266723633f,0.21910123527050018311f,0.95694035291671752930f, @@ -305,16 +305,16 @@ const float32_t rearranged_twiddle_stride3_256_f32[168]={ -const uint32_t rearranged_twiddle_tab_stride1_arr_1024_f32[5]={ +const uint32_t rearranged_twiddle_tab_stride1_arr_1024_f32[5] ARM_DSP_TABLE_ATTRIBUTE ={ 0,512,640,672,0,}; -const uint32_t rearranged_twiddle_tab_stride2_arr_1024_f32[5]={ +const uint32_t rearranged_twiddle_tab_stride2_arr_1024_f32[5] ARM_DSP_TABLE_ATTRIBUTE ={ 0,512,640,672,0,}; -const uint32_t rearranged_twiddle_tab_stride3_arr_1024_f32[5]={ +const uint32_t rearranged_twiddle_tab_stride3_arr_1024_f32[5] ARM_DSP_TABLE_ATTRIBUTE ={ 0,512,640,672,0,}; -const float32_t rearranged_twiddle_stride1_1024_f32[680]={ +const float32_t rearranged_twiddle_stride1_1024_f32[680] ARM_DSP_TABLE_ATTRIBUTE ={ 1.00000000000000000000f,0.00000000000000000000f,0.99998116493225097656f, 0.00613588467240333557f,0.99992471933364868164f,0.01227153837680816650f, 0.99983060359954833984f,0.01840673014521598816f,0.99969881772994995117f, @@ -543,7 +543,7 @@ const float32_t rearranged_twiddle_stride1_1024_f32[680]={ 0.38268342614173889160f,0.70710676908493041992f,0.70710676908493041992f, 0.38268342614173889160f,0.92387950420379638672f,}; -const float32_t rearranged_twiddle_stride2_1024_f32[680]={ +const float32_t rearranged_twiddle_stride2_1024_f32[680] ARM_DSP_TABLE_ATTRIBUTE ={ 1.00000000000000000000f,0.00000000000000000000f,0.99992471933364868164f, 0.01227153837680816650f,0.99969881772994995117f,0.02454122900962829590f, 0.99932235479354858398f,0.03680722415447235107f,0.99879544973373413086f, @@ -772,7 +772,7 @@ const float32_t rearranged_twiddle_stride2_1024_f32[680]={ 0.70710676908493041992f,0.00000000000000006123f,1.00000000000000000000f, -0.70710676908493041992f,0.70710676908493041992f,}; -const float32_t rearranged_twiddle_stride3_1024_f32[680]={ +const float32_t rearranged_twiddle_stride3_1024_f32[680] ARM_DSP_TABLE_ATTRIBUTE ={ 1.00000000000000000000f,0.00000000000000000000f,0.99983060359954833984f, 0.01840673014521598816f,0.99932235479354858398f,0.03680722415447235107f, 0.99847555160522460938f,0.05519524589180946350f,0.99729043245315551758f, @@ -1003,16 +1003,16 @@ const float32_t rearranged_twiddle_stride3_1024_f32[680]={ -const uint32_t rearranged_twiddle_tab_stride1_arr_4096_f32[6]={ +const uint32_t rearranged_twiddle_tab_stride1_arr_4096_f32[6] ARM_DSP_TABLE_ATTRIBUTE ={ 0,2048,2560,2688,2720,0,}; -const uint32_t rearranged_twiddle_tab_stride2_arr_4096_f32[6]={ +const uint32_t rearranged_twiddle_tab_stride2_arr_4096_f32[6] ARM_DSP_TABLE_ATTRIBUTE ={ 0,2048,2560,2688,2720,0,}; -const uint32_t rearranged_twiddle_tab_stride3_arr_4096_f32[6]={ +const uint32_t rearranged_twiddle_tab_stride3_arr_4096_f32[6] ARM_DSP_TABLE_ATTRIBUTE ={ 0,2048,2560,2688,2720,0,}; -const float32_t rearranged_twiddle_stride1_4096_f32[2728]={ +const float32_t rearranged_twiddle_stride1_4096_f32[2728] ARM_DSP_TABLE_ATTRIBUTE ={ 1.00000000000000000000f,0.00000000000000000000f,0.99999880790710449219f, 0.00153398013208061457f,0.99999529123306274414f,0.00306795677170157433f, 0.99998939037322998047f,0.00460192607715725899f,0.99998116493225097656f, @@ -1924,7 +1924,7 @@ const float32_t rearranged_twiddle_stride1_4096_f32[2728]={ 0.70710676908493041992f,0.70710676908493041992f,0.38268342614173889160f, 0.92387950420379638672f,}; -const float32_t rearranged_twiddle_stride2_4096_f32[2728]={ +const float32_t rearranged_twiddle_stride2_4096_f32[2728] ARM_DSP_TABLE_ATTRIBUTE ={ 1.00000000000000000000f,0.00000000000000000000f,0.99999529123306274414f, 0.00306795677170157433f,0.99998116493225097656f,0.00613588467240333557f, 0.99995762109756469727f,0.00920375436544418335f,0.99992471933364868164f, @@ -2836,7 +2836,7 @@ const float32_t rearranged_twiddle_stride2_4096_f32[2728]={ 0.00000000000000006123f,1.00000000000000000000f,-0.70710676908493041992f, 0.70710676908493041992f,}; -float32_t rearranged_twiddle_stride3_4096_f32[2728]={ +const float32_t rearranged_twiddle_stride3_4096_f32[2728] ARM_DSP_TABLE_ATTRIBUTE ={ 1.00000000000000000000f,0.00000000000000000000f,0.99998939037322998047f, 0.00460192607715725899f,0.99995762109756469727f,0.00920375436544418335f, 0.99990469217300415039f,0.01380538847297430038f,0.99983060359954833984f, @@ -3756,39 +3756,39 @@ float32_t rearranged_twiddle_stride3_4096_f32[2728]={ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -const uint32_t rearranged_twiddle_tab_stride1_arr_16_q31[2]={ +const uint32_t rearranged_twiddle_tab_stride1_arr_16_q31[2] ARM_DSP_TABLE_ATTRIBUTE ={ 0,0,}; -const uint32_t rearranged_twiddle_tab_stride2_arr_16_q31[2]={ +const uint32_t rearranged_twiddle_tab_stride2_arr_16_q31[2] ARM_DSP_TABLE_ATTRIBUTE ={ 0,0,}; -const uint32_t rearranged_twiddle_tab_stride3_arr_16_q31[2]={ +const uint32_t rearranged_twiddle_tab_stride3_arr_16_q31[2] ARM_DSP_TABLE_ATTRIBUTE ={ 0,0,}; -const q31_t rearranged_twiddle_stride1_16_q31[8]={ +const q31_t rearranged_twiddle_stride1_16_q31[8] ARM_DSP_TABLE_ATTRIBUTE ={ 0x7FFFFFFF,0x00000000,0x7641AF3D,0xCF043AB3,0x5A82799A,0xA57D8666,0x30FBC54D, 0x89BE50C3,}; -const q31_t rearranged_twiddle_stride2_16_q31[8]={ +const q31_t rearranged_twiddle_stride2_16_q31[8] ARM_DSP_TABLE_ATTRIBUTE ={ 0x7FFFFFFF,0x00000000,0x5A82799A,0xA57D8666,0x00000000,0x80000000,0xA57D8666, 0xA57D8666,}; -const q31_t rearranged_twiddle_stride3_16_q31[8]={ +const q31_t rearranged_twiddle_stride3_16_q31[8] ARM_DSP_TABLE_ATTRIBUTE ={ 0x7FFFFFFF,0x00000000,0x30FBC54D,0x89BE50C3,0xA57D8666,0xA57D8666,0x89BE50C3, 0x30FBC54D,}; -const uint32_t rearranged_twiddle_tab_stride1_arr_64_q31[3]={ +const uint32_t rearranged_twiddle_tab_stride1_arr_64_q31[3] ARM_DSP_TABLE_ATTRIBUTE ={ 0,32,0,}; -const uint32_t rearranged_twiddle_tab_stride2_arr_64_q31[3]={ +const uint32_t rearranged_twiddle_tab_stride2_arr_64_q31[3] ARM_DSP_TABLE_ATTRIBUTE ={ 0,32,0,}; -const uint32_t rearranged_twiddle_tab_stride3_arr_64_q31[3]={ +const uint32_t rearranged_twiddle_tab_stride3_arr_64_q31[3] ARM_DSP_TABLE_ATTRIBUTE ={ 0,32,0,}; -const q31_t rearranged_twiddle_stride1_64_q31[40]={ +const q31_t rearranged_twiddle_stride1_64_q31[40] ARM_DSP_TABLE_ATTRIBUTE ={ 0x7FFFFFFF,0x00000000,0x7F62368F,0xF3742CA2,0x7D8A5F40,0xE70747C4,0x7A7D055B, 0xDAD7F3A2,0x7641AF3D,0xCF043AB3,0x70E2CBC6,0xC3A94590,0x6A6D98A4,0xB8E31319, 0x62F201AC,0xAECC336C,0x5A82799A,0xA57D8666,0x5133CC94,0x9D0DFE54,0x471CECE7, @@ -3796,7 +3796,7 @@ const q31_t rearranged_twiddle_stride1_64_q31[40]={ 0x18F8B83C,0x8275A0C0,0x0C8BD35E,0x809DC971,0x7FFFFFFF,0x00000000,0x7641AF3D, 0xCF043AB3,0x5A82799A,0xA57D8666,0x30FBC54D,0x89BE50C3,}; -const q31_t rearranged_twiddle_stride2_64_q31[40]={ +const q31_t rearranged_twiddle_stride2_64_q31[40] ARM_DSP_TABLE_ATTRIBUTE ={ 0x7FFFFFFF,0x00000000,0x7D8A5F40,0xE70747C4,0x7641AF3D,0xCF043AB3,0x6A6D98A4, 0xB8E31319,0x5A82799A,0xA57D8666,0x471CECE7,0x9592675C,0x30FBC54D,0x89BE50C3, 0x18F8B83C,0x8275A0C0,0x00000000,0x80000000,0xE70747C4,0x8275A0C0,0xCF043AB3, @@ -3804,7 +3804,7 @@ const q31_t rearranged_twiddle_stride2_64_q31[40]={ 0x89BE50C3,0xCF043AB3,0x8275A0C0,0xE70747C4,0x7FFFFFFF,0x00000000,0x5A82799A, 0xA57D8666,0x00000000,0x80000000,0xA57D8666,0xA57D8666,}; -const q31_t rearranged_twiddle_stride3_64_q31[40]={ +const q31_t rearranged_twiddle_stride3_64_q31[40] ARM_DSP_TABLE_ATTRIBUTE ={ 0x7FFFFFFF,0x00000000,0x7A7D055B,0xDAD7F3A2,0x6A6D98A4,0xB8E31319,0x5133CC94, 0x9D0DFE54,0x30FBC54D,0x89BE50C3,0x0C8BD35E,0x809DC971,0xE70747C4,0x8275A0C0, 0xC3A94590,0x8F1D343A,0xA57D8666,0xA57D8666,0x8F1D343A,0xC3A94590,0x8275A0C0, @@ -3814,16 +3814,16 @@ const q31_t rearranged_twiddle_stride3_64_q31[40]={ -const uint32_t rearranged_twiddle_tab_stride1_arr_256_q31[4]={ +const uint32_t rearranged_twiddle_tab_stride1_arr_256_q31[4] ARM_DSP_TABLE_ATTRIBUTE ={ 0,128,160,0,}; -const uint32_t rearranged_twiddle_tab_stride2_arr_256_q31[4]={ +const uint32_t rearranged_twiddle_tab_stride2_arr_256_q31[4] ARM_DSP_TABLE_ATTRIBUTE ={ 0,128,160,0,}; -const uint32_t rearranged_twiddle_tab_stride3_arr_256_q31[4]={ +const uint32_t rearranged_twiddle_tab_stride3_arr_256_q31[4] ARM_DSP_TABLE_ATTRIBUTE ={ 0,128,160,0,}; -const q31_t rearranged_twiddle_stride1_256_q31[168]={ +const q31_t rearranged_twiddle_stride1_256_q31[168] ARM_DSP_TABLE_ATTRIBUTE ={ 0x7FFFFFFF,0x00000000,0x7FF62182,0xFCDBD541,0x7FD8878E,0xF9B82684,0x7FA736B4, 0xF6956FB7,0x7F62368F,0xF3742CA2,0x7F0991C4,0xF054D8D5,0x7E9D55FC,0xED37EF91, 0x7E1D93EA,0xEA1DEBBB,0x7D8A5F40,0xE70747C4,0x7CE3CEB2,0xE3F47D96,0x7C29FBEE, @@ -3849,7 +3849,7 @@ const q31_t rearranged_twiddle_stride1_256_q31[168]={ 0x25280C5E,0x8582FAA5,0x18F8B83C,0x8275A0C0,0x0C8BD35E,0x809DC971,0x7FFFFFFF, 0x00000000,0x7641AF3D,0xCF043AB3,0x5A82799A,0xA57D8666,0x30FBC54D,0x89BE50C3,}; -const q31_t rearranged_twiddle_stride2_256_q31[168]={ +const q31_t rearranged_twiddle_stride2_256_q31[168] ARM_DSP_TABLE_ATTRIBUTE ={ 0x7FFFFFFF,0x00000000,0x7FD8878E,0xF9B82684,0x7F62368F,0xF3742CA2,0x7E9D55FC, 0xED37EF91,0x7D8A5F40,0xE70747C4,0x7C29FBEE,0xE0E60685,0x7A7D055B,0xDAD7F3A2, 0x78848414,0xD4E0CB15,0x7641AF3D,0xCF043AB3,0x73B5EBD1,0xC945DFEC,0x70E2CBC6, @@ -3875,7 +3875,7 @@ const q31_t rearranged_twiddle_stride2_256_q31[168]={ 0x9592675C,0xB8E31319,0x89BE50C3,0xCF043AB3,0x8275A0C0,0xE70747C4,0x7FFFFFFF, 0x00000000,0x5A82799A,0xA57D8666,0x00000000,0x80000000,0xA57D8666,0xA57D8666,}; -const q31_t rearranged_twiddle_stride3_256_q31[168]={ +const q31_t rearranged_twiddle_stride3_256_q31[168] ARM_DSP_TABLE_ATTRIBUTE ={ 0x7FFFFFFF,0x00000000,0x7FA736B4,0xF6956FB7,0x7E9D55FC,0xED37EF91,0x7CE3CEB2, 0xE3F47D96,0x7A7D055B,0xDAD7F3A2,0x776C4EDB,0xD1EEF59E,0x73B5EBD1,0xC945DFEC, 0x6F5F02B2,0xC0E8B648,0x6A6D98A4,0xB8E31319,0x64E88926,0xB140175B,0x5ED77C8A, @@ -3902,16 +3902,16 @@ const q31_t rearranged_twiddle_stride3_256_q31[168]={ 0x00000000,0x30FBC54D,0x89BE50C3,0xA57D8666,0xA57D8666,0x89BE50C3,0x30FBC54D,}; -const uint32_t rearranged_twiddle_tab_stride1_arr_1024_q31[5]={ +const uint32_t rearranged_twiddle_tab_stride1_arr_1024_q31[5] ARM_DSP_TABLE_ATTRIBUTE ={ 0,512,640,672,0,}; -const uint32_t rearranged_twiddle_tab_stride2_arr_1024_q31[5]={ +const uint32_t rearranged_twiddle_tab_stride2_arr_1024_q31[5] ARM_DSP_TABLE_ATTRIBUTE ={ 0,512,640,672,0,}; -const uint32_t rearranged_twiddle_tab_stride3_arr_1024_q31[5]={ +const uint32_t rearranged_twiddle_tab_stride3_arr_1024_q31[5] ARM_DSP_TABLE_ATTRIBUTE ={ 0,512,640,672,0,}; -const q31_t rearranged_twiddle_stride1_1024_q31[680]={ +const q31_t rearranged_twiddle_stride1_1024_q31[680] ARM_DSP_TABLE_ATTRIBUTE ={ 0x7FFFFFFF,0x00000000,0x7FFF6216,0xFF36F078,0x7FFD885A,0xFE6DE2E0,0x7FFA72D1, 0xFDA4D929,0x7FF62182,0xFCDBD541,0x7FF09478,0xFC12D91A,0x7FE9CBC0,0xFB49E6A3, 0x7FE1C76B,0xFA80FFCB,0x7FD8878E,0xF9B82684,0x7FCE0C3E,0xF8EF5CBB,0x7FC25596, @@ -4011,7 +4011,7 @@ const q31_t rearranged_twiddle_stride1_1024_q31[680]={ 0x7FFFFFFF,0x00000000,0x7641AF3D,0xCF043AB3,0x5A82799A,0xA57D8666,0x30FBC54D, 0x89BE50C3,}; -const q31_t rearranged_twiddle_stride2_1024_q31[680]={ +const q31_t rearranged_twiddle_stride2_1024_q31[680] ARM_DSP_TABLE_ATTRIBUTE ={ 0x7FFFFFFF,0x00000000,0x7FFD885A,0xFE6DE2E0,0x7FF62182,0xFCDBD541,0x7FE9CBC0, 0xFB49E6A3,0x7FD8878E,0xF9B82684,0x7FC25596,0xF826A462,0x7FA736B4,0xF6956FB7, 0x7F872BF3,0xF50497FB,0x7F62368F,0xF3742CA2,0x7F3857F6,0xF1E43D1C,0x7F0991C4, @@ -4111,7 +4111,7 @@ const q31_t rearranged_twiddle_stride2_1024_q31[680]={ 0x7FFFFFFF,0x00000000,0x5A82799A,0xA57D8666,0x00000000,0x80000000,0xA57D8666, 0xA57D8666,}; -const q31_t rearranged_twiddle_stride3_1024_q31[680]={ +const q31_t rearranged_twiddle_stride3_1024_q31[680] ARM_DSP_TABLE_ATTRIBUTE ={ 0x7FFFFFFF,0x00000000,0x7FFA72D1,0xFDA4D929,0x7FE9CBC0,0xFB49E6A3,0x7FCE0C3E, 0xF8EF5CBB,0x7FA736B4,0xF6956FB7,0x7F754E80,0xF43C53CB,0x7F3857F6,0xF1E43D1C, 0x7EF05860,0xEF8D5FB8,0x7E9D55FC,0xED37EF91,0x7E3F57FF,0xEAE4207A,0x7DD6668F, @@ -4212,16 +4212,16 @@ const q31_t rearranged_twiddle_stride3_1024_q31[680]={ 0x30FBC54D,}; -const uint32_t rearranged_twiddle_tab_stride1_arr_4096_q31[6]={ +const uint32_t rearranged_twiddle_tab_stride1_arr_4096_q31[6] ARM_DSP_TABLE_ATTRIBUTE ={ 0,2048,2560,2688,2720,0,}; -const uint32_t rearranged_twiddle_tab_stride2_arr_4096_q31[6]={ +const uint32_t rearranged_twiddle_tab_stride2_arr_4096_q31[6] ARM_DSP_TABLE_ATTRIBUTE ={ 0,2048,2560,2688,2720,0,}; -const uint32_t rearranged_twiddle_tab_stride3_arr_4096_q31[6]={ +const uint32_t rearranged_twiddle_tab_stride3_arr_4096_q31[6] ARM_DSP_TABLE_ATTRIBUTE ={ 0,2048,2560,2688,2720,0,}; -const q31_t rearranged_twiddle_stride1_4096_q31[2728]={ +const q31_t rearranged_twiddle_stride1_4096_q31[2728] ARM_DSP_TABLE_ATTRIBUTE ={ 0x7FFFFFFF,0x00000000,0x7FFFF621,0xFFCDBC0B,0x7FFFD886,0xFF9B781D,0x7FFFA72C, 0xFF69343F,0x7FFF6216,0xFF36F078,0x7FFF0943,0xFF04ACD0,0x7FFE9CB2,0xFED2694F, 0x7FFE1C65,0xFEA025FD,0x7FFD885A,0xFE6DE2E0,0x7FFCE093,0xFE3BA002,0x7FFC250F, @@ -4613,7 +4613,7 @@ const q31_t rearranged_twiddle_stride1_4096_q31[2728]={ 0x18F8B83C,0x8275A0C0,0x0C8BD35E,0x809DC971,0x7FFFFFFF,0x00000000,0x7641AF3D, 0xCF043AB3,0x5A82799A,0xA57D8666,0x30FBC54D,0x89BE50C3,}; -const q31_t rearranged_twiddle_stride2_4096_q31[2728]={ +const q31_t rearranged_twiddle_stride2_4096_q31[2728] ARM_DSP_TABLE_ATTRIBUTE ={ 0x7FFFFFFF,0x00000000,0x7FFFD886,0xFF9B781D,0x7FFF6216,0xFF36F078,0x7FFE9CB2, 0xFED2694F,0x7FFD885A,0xFE6DE2E0,0x7FFC250F,0xFE095D69,0x7FFA72D1,0xFDA4D929, 0x7FF871A2,0xFD40565C,0x7FF62182,0xFCDBD541,0x7FF38274,0xFC775616,0x7FF09478, @@ -5005,7 +5005,7 @@ const q31_t rearranged_twiddle_stride2_4096_q31[2728]={ 0x89BE50C3,0xCF043AB3,0x8275A0C0,0xE70747C4,0x7FFFFFFF,0x00000000,0x5A82799A, 0xA57D8666,0x00000000,0x80000000,0xA57D8666,0xA57D8666,}; -const q31_t rearranged_twiddle_stride3_4096_q31[2728]={ +const q31_t rearranged_twiddle_stride3_4096_q31[2728] ARM_DSP_TABLE_ATTRIBUTE ={ 0x7FFFFFFF,0x00000000,0x7FFFA72C,0xFF69343F,0x7FFE9CB2,0xFED2694F,0x7FFCE093, 0xFE3BA002,0x7FFA72D1,0xFDA4D929,0x7FF75370,0xFD0E1594,0x7FF38274,0xFC775616, 0x7FEEFFE1,0xFBE09B80,0x7FE9CBC0,0xFB49E6A3,0x7FE3E616,0xFAB3384F,0x7FDD4EEC, @@ -5405,63 +5405,63 @@ const q31_t rearranged_twiddle_stride3_4096_q31[2728]={ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -const uint32_t rearranged_twiddle_tab_stride1_arr_16_q15[2]={ +const uint32_t rearranged_twiddle_tab_stride1_arr_16_q15[2] ARM_DSP_TABLE_ATTRIBUTE ={ 0,0,}; -const uint32_t rearranged_twiddle_tab_stride2_arr_16_q15[2]={ +const uint32_t rearranged_twiddle_tab_stride2_arr_16_q15[2] ARM_DSP_TABLE_ATTRIBUTE ={ 0,0,}; -const uint32_t rearranged_twiddle_tab_stride3_arr_16_q15[2]={ +const uint32_t rearranged_twiddle_tab_stride3_arr_16_q15[2] ARM_DSP_TABLE_ATTRIBUTE ={ 0,0,}; -const q15_t rearranged_twiddle_stride1_16_q15[8]={ +const q15_t rearranged_twiddle_stride1_16_q15[8] ARM_DSP_TABLE_ATTRIBUTE ={ 0x7FFF,0x0000,0x7642,0xCF04,0x5A82,0xA57E,0x30FC,0x89BE,}; -const q15_t rearranged_twiddle_stride2_16_q15[8]={ +const q15_t rearranged_twiddle_stride2_16_q15[8] ARM_DSP_TABLE_ATTRIBUTE ={ 0x7FFF,0x0000,0x5A82,0xA57E,0x0000,0x8000,0xA57E,0xA57E,}; -const q15_t rearranged_twiddle_stride3_16_q15[8]={ +const q15_t rearranged_twiddle_stride3_16_q15[8] ARM_DSP_TABLE_ATTRIBUTE ={ 0x7FFF,0x0000,0x30FC,0x89BE,0xA57E,0xA57E,0x89BE,0x30FC,}; -const uint32_t rearranged_twiddle_tab_stride1_arr_64_q15[3]={ +const uint32_t rearranged_twiddle_tab_stride1_arr_64_q15[3] ARM_DSP_TABLE_ATTRIBUTE ={ 0,32,0,}; -const uint32_t rearranged_twiddle_tab_stride2_arr_64_q15[3]={ +const uint32_t rearranged_twiddle_tab_stride2_arr_64_q15[3] ARM_DSP_TABLE_ATTRIBUTE ={ 0,32,0,}; -const uint32_t rearranged_twiddle_tab_stride3_arr_64_q15[3]={ +const uint32_t rearranged_twiddle_tab_stride3_arr_64_q15[3] ARM_DSP_TABLE_ATTRIBUTE ={ 0,32,0,}; -const q15_t rearranged_twiddle_stride1_64_q15[40]={ +const q15_t rearranged_twiddle_stride1_64_q15[40] ARM_DSP_TABLE_ATTRIBUTE ={ 0x7FFF,0x0000,0x7F62,0xF374,0x7D8A,0xE707,0x7A7D,0xDAD8,0x7642,0xCF04,0x70E3, 0xC3A9,0x6A6E,0xB8E3,0x62F2,0xAECC,0x5A82,0xA57E,0x5134,0x9D0E,0x471D,0x9592, 0x3C57,0x8F1D,0x30FC,0x89BE,0x2528,0x8583,0x18F9,0x8276,0x0C8C,0x809E,0x7FFF, 0x0000,0x7642,0xCF04,0x5A82,0xA57E,0x30FC,0x89BE,}; -const q15_t rearranged_twiddle_stride2_64_q15[40]={ +const q15_t rearranged_twiddle_stride2_64_q15[40] ARM_DSP_TABLE_ATTRIBUTE ={ 0x7FFF,0x0000,0x7D8A,0xE707,0x7642,0xCF04,0x6A6E,0xB8E3,0x5A82,0xA57E,0x471D, 0x9592,0x30FC,0x89BE,0x18F9,0x8276,0x0000,0x8000,0xE707,0x8276,0xCF04,0x89BE, 0xB8E3,0x9592,0xA57E,0xA57E,0x9592,0xB8E3,0x89BE,0xCF04,0x8276,0xE707,0x7FFF, 0x0000,0x5A82,0xA57E,0x0000,0x8000,0xA57E,0xA57E,}; -const q15_t rearranged_twiddle_stride3_64_q15[40]={ +const q15_t rearranged_twiddle_stride3_64_q15[40] ARM_DSP_TABLE_ATTRIBUTE ={ 0x7FFF,0x0000,0x7A7D,0xDAD8,0x6A6E,0xB8E3,0x5134,0x9D0E,0x30FC,0x89BE,0x0C8C, 0x809E,0xE707,0x8276,0xC3A9,0x8F1D,0xA57E,0xA57E,0x8F1D,0xC3A9,0x8276,0xE707, 0x809E,0x0C8C,0x89BE,0x30FC,0x9D0E,0x5134,0xB8E3,0x6A6E,0xDAD8,0x7A7D,0x7FFF, 0x0000,0x30FC,0x89BE,0xA57E,0xA57E,0x89BE,0x30FC,}; -const uint32_t rearranged_twiddle_tab_stride1_arr_256_q15[4]={ +const uint32_t rearranged_twiddle_tab_stride1_arr_256_q15[4] ARM_DSP_TABLE_ATTRIBUTE ={ 0,128,160,0,}; -const uint32_t rearranged_twiddle_tab_stride2_arr_256_q15[4]={ +const uint32_t rearranged_twiddle_tab_stride2_arr_256_q15[4] ARM_DSP_TABLE_ATTRIBUTE ={ 0,128,160,0,}; -const uint32_t rearranged_twiddle_tab_stride3_arr_256_q15[4]={ +const uint32_t rearranged_twiddle_tab_stride3_arr_256_q15[4] ARM_DSP_TABLE_ATTRIBUTE ={ 0,128,160,0,}; -const q15_t rearranged_twiddle_stride1_256_q15[168]={ +const q15_t rearranged_twiddle_stride1_256_q15[168] ARM_DSP_TABLE_ATTRIBUTE ={ 0x7FFF,0x0000,0x7FF6,0xFCDC,0x7FD9,0xF9B8,0x7FA7,0xF695,0x7F62,0xF374,0x7F0A, 0xF055,0x7E9D,0xED38,0x7E1E,0xEA1E,0x7D8A,0xE707,0x7CE4,0xE3F4,0x7C2A,0xE0E6, 0x7B5D,0xDDDC,0x7A7D,0xDAD8,0x798A,0xD7D9,0x7885,0xD4E1,0x776C,0xD1EF,0x7642, @@ -5479,7 +5479,7 @@ const q15_t rearranged_twiddle_stride1_256_q15[168]={ 0x2528,0x8583,0x18F9,0x8276,0x0C8C,0x809E,0x7FFF,0x0000,0x7642,0xCF04,0x5A82, 0xA57E,0x30FC,0x89BE,}; -const q15_t rearranged_twiddle_stride2_256_q15[168]={ +const q15_t rearranged_twiddle_stride2_256_q15[168] ARM_DSP_TABLE_ATTRIBUTE ={ 0x7FFF,0x0000,0x7FD9,0xF9B8,0x7F62,0xF374,0x7E9D,0xED38,0x7D8A,0xE707,0x7C2A, 0xE0E6,0x7A7D,0xDAD8,0x7885,0xD4E1,0x7642,0xCF04,0x73B6,0xC946,0x70E3,0xC3A9, 0x6DCA,0xBE32,0x6A6E,0xB8E3,0x66D0,0xB3C0,0x62F2,0xAECC,0x5ED7,0xAA0A,0x5A82, @@ -5497,7 +5497,7 @@ const q15_t rearranged_twiddle_stride2_256_q15[168]={ 0x9592,0xB8E3,0x89BE,0xCF04,0x8276,0xE707,0x7FFF,0x0000,0x5A82,0xA57E,0x0000, 0x8000,0xA57E,0xA57E,}; -const q15_t rearranged_twiddle_stride3_256_q15[168]={ +const q15_t rearranged_twiddle_stride3_256_q15[168] ARM_DSP_TABLE_ATTRIBUTE ={ 0x7FFF,0x0000,0x7FA7,0xF695,0x7E9D,0xED38,0x7CE4,0xE3F4,0x7A7D,0xDAD8,0x776C, 0xD1EF,0x73B6,0xC946,0x6F5F,0xC0E9,0x6A6E,0xB8E3,0x64E9,0xB140,0x5ED7,0xAA0A, 0x5843,0xA34C,0x5134,0x9D0E,0x49B4,0x9759,0x41CE,0x9236,0x398D,0x8DAB,0x30FC, @@ -5516,16 +5516,16 @@ const q15_t rearranged_twiddle_stride3_256_q15[168]={ 0xA57E,0x89BE,0x30FC,}; -const uint32_t rearranged_twiddle_tab_stride1_arr_1024_q15[5]={ +const uint32_t rearranged_twiddle_tab_stride1_arr_1024_q15[5] ARM_DSP_TABLE_ATTRIBUTE ={ 0,512,640,672,0,}; -const uint32_t rearranged_twiddle_tab_stride2_arr_1024_q15[5]={ +const uint32_t rearranged_twiddle_tab_stride2_arr_1024_q15[5] ARM_DSP_TABLE_ATTRIBUTE ={ 0,512,640,672,0,}; -const uint32_t rearranged_twiddle_tab_stride3_arr_1024_q15[5]={ +const uint32_t rearranged_twiddle_tab_stride3_arr_1024_q15[5] ARM_DSP_TABLE_ATTRIBUTE ={ 0,512,640,672,0,}; -const q15_t rearranged_twiddle_stride1_1024_q15[680]={ +const q15_t rearranged_twiddle_stride1_1024_q15[680] ARM_DSP_TABLE_ATTRIBUTE ={ 0x7FFF,0x0000,0x7FFF,0xFF37,0x7FFE,0xFE6E,0x7FFA,0xFDA5,0x7FF6,0xFCDC,0x7FF1, 0xFC13,0x7FEA,0xFB4A,0x7FE2,0xFA81,0x7FD9,0xF9B8,0x7FCE,0xF8EF,0x7FC2,0xF827, 0x7FB5,0xF75E,0x7FA7,0xF695,0x7F98,0xF5CD,0x7F87,0xF505,0x7F75,0xF43C,0x7F62, @@ -5589,7 +5589,7 @@ const q15_t rearranged_twiddle_stride1_1024_q15[680]={ 0x471D,0x9592,0x3C57,0x8F1D,0x30FC,0x89BE,0x2528,0x8583,0x18F9,0x8276,0x0C8C, 0x809E,0x7FFF,0x0000,0x7642,0xCF04,0x5A82,0xA57E,0x30FC,0x89BE,}; -const q15_t rearranged_twiddle_stride2_1024_q15[680]={ +const q15_t rearranged_twiddle_stride2_1024_q15[680] ARM_DSP_TABLE_ATTRIBUTE ={ 0x7FFF,0x0000,0x7FFE,0xFE6E,0x7FF6,0xFCDC,0x7FEA,0xFB4A,0x7FD9,0xF9B8,0x7FC2, 0xF827,0x7FA7,0xF695,0x7F87,0xF505,0x7F62,0xF374,0x7F38,0xF1E4,0x7F0A,0xF055, 0x7ED6,0xEEC6,0x7E9D,0xED38,0x7E60,0xEBAB,0x7E1E,0xEA1E,0x7DD6,0xE892,0x7D8A, @@ -5653,7 +5653,7 @@ const q15_t rearranged_twiddle_stride2_1024_q15[680]={ 0xCF04,0x89BE,0xB8E3,0x9592,0xA57E,0xA57E,0x9592,0xB8E3,0x89BE,0xCF04,0x8276, 0xE707,0x7FFF,0x0000,0x5A82,0xA57E,0x0000,0x8000,0xA57E,0xA57E,}; -const q15_t rearranged_twiddle_stride3_1024_q15[680]={ +const q15_t rearranged_twiddle_stride3_1024_q15[680] ARM_DSP_TABLE_ATTRIBUTE ={ 0x7FFF,0x0000,0x7FFA,0xFDA5,0x7FEA,0xFB4A,0x7FCE,0xF8EF,0x7FA7,0xF695,0x7F75, 0xF43C,0x7F38,0xF1E4,0x7EF0,0xEF8D,0x7E9D,0xED38,0x7E3F,0xEAE4,0x7DD6,0xE892, 0x7D63,0xE642,0x7CE4,0xE3F4,0x7C5A,0xE1A9,0x7BC6,0xDF61,0x7B27,0xDD1B,0x7A7D, @@ -5718,16 +5718,16 @@ const q15_t rearranged_twiddle_stride3_1024_q15[680]={ 0x7A7D,0x7FFF,0x0000,0x30FC,0x89BE,0xA57E,0xA57E,0x89BE,0x30FC,}; -const uint32_t rearranged_twiddle_tab_stride1_arr_4096_q15[6]={ +const uint32_t rearranged_twiddle_tab_stride1_arr_4096_q15[6] ARM_DSP_TABLE_ATTRIBUTE ={ 0,2048,2560,2688,2720,0,}; -const uint32_t rearranged_twiddle_tab_stride2_arr_4096_q15[6]={ +const uint32_t rearranged_twiddle_tab_stride2_arr_4096_q15[6] ARM_DSP_TABLE_ATTRIBUTE ={ 0,2048,2560,2688,2720,0,}; -const uint32_t rearranged_twiddle_tab_stride3_arr_4096_q15[6]={ +const uint32_t rearranged_twiddle_tab_stride3_arr_4096_q15[6] ARM_DSP_TABLE_ATTRIBUTE ={ 0,2048,2560,2688,2720,0,}; -const q15_t rearranged_twiddle_stride1_4096_q15[2728]={ +const q15_t rearranged_twiddle_stride1_4096_q15[2728] ARM_DSP_TABLE_ATTRIBUTE ={ 0x7FFF,0x0000,0x7FFF,0xFFCE,0x7FFF,0xFF9B,0x7FFF,0xFF69,0x7FFF,0xFF37,0x7FFF, 0xFF05,0x7FFF,0xFED2,0x7FFE,0xFEA0,0x7FFE,0xFE6E,0x7FFD,0xFE3C,0x7FFC,0xFE09, 0x7FFB,0xFDD7,0x7FFA,0xFDA5,0x7FF9,0xFD73,0x7FF8,0xFD40,0x7FF7,0xFD0E,0x7FF6, @@ -5977,7 +5977,7 @@ const q15_t rearranged_twiddle_stride1_4096_q15[2728]={ 0x5134,0x9D0E,0x471D,0x9592,0x3C57,0x8F1D,0x30FC,0x89BE,0x2528,0x8583,0x18F9, 0x8276,0x0C8C,0x809E,0x7FFF,0x0000,0x7642,0xCF04,0x5A82,0xA57E,0x30FC,0x89BE,}; -const q15_t rearranged_twiddle_stride2_4096_q15[2728]={ +const q15_t rearranged_twiddle_stride2_4096_q15[2728] ARM_DSP_TABLE_ATTRIBUTE ={ 0x7FFF,0x0000,0x7FFF,0xFF9B,0x7FFF,0xFF37,0x7FFF,0xFED2,0x7FFE,0xFE6E,0x7FFC, 0xFE09,0x7FFA,0xFDA5,0x7FF8,0xFD40,0x7FF6,0xFCDC,0x7FF4,0xFC77,0x7FF1,0xFC13, 0x7FED,0xFBAE,0x7FEA,0xFB4A,0x7FE6,0xFAE5,0x7FE2,0xFA81,0x7FDD,0xFA1D,0x7FD9, @@ -6227,7 +6227,7 @@ const q15_t rearranged_twiddle_stride2_4096_q15[2728]={ 0xE707,0x8276,0xCF04,0x89BE,0xB8E3,0x9592,0xA57E,0xA57E,0x9592,0xB8E3,0x89BE, 0xCF04,0x8276,0xE707,0x7FFF,0x0000,0x5A82,0xA57E,0x0000,0x8000,0xA57E,0xA57E,}; -const q15_t rearranged_twiddle_stride3_4096_q15[2728]={ +const q15_t rearranged_twiddle_stride3_4096_q15[2728] ARM_DSP_TABLE_ATTRIBUTE ={ 0x7FFF,0x0000,0x7FFF,0xFF69,0x7FFF,0xFED2,0x7FFD,0xFE3C,0x7FFA,0xFDA5,0x7FF7, 0xFD0E,0x7FF4,0xFC77,0x7FEF,0xFBE1,0x7FEA,0xFB4A,0x7FE4,0xFAB3,0x7FDD,0xFA1D, 0x7FD6,0xF986,0x7FCE,0xF8EF,0x7FC5,0xF859,0x7FBC,0xF7C2,0x7FB2,0xF72C,0x7FA7, diff --git a/Source/CommonTables/arm_mve_tables_f16.c b/Source/CommonTables/arm_mve_tables_f16.c index d7e8b281e..af0b16402 100755 --- a/Source/CommonTables/arm_mve_tables_f16.c +++ b/Source/CommonTables/arm_mve_tables_f16.c @@ -36,44 +36,44 @@ #if defined(ARM_MATH_MVE_FLOAT16) && !defined(ARM_MATH_AUTOVECTORIZE) -const uint32_t rearranged_twiddle_tab_stride1_arr_16_f16[2]={ +const uint32_t rearranged_twiddle_tab_stride1_arr_16_f16[2] ARM_DSP_TABLE_ATTRIBUTE ={ 0,0,}; -const uint32_t rearranged_twiddle_tab_stride2_arr_16_f16[2]={ +const uint32_t rearranged_twiddle_tab_stride2_arr_16_f16[2] ARM_DSP_TABLE_ATTRIBUTE ={ 0,0,}; -const uint32_t rearranged_twiddle_tab_stride3_arr_16_f16[2]={ +const uint32_t rearranged_twiddle_tab_stride3_arr_16_f16[2] ARM_DSP_TABLE_ATTRIBUTE ={ 0,0,}; -const float16_t rearranged_twiddle_stride1_16_f16[8]={ +const float16_t rearranged_twiddle_stride1_16_f16[8] ARM_DSP_TABLE_ATTRIBUTE ={ (float16_t)1.0000000000000f,(float16_t)0.0000000000000f, (float16_t)0.9238281250000f,(float16_t)0.3825683593750f, (float16_t)0.7070312500000f,(float16_t)0.7070312500000f, (float16_t)0.3825683593750f,(float16_t)0.9238281250000f,}; -const float16_t rearranged_twiddle_stride2_16_f16[8]={ +const float16_t rearranged_twiddle_stride2_16_f16[8] ARM_DSP_TABLE_ATTRIBUTE ={ (float16_t)1.0000000000000f,(float16_t)0.0000000000000f, (float16_t)0.7070312500000f,(float16_t)0.7070312500000f, (float16_t)0.0000000000000f,(float16_t)1.0000000000000f, (float16_t)-0.7070312500000f,(float16_t)0.7070312500000f,}; -const float16_t rearranged_twiddle_stride3_16_f16[8]={ +const float16_t rearranged_twiddle_stride3_16_f16[8] ARM_DSP_TABLE_ATTRIBUTE ={ (float16_t)1.0000000000000f,(float16_t)0.0000000000000f, (float16_t)0.3825683593750f,(float16_t)0.9238281250000f, (float16_t)-0.7070312500000f,(float16_t)0.7070312500000f, (float16_t)-0.9238281250000f,(float16_t)-0.3825683593750f,}; -const uint32_t rearranged_twiddle_tab_stride1_arr_64_f16[3]={ +const uint32_t rearranged_twiddle_tab_stride1_arr_64_f16[3] ARM_DSP_TABLE_ATTRIBUTE ={ 0,32,0,}; -const uint32_t rearranged_twiddle_tab_stride2_arr_64_f16[3]={ +const uint32_t rearranged_twiddle_tab_stride2_arr_64_f16[3] ARM_DSP_TABLE_ATTRIBUTE ={ 0,32,0,}; -const uint32_t rearranged_twiddle_tab_stride3_arr_64_f16[3]={ +const uint32_t rearranged_twiddle_tab_stride3_arr_64_f16[3] ARM_DSP_TABLE_ATTRIBUTE ={ 0,32,0,}; -const float16_t rearranged_twiddle_stride1_64_f16[40]={ +const float16_t rearranged_twiddle_stride1_64_f16[40] ARM_DSP_TABLE_ATTRIBUTE ={ (float16_t)1.0000000000000f,(float16_t)0.0000000000000f, (float16_t)0.9951171875000f,(float16_t)0.0980224609375f, (float16_t)0.9809570312500f,(float16_t)0.1950683593750f, @@ -95,7 +95,7 @@ const float16_t rearranged_twiddle_stride1_64_f16[40]={ (float16_t)0.7070312500000f,(float16_t)0.7070312500000f, (float16_t)0.3825683593750f,(float16_t)0.9238281250000f,}; -const float16_t rearranged_twiddle_stride2_64_f16[40]={ +const float16_t rearranged_twiddle_stride2_64_f16[40] ARM_DSP_TABLE_ATTRIBUTE ={ (float16_t)1.0000000000000f,(float16_t)0.0000000000000f, (float16_t)0.9809570312500f,(float16_t)0.1950683593750f, (float16_t)0.9238281250000f,(float16_t)0.3825683593750f, @@ -117,7 +117,7 @@ const float16_t rearranged_twiddle_stride2_64_f16[40]={ (float16_t)0.0000000000000f,(float16_t)1.0000000000000f, (float16_t)-0.7070312500000f,(float16_t)0.7070312500000f,}; -const float16_t rearranged_twiddle_stride3_64_f16[40]={ +const float16_t rearranged_twiddle_stride3_64_f16[40] ARM_DSP_TABLE_ATTRIBUTE ={ (float16_t)1.0000000000000f,(float16_t)0.0000000000000f, (float16_t)0.9570312500000f,(float16_t)0.2902832031250f, (float16_t)0.8315429687500f,(float16_t)0.5556640625000f, @@ -139,16 +139,16 @@ const float16_t rearranged_twiddle_stride3_64_f16[40]={ (float16_t)-0.7070312500000f,(float16_t)0.7070312500000f, (float16_t)-0.9238281250000f,(float16_t)-0.3825683593750f,}; -const uint32_t rearranged_twiddle_tab_stride1_arr_256_f16[4]={ +const uint32_t rearranged_twiddle_tab_stride1_arr_256_f16[4] ARM_DSP_TABLE_ATTRIBUTE ={ 0,128,160,0,}; -const uint32_t rearranged_twiddle_tab_stride2_arr_256_f16[4]={ +const uint32_t rearranged_twiddle_tab_stride2_arr_256_f16[4] ARM_DSP_TABLE_ATTRIBUTE ={ 0,128,160,0,}; -const uint32_t rearranged_twiddle_tab_stride3_arr_256_f16[4]={ +const uint32_t rearranged_twiddle_tab_stride3_arr_256_f16[4] ARM_DSP_TABLE_ATTRIBUTE ={ 0,128,160,0,}; -const float16_t rearranged_twiddle_stride1_256_f16[168]={ +const float16_t rearranged_twiddle_stride1_256_f16[168] ARM_DSP_TABLE_ATTRIBUTE ={ (float16_t)1.0000000000000f,(float16_t)0.0000000000000f, (float16_t)0.9995117187500f,(float16_t)0.0245361328125f, (float16_t)0.9990234375000f,(float16_t)0.0490722656250f, @@ -234,7 +234,7 @@ const float16_t rearranged_twiddle_stride1_256_f16[168]={ (float16_t)0.7070312500000f,(float16_t)0.7070312500000f, (float16_t)0.3825683593750f,(float16_t)0.9238281250000f,}; -const float16_t rearranged_twiddle_stride2_256_f16[168]={ +const float16_t rearranged_twiddle_stride2_256_f16[168] ARM_DSP_TABLE_ATTRIBUTE ={ (float16_t)1.0000000000000f,(float16_t)0.0000000000000f, (float16_t)0.9990234375000f,(float16_t)0.0490722656250f, (float16_t)0.9951171875000f,(float16_t)0.0980224609375f, @@ -320,7 +320,7 @@ const float16_t rearranged_twiddle_stride2_256_f16[168]={ (float16_t)0.0000000000000f,(float16_t)1.0000000000000f, (float16_t)-0.7070312500000f,(float16_t)0.7070312500000f,}; -const float16_t rearranged_twiddle_stride3_256_f16[168]={ +const float16_t rearranged_twiddle_stride3_256_f16[168] ARM_DSP_TABLE_ATTRIBUTE ={ (float16_t)1.0000000000000f,(float16_t)0.0000000000000f, (float16_t)0.9970703125000f,(float16_t)0.0735473632812f, (float16_t)0.9892578125000f,(float16_t)0.1467285156250f, @@ -407,16 +407,16 @@ const float16_t rearranged_twiddle_stride3_256_f16[168]={ (float16_t)-0.9238281250000f,(float16_t)-0.3825683593750f,}; -const uint32_t rearranged_twiddle_tab_stride1_arr_1024_f16[5]={ +const uint32_t rearranged_twiddle_tab_stride1_arr_1024_f16[5] ARM_DSP_TABLE_ATTRIBUTE ={ 0,512,640,672,0,}; -const uint32_t rearranged_twiddle_tab_stride2_arr_1024_f16[5]={ +const uint32_t rearranged_twiddle_tab_stride2_arr_1024_f16[5] ARM_DSP_TABLE_ATTRIBUTE ={ 0,512,640,672,0,}; -const uint32_t rearranged_twiddle_tab_stride3_arr_1024_f16[5]={ +const uint32_t rearranged_twiddle_tab_stride3_arr_1024_f16[5] ARM_DSP_TABLE_ATTRIBUTE ={ 0,512,640,672,0,}; -const float16_t rearranged_twiddle_stride1_1024_f16[680]={ +const float16_t rearranged_twiddle_stride1_1024_f16[680] ARM_DSP_TABLE_ATTRIBUTE ={ (float16_t)1.0000000000000f,(float16_t)0.0000000000000f, (float16_t)1.0000000000000f,(float16_t)0.0061340332031f, (float16_t)1.0000000000000f,(float16_t)0.0122680664062f, @@ -758,7 +758,7 @@ const float16_t rearranged_twiddle_stride1_1024_f16[680]={ (float16_t)0.7070312500000f,(float16_t)0.7070312500000f, (float16_t)0.3825683593750f,(float16_t)0.9238281250000f,}; -const float16_t rearranged_twiddle_stride2_1024_f16[680]={ +const float16_t rearranged_twiddle_stride2_1024_f16[680] ARM_DSP_TABLE_ATTRIBUTE ={ (float16_t)1.0000000000000f,(float16_t)0.0000000000000f, (float16_t)1.0000000000000f,(float16_t)0.0122680664062f, (float16_t)0.9995117187500f,(float16_t)0.0245361328125f, @@ -1100,7 +1100,7 @@ const float16_t rearranged_twiddle_stride2_1024_f16[680]={ (float16_t)0.0000000000000f,(float16_t)1.0000000000000f, (float16_t)-0.7070312500000f,(float16_t)0.7070312500000f,}; -const float16_t rearranged_twiddle_stride3_1024_f16[680]={ +const float16_t rearranged_twiddle_stride3_1024_f16[680] ARM_DSP_TABLE_ATTRIBUTE ={ (float16_t)1.0000000000000f,(float16_t)0.0000000000000f, (float16_t)1.0000000000000f,(float16_t)0.0184020996094f, (float16_t)0.9995117187500f,(float16_t)0.0368041992188f, @@ -1443,16 +1443,16 @@ const float16_t rearranged_twiddle_stride3_1024_f16[680]={ (float16_t)-0.9238281250000f,(float16_t)-0.3825683593750f,}; -const uint32_t rearranged_twiddle_tab_stride1_arr_4096_f16[6]={ +const uint32_t rearranged_twiddle_tab_stride1_arr_4096_f16[6] ARM_DSP_TABLE_ATTRIBUTE ={ 0,2048,2560,2688,2720,0,}; -const uint32_t rearranged_twiddle_tab_stride2_arr_4096_f16[6]={ +const uint32_t rearranged_twiddle_tab_stride2_arr_4096_f16[6] ARM_DSP_TABLE_ATTRIBUTE ={ 0,2048,2560,2688,2720,0,}; -const uint32_t rearranged_twiddle_tab_stride3_arr_4096_f16[6]={ +const uint32_t rearranged_twiddle_tab_stride3_arr_4096_f16[6] ARM_DSP_TABLE_ATTRIBUTE ={ 0,2048,2560,2688,2720,0,}; -const float16_t rearranged_twiddle_stride1_4096_f16[2728]={ +const float16_t rearranged_twiddle_stride1_4096_f16[2728] ARM_DSP_TABLE_ATTRIBUTE ={ (float16_t)1.0000000000000f,(float16_t)0.0000000000000f, (float16_t)1.0000000000000f,(float16_t)0.0015335083008f, (float16_t)1.0000000000000f,(float16_t)0.0030670166016f, @@ -2818,7 +2818,7 @@ const float16_t rearranged_twiddle_stride1_4096_f16[2728]={ (float16_t)0.7070312500000f,(float16_t)0.7070312500000f, (float16_t)0.3825683593750f,(float16_t)0.9238281250000f,}; -const float16_t rearranged_twiddle_stride2_4096_f16[2728]={ +const float16_t rearranged_twiddle_stride2_4096_f16[2728] ARM_DSP_TABLE_ATTRIBUTE ={ (float16_t)1.0000000000000f,(float16_t)0.0000000000000f, (float16_t)1.0000000000000f,(float16_t)0.0030670166016f, (float16_t)1.0000000000000f,(float16_t)0.0061340332031f, @@ -4184,7 +4184,7 @@ const float16_t rearranged_twiddle_stride2_4096_f16[2728]={ (float16_t)0.0000000000000f,(float16_t)1.0000000000000f, (float16_t)-0.7070312500000f,(float16_t)0.7070312500000f,}; -const float16_t rearranged_twiddle_stride3_4096_f16[2728]={ +const float16_t rearranged_twiddle_stride3_4096_f16[2728] ARM_DSP_TABLE_ATTRIBUTE ={ (float16_t)1.0000000000000f,(float16_t)0.0000000000000f, (float16_t)1.0000000000000f,(float16_t)0.0046005249023f, (float16_t)1.0000000000000f,(float16_t)0.0092010498047f, diff --git a/Source/ComplexMathFunctions/arm_cmplx_conj_f16.c b/Source/ComplexMathFunctions/arm_cmplx_conj_f16.c index c31fa85c0..87ed9125e 100755 --- a/Source/ComplexMathFunctions/arm_cmplx_conj_f16.c +++ b/Source/ComplexMathFunctions/arm_cmplx_conj_f16.c @@ -48,7 +48,7 @@ #if defined(ARM_MATH_MVE_FLOAT16) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_cmplx_conj_f16( +ARM_DSP_ATTRIBUTE void arm_cmplx_conj_f16( const float16_t * pSrc, float16_t * pDst, uint32_t numSamples) @@ -98,7 +98,7 @@ void arm_cmplx_conj_f16( } #else -void arm_cmplx_conj_f16( +ARM_DSP_ATTRIBUTE void arm_cmplx_conj_f16( const float16_t * pSrc, float16_t * pDst, uint32_t numSamples) diff --git a/Source/ComplexMathFunctions/arm_cmplx_conj_f32.c b/Source/ComplexMathFunctions/arm_cmplx_conj_f32.c index bd078a402..ad10a128a 100644 --- a/Source/ComplexMathFunctions/arm_cmplx_conj_f32.c +++ b/Source/ComplexMathFunctions/arm_cmplx_conj_f32.c @@ -69,7 +69,7 @@ #if defined(ARM_MATH_MVEF) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_cmplx_conj_f32( +ARM_DSP_ATTRIBUTE void arm_cmplx_conj_f32( const float32_t * pSrc, float32_t * pDst, uint32_t numSamples) @@ -119,7 +119,7 @@ void arm_cmplx_conj_f32( } #else -void arm_cmplx_conj_f32( +ARM_DSP_ATTRIBUTE void arm_cmplx_conj_f32( const float32_t * pSrc, float32_t * pDst, uint32_t numSamples) diff --git a/Source/ComplexMathFunctions/arm_cmplx_conj_q15.c b/Source/ComplexMathFunctions/arm_cmplx_conj_q15.c index fd441eddf..ea6512753 100644 --- a/Source/ComplexMathFunctions/arm_cmplx_conj_q15.c +++ b/Source/ComplexMathFunctions/arm_cmplx_conj_q15.c @@ -50,7 +50,7 @@ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_cmplx_conj_q15( +ARM_DSP_ATTRIBUTE void arm_cmplx_conj_q15( const q15_t * pSrc, q15_t * pDst, uint32_t numSamples) @@ -97,7 +97,7 @@ void arm_cmplx_conj_q15( } } #else -void arm_cmplx_conj_q15( +ARM_DSP_ATTRIBUTE void arm_cmplx_conj_q15( const q15_t * pSrc, q15_t * pDst, uint32_t numSamples) diff --git a/Source/ComplexMathFunctions/arm_cmplx_conj_q31.c b/Source/ComplexMathFunctions/arm_cmplx_conj_q31.c index cdbf2dfc1..47eaa7d22 100644 --- a/Source/ComplexMathFunctions/arm_cmplx_conj_q31.c +++ b/Source/ComplexMathFunctions/arm_cmplx_conj_q31.c @@ -50,7 +50,7 @@ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_cmplx_conj_q31( +ARM_DSP_ATTRIBUTE void arm_cmplx_conj_q31( const q31_t * pSrc, q31_t * pDst, uint32_t numSamples) @@ -103,7 +103,7 @@ void arm_cmplx_conj_q31( } #else -void arm_cmplx_conj_q31( +ARM_DSP_ATTRIBUTE void arm_cmplx_conj_q31( const q31_t * pSrc, q31_t * pDst, uint32_t numSamples) diff --git a/Source/ComplexMathFunctions/arm_cmplx_dot_prod_f16.c b/Source/ComplexMathFunctions/arm_cmplx_dot_prod_f16.c index 3fff51b78..e945953c1 100755 --- a/Source/ComplexMathFunctions/arm_cmplx_dot_prod_f16.c +++ b/Source/ComplexMathFunctions/arm_cmplx_dot_prod_f16.c @@ -54,7 +54,7 @@ #include "arm_helium_utils.h" -void arm_cmplx_dot_prod_f16( +ARM_DSP_ATTRIBUTE void arm_cmplx_dot_prod_f16( const float16_t * pSrcA, const float16_t * pSrcB, uint32_t numSamples, @@ -160,7 +160,7 @@ void arm_cmplx_dot_prod_f16( } #else -void arm_cmplx_dot_prod_f16( +ARM_DSP_ATTRIBUTE void arm_cmplx_dot_prod_f16( const float16_t * pSrcA, const float16_t * pSrcB, uint32_t numSamples, diff --git a/Source/ComplexMathFunctions/arm_cmplx_dot_prod_f32.c b/Source/ComplexMathFunctions/arm_cmplx_dot_prod_f32.c index d67bb2a14..96696e49e 100644 --- a/Source/ComplexMathFunctions/arm_cmplx_dot_prod_f32.c +++ b/Source/ComplexMathFunctions/arm_cmplx_dot_prod_f32.c @@ -75,7 +75,7 @@ #if defined(ARM_MATH_MVEF) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_cmplx_dot_prod_f32( +ARM_DSP_ATTRIBUTE void arm_cmplx_dot_prod_f32( const float32_t * pSrcA, const float32_t * pSrcB, uint32_t numSamples, @@ -179,7 +179,7 @@ void arm_cmplx_dot_prod_f32( } #else -void arm_cmplx_dot_prod_f32( +ARM_DSP_ATTRIBUTE void arm_cmplx_dot_prod_f32( const float32_t * pSrcA, const float32_t * pSrcB, uint32_t numSamples, diff --git a/Source/ComplexMathFunctions/arm_cmplx_dot_prod_q15.c b/Source/ComplexMathFunctions/arm_cmplx_dot_prod_q15.c index 360139444..d9901c18a 100644 --- a/Source/ComplexMathFunctions/arm_cmplx_dot_prod_q15.c +++ b/Source/ComplexMathFunctions/arm_cmplx_dot_prod_q15.c @@ -54,7 +54,7 @@ */ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_cmplx_dot_prod_q15( +ARM_DSP_ATTRIBUTE void arm_cmplx_dot_prod_q15( const q15_t * pSrcA, const q15_t * pSrcB, uint32_t numSamples, @@ -155,7 +155,7 @@ void arm_cmplx_dot_prod_q15( *imagResult = asrl(accImag, (14 - 8)); } #else -void arm_cmplx_dot_prod_q15( +ARM_DSP_ATTRIBUTE void arm_cmplx_dot_prod_q15( const q15_t * pSrcA, const q15_t * pSrcB, uint32_t numSamples, diff --git a/Source/ComplexMathFunctions/arm_cmplx_dot_prod_q31.c b/Source/ComplexMathFunctions/arm_cmplx_dot_prod_q31.c index 50e08af9f..9426c8a92 100644 --- a/Source/ComplexMathFunctions/arm_cmplx_dot_prod_q31.c +++ b/Source/ComplexMathFunctions/arm_cmplx_dot_prod_q31.c @@ -56,7 +56,7 @@ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_cmplx_dot_prod_q31( +ARM_DSP_ATTRIBUTE void arm_cmplx_dot_prod_q31( const q31_t * pSrcA, const q31_t * pSrcB, uint32_t numSamples, @@ -159,7 +159,7 @@ void arm_cmplx_dot_prod_q31( } #else -void arm_cmplx_dot_prod_q31( +ARM_DSP_ATTRIBUTE void arm_cmplx_dot_prod_q31( const q31_t * pSrcA, const q31_t * pSrcB, uint32_t numSamples, diff --git a/Source/ComplexMathFunctions/arm_cmplx_mag_f16.c b/Source/ComplexMathFunctions/arm_cmplx_mag_f16.c index e89447a8f..1fe96e421 100755 --- a/Source/ComplexMathFunctions/arm_cmplx_mag_f16.c +++ b/Source/ComplexMathFunctions/arm_cmplx_mag_f16.c @@ -52,7 +52,7 @@ #include "arm_helium_utils.h" -void arm_cmplx_mag_f16( +ARM_DSP_ATTRIBUTE void arm_cmplx_mag_f16( const float16_t * pSrc, float16_t * pDst, uint32_t numSamples) @@ -145,7 +145,7 @@ void arm_cmplx_mag_f16( } #else -void arm_cmplx_mag_f16( +ARM_DSP_ATTRIBUTE void arm_cmplx_mag_f16( const float16_t * pSrc, float16_t * pDst, uint32_t numSamples) diff --git a/Source/ComplexMathFunctions/arm_cmplx_mag_f32.c b/Source/ComplexMathFunctions/arm_cmplx_mag_f32.c index d21ac0acf..1da776cca 100644 --- a/Source/ComplexMathFunctions/arm_cmplx_mag_f32.c +++ b/Source/ComplexMathFunctions/arm_cmplx_mag_f32.c @@ -77,7 +77,7 @@ #include "arm_helium_utils.h" -void arm_cmplx_mag_f32( +ARM_DSP_ATTRIBUTE void arm_cmplx_mag_f32( const float32_t * pSrc, float32_t * pDst, uint32_t numSamples) @@ -152,7 +152,7 @@ void arm_cmplx_mag_f32( } #else -void arm_cmplx_mag_f32( +ARM_DSP_ATTRIBUTE void arm_cmplx_mag_f32( const float32_t * pSrc, float32_t * pDst, uint32_t numSamples) diff --git a/Source/ComplexMathFunctions/arm_cmplx_mag_f64.c b/Source/ComplexMathFunctions/arm_cmplx_mag_f64.c index 1465f8fd3..8cc9dd6ff 100644 --- a/Source/ComplexMathFunctions/arm_cmplx_mag_f64.c +++ b/Source/ComplexMathFunctions/arm_cmplx_mag_f64.c @@ -45,7 +45,7 @@ @param[out] pDst points to output vector @param[in] numSamples number of samples in each vector */ -void arm_cmplx_mag_f64( +ARM_DSP_ATTRIBUTE void arm_cmplx_mag_f64( const float64_t * pSrc, float64_t * pDst, uint32_t numSamples) diff --git a/Source/ComplexMathFunctions/arm_cmplx_mag_fast_q15.c b/Source/ComplexMathFunctions/arm_cmplx_mag_fast_q15.c index 4d4e314af..d421ada82 100755 --- a/Source/ComplexMathFunctions/arm_cmplx_mag_fast_q15.c +++ b/Source/ComplexMathFunctions/arm_cmplx_mag_fast_q15.c @@ -52,7 +52,7 @@ #include "arm_helium_utils.h" -void arm_cmplx_mag_fast_q15( +ARM_DSP_ATTRIBUTE void arm_cmplx_mag_fast_q15( const q15_t * pSrc, q15_t * pDst, uint32_t numSamples) @@ -107,7 +107,7 @@ void arm_cmplx_mag_fast_q15( } #else -void arm_cmplx_mag_fast_q15( +ARM_DSP_ATTRIBUTE void arm_cmplx_mag_fast_q15( const q15_t * pSrc, q15_t * pDst, uint32_t numSamples) diff --git a/Source/ComplexMathFunctions/arm_cmplx_mag_q15.c b/Source/ComplexMathFunctions/arm_cmplx_mag_q15.c index 6d2775184..a84c5b64b 100644 --- a/Source/ComplexMathFunctions/arm_cmplx_mag_q15.c +++ b/Source/ComplexMathFunctions/arm_cmplx_mag_q15.c @@ -55,7 +55,7 @@ #include "arm_helium_utils.h" -void arm_cmplx_mag_q15( +ARM_DSP_ATTRIBUTE void arm_cmplx_mag_q15( const q15_t * pSrc, q15_t * pDst, uint32_t numSamples) @@ -140,7 +140,7 @@ void arm_cmplx_mag_q15( } #else -void arm_cmplx_mag_q15( +ARM_DSP_ATTRIBUTE void arm_cmplx_mag_q15( const q15_t * pSrc, q15_t * pDst, uint32_t numSamples) diff --git a/Source/ComplexMathFunctions/arm_cmplx_mag_q31.c b/Source/ComplexMathFunctions/arm_cmplx_mag_q31.c index ce340438c..88adce77a 100644 --- a/Source/ComplexMathFunctions/arm_cmplx_mag_q31.c +++ b/Source/ComplexMathFunctions/arm_cmplx_mag_q31.c @@ -52,7 +52,7 @@ #include "arm_helium_utils.h" -void arm_cmplx_mag_q31( +ARM_DSP_ATTRIBUTE void arm_cmplx_mag_q31( const q31_t * pSrc, q31_t * pDst, uint32_t numSamples) @@ -118,7 +118,7 @@ void arm_cmplx_mag_q31( } #else -void arm_cmplx_mag_q31( +ARM_DSP_ATTRIBUTE void arm_cmplx_mag_q31( const q31_t * pSrc, q31_t * pDst, uint32_t numSamples) diff --git a/Source/ComplexMathFunctions/arm_cmplx_mag_squared_f16.c b/Source/ComplexMathFunctions/arm_cmplx_mag_squared_f16.c index 3fa30fb45..f3b9c14dd 100755 --- a/Source/ComplexMathFunctions/arm_cmplx_mag_squared_f16.c +++ b/Source/ComplexMathFunctions/arm_cmplx_mag_squared_f16.c @@ -49,7 +49,7 @@ #if defined(ARM_MATH_MVE_FLOAT16) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_cmplx_mag_squared_f16( +ARM_DSP_ATTRIBUTE void arm_cmplx_mag_squared_f16( const float16_t * pSrc, float16_t * pDst, uint32_t numSamples) @@ -79,7 +79,7 @@ void arm_cmplx_mag_squared_f16( } #else -void arm_cmplx_mag_squared_f16( +ARM_DSP_ATTRIBUTE void arm_cmplx_mag_squared_f16( const float16_t * pSrc, float16_t * pDst, uint32_t numSamples) diff --git a/Source/ComplexMathFunctions/arm_cmplx_mag_squared_f32.c b/Source/ComplexMathFunctions/arm_cmplx_mag_squared_f32.c index bf6895914..cd34615de 100644 --- a/Source/ComplexMathFunctions/arm_cmplx_mag_squared_f32.c +++ b/Source/ComplexMathFunctions/arm_cmplx_mag_squared_f32.c @@ -70,7 +70,7 @@ #if defined(ARM_MATH_MVEF) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_cmplx_mag_squared_f32( +ARM_DSP_ATTRIBUTE void arm_cmplx_mag_squared_f32( const float32_t * pSrc, float32_t * pDst, uint32_t numSamples) @@ -118,7 +118,7 @@ void arm_cmplx_mag_squared_f32( } #else -void arm_cmplx_mag_squared_f32( +ARM_DSP_ATTRIBUTE void arm_cmplx_mag_squared_f32( const float32_t * pSrc, float32_t * pDst, uint32_t numSamples) diff --git a/Source/ComplexMathFunctions/arm_cmplx_mag_squared_f64.c b/Source/ComplexMathFunctions/arm_cmplx_mag_squared_f64.c index 47bf40bc7..71b19c6ad 100644 --- a/Source/ComplexMathFunctions/arm_cmplx_mag_squared_f64.c +++ b/Source/ComplexMathFunctions/arm_cmplx_mag_squared_f64.c @@ -43,7 +43,7 @@ @param[out] pDst points to output vector @param[in] numSamples number of samples in each vector */ -void arm_cmplx_mag_squared_f64( +ARM_DSP_ATTRIBUTE void arm_cmplx_mag_squared_f64( const float64_t * pSrc, float64_t * pDst, uint32_t numSamples) diff --git a/Source/ComplexMathFunctions/arm_cmplx_mag_squared_q15.c b/Source/ComplexMathFunctions/arm_cmplx_mag_squared_q15.c index 538bb7279..998138203 100644 --- a/Source/ComplexMathFunctions/arm_cmplx_mag_squared_q15.c +++ b/Source/ComplexMathFunctions/arm_cmplx_mag_squared_q15.c @@ -49,7 +49,7 @@ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_cmplx_mag_squared_q15( +ARM_DSP_ATTRIBUTE void arm_cmplx_mag_squared_q15( const q15_t * pSrc, q15_t * pDst, uint32_t numSamples) @@ -105,7 +105,7 @@ void arm_cmplx_mag_squared_q15( } #else -void arm_cmplx_mag_squared_q15( +ARM_DSP_ATTRIBUTE void arm_cmplx_mag_squared_q15( const q15_t * pSrc, q15_t * pDst, uint32_t numSamples) diff --git a/Source/ComplexMathFunctions/arm_cmplx_mag_squared_q31.c b/Source/ComplexMathFunctions/arm_cmplx_mag_squared_q31.c index 2432568f8..5c743ce46 100644 --- a/Source/ComplexMathFunctions/arm_cmplx_mag_squared_q31.c +++ b/Source/ComplexMathFunctions/arm_cmplx_mag_squared_q31.c @@ -50,7 +50,7 @@ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_cmplx_mag_squared_q31( +ARM_DSP_ATTRIBUTE void arm_cmplx_mag_squared_q31( const q31_t * pSrc, q31_t * pDst, uint32_t numSamples) @@ -104,7 +104,7 @@ void arm_cmplx_mag_squared_q31( } #else -void arm_cmplx_mag_squared_q31( +ARM_DSP_ATTRIBUTE void arm_cmplx_mag_squared_q31( const q31_t * pSrc, q31_t * pDst, uint32_t numSamples) diff --git a/Source/ComplexMathFunctions/arm_cmplx_mult_cmplx_f16.c b/Source/ComplexMathFunctions/arm_cmplx_mult_cmplx_f16.c index 592f64696..41351499f 100755 --- a/Source/ComplexMathFunctions/arm_cmplx_mult_cmplx_f16.c +++ b/Source/ComplexMathFunctions/arm_cmplx_mult_cmplx_f16.c @@ -51,7 +51,7 @@ #if defined(ARM_MATH_MVE_FLOAT16) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_cmplx_mult_cmplx_f16( +ARM_DSP_ATTRIBUTE void arm_cmplx_mult_cmplx_f16( const float16_t * pSrcA, const float16_t * pSrcB, float16_t * pDst, @@ -160,7 +160,7 @@ void arm_cmplx_mult_cmplx_f16( #else -void arm_cmplx_mult_cmplx_f16( +ARM_DSP_ATTRIBUTE void arm_cmplx_mult_cmplx_f16( const float16_t * pSrcA, const float16_t * pSrcB, float16_t * pDst, diff --git a/Source/ComplexMathFunctions/arm_cmplx_mult_cmplx_f32.c b/Source/ComplexMathFunctions/arm_cmplx_mult_cmplx_f32.c index 9b701dbf0..bcb5460a3 100644 --- a/Source/ComplexMathFunctions/arm_cmplx_mult_cmplx_f32.c +++ b/Source/ComplexMathFunctions/arm_cmplx_mult_cmplx_f32.c @@ -69,7 +69,7 @@ #if defined(ARM_MATH_MVEF) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_cmplx_mult_cmplx_f32( +ARM_DSP_ATTRIBUTE void arm_cmplx_mult_cmplx_f32( const float32_t * pSrcA, const float32_t * pSrcB, float32_t * pDst, @@ -178,7 +178,7 @@ void arm_cmplx_mult_cmplx_f32( } #else -void arm_cmplx_mult_cmplx_f32( +ARM_DSP_ATTRIBUTE void arm_cmplx_mult_cmplx_f32( const float32_t * pSrcA, const float32_t * pSrcB, float32_t * pDst, diff --git a/Source/ComplexMathFunctions/arm_cmplx_mult_cmplx_f64.c b/Source/ComplexMathFunctions/arm_cmplx_mult_cmplx_f64.c index b698ee554..3b63501d7 100644 --- a/Source/ComplexMathFunctions/arm_cmplx_mult_cmplx_f64.c +++ b/Source/ComplexMathFunctions/arm_cmplx_mult_cmplx_f64.c @@ -45,7 +45,7 @@ @param[in] numSamples number of samples in each vector */ -void arm_cmplx_mult_cmplx_f64( +ARM_DSP_ATTRIBUTE void arm_cmplx_mult_cmplx_f64( const float64_t * pSrcA, const float64_t * pSrcB, float64_t * pDst, diff --git a/Source/ComplexMathFunctions/arm_cmplx_mult_cmplx_q15.c b/Source/ComplexMathFunctions/arm_cmplx_mult_cmplx_q15.c index 665798dbd..042ba17c3 100644 --- a/Source/ComplexMathFunctions/arm_cmplx_mult_cmplx_q15.c +++ b/Source/ComplexMathFunctions/arm_cmplx_mult_cmplx_q15.c @@ -50,7 +50,7 @@ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_cmplx_mult_cmplx_q15( +ARM_DSP_ATTRIBUTE void arm_cmplx_mult_cmplx_q15( const q15_t * pSrcA, const q15_t * pSrcB, q15_t * pDst, @@ -169,7 +169,7 @@ void arm_cmplx_mult_cmplx_q15( } } #else -void arm_cmplx_mult_cmplx_q15( +ARM_DSP_ATTRIBUTE void arm_cmplx_mult_cmplx_q15( const q15_t * pSrcA, const q15_t * pSrcB, q15_t * pDst, diff --git a/Source/ComplexMathFunctions/arm_cmplx_mult_cmplx_q31.c b/Source/ComplexMathFunctions/arm_cmplx_mult_cmplx_q31.c index 147d76653..64060a6f6 100644 --- a/Source/ComplexMathFunctions/arm_cmplx_mult_cmplx_q31.c +++ b/Source/ComplexMathFunctions/arm_cmplx_mult_cmplx_q31.c @@ -50,7 +50,7 @@ */ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_cmplx_mult_cmplx_q31( +ARM_DSP_ATTRIBUTE void arm_cmplx_mult_cmplx_q31( const q31_t * pSrcA, const q31_t * pSrcB, q31_t * pDst, @@ -164,7 +164,7 @@ void arm_cmplx_mult_cmplx_q31( } } #else -void arm_cmplx_mult_cmplx_q31( +ARM_DSP_ATTRIBUTE void arm_cmplx_mult_cmplx_q31( const q31_t * pSrcA, const q31_t * pSrcB, q31_t * pDst, diff --git a/Source/ComplexMathFunctions/arm_cmplx_mult_real_f16.c b/Source/ComplexMathFunctions/arm_cmplx_mult_real_f16.c index ead946487..46c1f97f8 100755 --- a/Source/ComplexMathFunctions/arm_cmplx_mult_real_f16.c +++ b/Source/ComplexMathFunctions/arm_cmplx_mult_real_f16.c @@ -50,7 +50,7 @@ #if defined(ARM_MATH_MVE_FLOAT16) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_cmplx_mult_real_f16( +ARM_DSP_ATTRIBUTE void arm_cmplx_mult_real_f16( const float16_t * pSrcCmplx, const float16_t * pSrcReal, float16_t * pCmplxDst, @@ -97,7 +97,7 @@ void arm_cmplx_mult_real_f16( } #else -void arm_cmplx_mult_real_f16( +ARM_DSP_ATTRIBUTE void arm_cmplx_mult_real_f16( const float16_t * pSrcCmplx, const float16_t * pSrcReal, float16_t * pCmplxDst, diff --git a/Source/ComplexMathFunctions/arm_cmplx_mult_real_f32.c b/Source/ComplexMathFunctions/arm_cmplx_mult_real_f32.c index b9d82f8c9..a5e2c326c 100644 --- a/Source/ComplexMathFunctions/arm_cmplx_mult_real_f32.c +++ b/Source/ComplexMathFunctions/arm_cmplx_mult_real_f32.c @@ -70,7 +70,7 @@ #if defined(ARM_MATH_MVEF) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_cmplx_mult_real_f32( +ARM_DSP_ATTRIBUTE void arm_cmplx_mult_real_f32( const float32_t * pSrcCmplx, const float32_t * pSrcReal, float32_t * pCmplxDst, @@ -122,7 +122,7 @@ void arm_cmplx_mult_real_f32( } #else -void arm_cmplx_mult_real_f32( +ARM_DSP_ATTRIBUTE void arm_cmplx_mult_real_f32( const float32_t * pSrcCmplx, const float32_t * pSrcReal, float32_t * pCmplxDst, diff --git a/Source/ComplexMathFunctions/arm_cmplx_mult_real_q15.c b/Source/ComplexMathFunctions/arm_cmplx_mult_real_q15.c index ff98141a1..e450d0b5f 100644 --- a/Source/ComplexMathFunctions/arm_cmplx_mult_real_q15.c +++ b/Source/ComplexMathFunctions/arm_cmplx_mult_real_q15.c @@ -50,7 +50,7 @@ */ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_cmplx_mult_real_q15( +ARM_DSP_ATTRIBUTE void arm_cmplx_mult_real_q15( const q15_t * pSrcCmplx, const q15_t * pSrcReal, q15_t * pCmplxDst, @@ -104,7 +104,7 @@ void arm_cmplx_mult_real_q15( } } #else -void arm_cmplx_mult_real_q15( +ARM_DSP_ATTRIBUTE void arm_cmplx_mult_real_q15( const q15_t * pSrcCmplx, const q15_t * pSrcReal, q15_t * pCmplxDst, diff --git a/Source/ComplexMathFunctions/arm_cmplx_mult_real_q31.c b/Source/ComplexMathFunctions/arm_cmplx_mult_real_q31.c index 18e8e8c96..d47351dad 100644 --- a/Source/ComplexMathFunctions/arm_cmplx_mult_real_q31.c +++ b/Source/ComplexMathFunctions/arm_cmplx_mult_real_q31.c @@ -50,7 +50,7 @@ */ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_cmplx_mult_real_q31( +ARM_DSP_ATTRIBUTE void arm_cmplx_mult_real_q31( const q31_t * pSrcCmplx, const q31_t * pSrcReal, q31_t * pCmplxDst, @@ -104,7 +104,7 @@ void arm_cmplx_mult_real_q31( } } #else -void arm_cmplx_mult_real_q31( +ARM_DSP_ATTRIBUTE void arm_cmplx_mult_real_q31( const q31_t * pSrcCmplx, const q31_t * pSrcReal, q31_t * pCmplxDst, diff --git a/Source/ControllerFunctions/arm_pid_init_f32.c b/Source/ControllerFunctions/arm_pid_init_f32.c index b81d6e027..642f77583 100644 --- a/Source/ControllerFunctions/arm_pid_init_f32.c +++ b/Source/ControllerFunctions/arm_pid_init_f32.c @@ -47,7 +47,7 @@ also sets the state variables to all zeros. */ -void arm_pid_init_f32( +ARM_DSP_ATTRIBUTE void arm_pid_init_f32( arm_pid_instance_f32 * S, int32_t resetStateFlag) { diff --git a/Source/ControllerFunctions/arm_pid_init_q15.c b/Source/ControllerFunctions/arm_pid_init_q15.c index dce712342..c08c4488c 100644 --- a/Source/ControllerFunctions/arm_pid_init_q15.c +++ b/Source/ControllerFunctions/arm_pid_init_q15.c @@ -47,7 +47,7 @@ also sets the state variables to all zeros. */ -void arm_pid_init_q15( +ARM_DSP_ATTRIBUTE void arm_pid_init_q15( arm_pid_instance_q15 * S, int32_t resetStateFlag) { diff --git a/Source/ControllerFunctions/arm_pid_init_q31.c b/Source/ControllerFunctions/arm_pid_init_q31.c index 671cff035..9b068f76a 100644 --- a/Source/ControllerFunctions/arm_pid_init_q31.c +++ b/Source/ControllerFunctions/arm_pid_init_q31.c @@ -47,7 +47,7 @@ also sets the state variables to all zeros. */ -void arm_pid_init_q31( +ARM_DSP_ATTRIBUTE void arm_pid_init_q31( arm_pid_instance_q31 * S, int32_t resetStateFlag) { diff --git a/Source/ControllerFunctions/arm_pid_reset_f32.c b/Source/ControllerFunctions/arm_pid_reset_f32.c index 0b29e5995..ed5cc1d9b 100644 --- a/Source/ControllerFunctions/arm_pid_reset_f32.c +++ b/Source/ControllerFunctions/arm_pid_reset_f32.c @@ -41,7 +41,7 @@ The function resets the state buffer to zeros. */ -void arm_pid_reset_f32( +ARM_DSP_ATTRIBUTE void arm_pid_reset_f32( arm_pid_instance_f32 * S) { /* Reset state to zero, The size will be always 3 samples */ diff --git a/Source/ControllerFunctions/arm_pid_reset_q15.c b/Source/ControllerFunctions/arm_pid_reset_q15.c index bcda42ef5..8c1dd0bfb 100644 --- a/Source/ControllerFunctions/arm_pid_reset_q15.c +++ b/Source/ControllerFunctions/arm_pid_reset_q15.c @@ -41,7 +41,7 @@ The function resets the state buffer to zeros. */ -void arm_pid_reset_q15( +ARM_DSP_ATTRIBUTE void arm_pid_reset_q15( arm_pid_instance_q15 * S) { /* Reset state to zero, The size will be always 3 samples */ diff --git a/Source/ControllerFunctions/arm_pid_reset_q31.c b/Source/ControllerFunctions/arm_pid_reset_q31.c index 55d92fbe2..1158929a5 100644 --- a/Source/ControllerFunctions/arm_pid_reset_q31.c +++ b/Source/ControllerFunctions/arm_pid_reset_q31.c @@ -41,7 +41,7 @@ The function resets the state buffer to zeros. */ -void arm_pid_reset_q31( +ARM_DSP_ATTRIBUTE void arm_pid_reset_q31( arm_pid_instance_q31 * S) { /* Reset state to zero, The size will be always 3 samples */ diff --git a/Source/ControllerFunctions/arm_sin_cos_f32.c b/Source/ControllerFunctions/arm_sin_cos_f32.c index d11542999..490a33c3d 100644 --- a/Source/ControllerFunctions/arm_sin_cos_f32.c +++ b/Source/ControllerFunctions/arm_sin_cos_f32.c @@ -41,7 +41,7 @@ @param[out] pCosVal points to processed cosine output */ -void arm_sin_cos_f32( +ARM_DSP_ATTRIBUTE void arm_sin_cos_f32( float32_t theta, float32_t * pSinVal, float32_t * pCosVal) diff --git a/Source/ControllerFunctions/arm_sin_cos_q31.c b/Source/ControllerFunctions/arm_sin_cos_q31.c index 4997833f6..8ed11a594 100644 --- a/Source/ControllerFunctions/arm_sin_cos_q31.c +++ b/Source/ControllerFunctions/arm_sin_cos_q31.c @@ -47,7 +47,7 @@ The Q31 input value is in the range [-1 0.999999] and is mapped to a degree value in the range [-180 179]. */ -void arm_sin_cos_q31( +ARM_DSP_ATTRIBUTE void arm_sin_cos_q31( q31_t theta, q31_t * pSinVal, q31_t * pCosVal) diff --git a/Source/DistanceFunctions/arm_braycurtis_distance_f16.c b/Source/DistanceFunctions/arm_braycurtis_distance_f16.c index be5537efb..cf7fca8bc 100755 --- a/Source/DistanceFunctions/arm_braycurtis_distance_f16.c +++ b/Source/DistanceFunctions/arm_braycurtis_distance_f16.c @@ -72,7 +72,7 @@ #include "arm_helium_utils.h" -float16_t arm_braycurtis_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float16_t arm_braycurtis_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize) { _Float16 accumDiff = 0.0f, accumSum = 0.0f; uint32_t blkCnt; @@ -125,7 +125,7 @@ float16_t arm_braycurtis_distance_f16(const float16_t *pA,const float16_t *pB, u } #else -float16_t arm_braycurtis_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float16_t arm_braycurtis_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize) { _Float16 accumDiff=0.0f16, accumSum=0.0f16, tmpA, tmpB; diff --git a/Source/DistanceFunctions/arm_braycurtis_distance_f32.c b/Source/DistanceFunctions/arm_braycurtis_distance_f32.c index ae13c3588..6de4907de 100755 --- a/Source/DistanceFunctions/arm_braycurtis_distance_f32.c +++ b/Source/DistanceFunctions/arm_braycurtis_distance_f32.c @@ -51,7 +51,7 @@ #include "arm_helium_utils.h" -float32_t arm_braycurtis_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float32_t arm_braycurtis_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) { float32_t accumDiff = 0.0f, accumSum = 0.0f; uint32_t blkCnt; @@ -107,7 +107,7 @@ float32_t arm_braycurtis_distance_f32(const float32_t *pA,const float32_t *pB, u #include "NEMath.h" -float32_t arm_braycurtis_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float32_t arm_braycurtis_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) { float32_t accumDiff=0.0f, accumSum=0.0f; uint32_t blkCnt; @@ -157,7 +157,7 @@ float32_t arm_braycurtis_distance_f32(const float32_t *pA,const float32_t *pB, u } #else -float32_t arm_braycurtis_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float32_t arm_braycurtis_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) { float32_t accumDiff=0.0f, accumSum=0.0f, tmpA, tmpB; diff --git a/Source/DistanceFunctions/arm_canberra_distance_f16.c b/Source/DistanceFunctions/arm_canberra_distance_f16.c index bcefc9194..632ee1bfe 100755 --- a/Source/DistanceFunctions/arm_canberra_distance_f16.c +++ b/Source/DistanceFunctions/arm_canberra_distance_f16.c @@ -70,7 +70,7 @@ #include "arm_helium_utils.h" #include "arm_vec_math_f16.h" -float16_t arm_canberra_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float16_t arm_canberra_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize) { _Float16 accum = 0.0f16; uint32_t blkCnt; @@ -141,7 +141,7 @@ float16_t arm_canberra_distance_f16(const float16_t *pA,const float16_t *pB, uin #else -float16_t arm_canberra_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float16_t arm_canberra_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize) { _Float16 accum=0.0f, tmpA, tmpB,diff,sum; diff --git a/Source/DistanceFunctions/arm_canberra_distance_f32.c b/Source/DistanceFunctions/arm_canberra_distance_f32.c index c786c0451..de093c717 100755 --- a/Source/DistanceFunctions/arm_canberra_distance_f32.c +++ b/Source/DistanceFunctions/arm_canberra_distance_f32.c @@ -57,7 +57,7 @@ #include "arm_helium_utils.h" #include "arm_vec_math.h" -float32_t arm_canberra_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float32_t arm_canberra_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) { float32_t accum = 0.0f; uint32_t blkCnt; @@ -131,7 +131,7 @@ float32_t arm_canberra_distance_f32(const float32_t *pA,const float32_t *pB, uin #include "NEMath.h" -float32_t arm_canberra_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float32_t arm_canberra_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) { float32_t accum=0.0f, tmpA, tmpB,diff,sum; uint32_t blkCnt; @@ -194,7 +194,7 @@ float32_t arm_canberra_distance_f32(const float32_t *pA,const float32_t *pB, uin } #else -float32_t arm_canberra_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float32_t arm_canberra_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) { float32_t accum=0.0f, tmpA, tmpB,diff,sum; diff --git a/Source/DistanceFunctions/arm_chebyshev_distance_f16.c b/Source/DistanceFunctions/arm_chebyshev_distance_f16.c index 8dec141f8..30ef42a95 100755 --- a/Source/DistanceFunctions/arm_chebyshev_distance_f16.c +++ b/Source/DistanceFunctions/arm_chebyshev_distance_f16.c @@ -64,7 +64,7 @@ #include "arm_helium_utils.h" #include "arm_vec_math.h" -float16_t arm_chebyshev_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float16_t arm_chebyshev_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize) { uint32_t blkCnt; /* loop counters */ f16x8_t vecA, vecB; @@ -111,7 +111,7 @@ float16_t arm_chebyshev_distance_f16(const float16_t *pA,const float16_t *pB, ui } #else -float16_t arm_chebyshev_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float16_t arm_chebyshev_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize) { _Float16 diff=0.0f, maxVal,tmpA, tmpB; diff --git a/Source/DistanceFunctions/arm_chebyshev_distance_f32.c b/Source/DistanceFunctions/arm_chebyshev_distance_f32.c index 41da72d76..d4ec339c2 100755 --- a/Source/DistanceFunctions/arm_chebyshev_distance_f32.c +++ b/Source/DistanceFunctions/arm_chebyshev_distance_f32.c @@ -52,7 +52,7 @@ #include "arm_helium_utils.h" #include "arm_vec_math.h" -float32_t arm_chebyshev_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float32_t arm_chebyshev_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) { uint32_t blkCnt; /* loop counters */ f32x4_t vecA, vecB; @@ -103,7 +103,7 @@ float32_t arm_chebyshev_distance_f32(const float32_t *pA,const float32_t *pB, ui #include "NEMath.h" -float32_t arm_chebyshev_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float32_t arm_chebyshev_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) { float32_t diff=0.0f, maxVal=0.0f, tmpA, tmpB; uint32_t blkCnt; @@ -180,7 +180,7 @@ float32_t arm_chebyshev_distance_f32(const float32_t *pA,const float32_t *pB, ui } #else -float32_t arm_chebyshev_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float32_t arm_chebyshev_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) { float32_t diff=0.0f, maxVal,tmpA, tmpB; diff --git a/Source/DistanceFunctions/arm_chebyshev_distance_f64.c b/Source/DistanceFunctions/arm_chebyshev_distance_f64.c index c7797f8a7..42f34bff9 100644 --- a/Source/DistanceFunctions/arm_chebyshev_distance_f64.c +++ b/Source/DistanceFunctions/arm_chebyshev_distance_f64.c @@ -46,7 +46,7 @@ * @return distance * */ -float64_t arm_chebyshev_distance_f64(const float64_t *pA,const float64_t *pB, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float64_t arm_chebyshev_distance_f64(const float64_t *pA,const float64_t *pB, uint32_t blockSize) { float64_t diff=0., maxVal,tmpA, tmpB; diff --git a/Source/DistanceFunctions/arm_cityblock_distance_f16.c b/Source/DistanceFunctions/arm_cityblock_distance_f16.c index 44b3bdfea..86a12f4b0 100755 --- a/Source/DistanceFunctions/arm_cityblock_distance_f16.c +++ b/Source/DistanceFunctions/arm_cityblock_distance_f16.c @@ -63,7 +63,7 @@ #include "arm_helium_utils.h" #include "arm_vec_math.h" -float16_t arm_cityblock_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float16_t arm_cityblock_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize) { uint32_t blkCnt; f16x8_t a, b, accumV, tempV; @@ -102,7 +102,7 @@ float16_t arm_cityblock_distance_f16(const float16_t *pA,const float16_t *pB, ui } #else -float16_t arm_cityblock_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float16_t arm_cityblock_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize) { _Float16 accum,tmpA, tmpB; diff --git a/Source/DistanceFunctions/arm_cityblock_distance_f32.c b/Source/DistanceFunctions/arm_cityblock_distance_f32.c index 08d406a23..b7ef193c3 100755 --- a/Source/DistanceFunctions/arm_cityblock_distance_f32.c +++ b/Source/DistanceFunctions/arm_cityblock_distance_f32.c @@ -50,7 +50,7 @@ #include "arm_helium_utils.h" #include "arm_vec_math.h" -float32_t arm_cityblock_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float32_t arm_cityblock_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) { uint32_t blkCnt; f32x4_t a, b, accumV, tempV; @@ -93,7 +93,7 @@ float32_t arm_cityblock_distance_f32(const float32_t *pA,const float32_t *pB, ui #include "NEMath.h" -float32_t arm_cityblock_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float32_t arm_cityblock_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) { float32_t accum=0.0f, tmpA, tmpB; uint32_t blkCnt; @@ -133,7 +133,7 @@ float32_t arm_cityblock_distance_f32(const float32_t *pA,const float32_t *pB, ui } #else -float32_t arm_cityblock_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float32_t arm_cityblock_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) { float32_t accum,tmpA, tmpB; diff --git a/Source/DistanceFunctions/arm_cityblock_distance_f64.c b/Source/DistanceFunctions/arm_cityblock_distance_f64.c index 1932215da..196f32cb7 100644 --- a/Source/DistanceFunctions/arm_cityblock_distance_f64.c +++ b/Source/DistanceFunctions/arm_cityblock_distance_f64.c @@ -45,7 +45,7 @@ * @return distance * */ -float64_t arm_cityblock_distance_f64(const float64_t *pA,const float64_t *pB, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float64_t arm_cityblock_distance_f64(const float64_t *pA,const float64_t *pB, uint32_t blockSize) { float64_t accum,tmpA, tmpB; uint32_t blkCnt; diff --git a/Source/DistanceFunctions/arm_correlation_distance_f16.c b/Source/DistanceFunctions/arm_correlation_distance_f16.c index 7517cece1..7481dbd4f 100755 --- a/Source/DistanceFunctions/arm_correlation_distance_f16.c +++ b/Source/DistanceFunctions/arm_correlation_distance_f16.c @@ -63,7 +63,7 @@ * */ -float16_t arm_correlation_distance_f16(float16_t *pA,float16_t *pB, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float16_t arm_correlation_distance_f16(float16_t *pA,float16_t *pB, uint32_t blockSize) { float16_t ma,mb,pwra,pwrb,dot,tmp; diff --git a/Source/DistanceFunctions/arm_correlation_distance_f32.c b/Source/DistanceFunctions/arm_correlation_distance_f32.c index 2578016ef..7ee6cf650 100755 --- a/Source/DistanceFunctions/arm_correlation_distance_f32.c +++ b/Source/DistanceFunctions/arm_correlation_distance_f32.c @@ -51,7 +51,7 @@ * */ -float32_t arm_correlation_distance_f32(float32_t *pA,float32_t *pB, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float32_t arm_correlation_distance_f32(float32_t *pA,float32_t *pB, uint32_t blockSize) { float32_t ma,mb,pwra,pwrb,dot,tmp; diff --git a/Source/DistanceFunctions/arm_cosine_distance_f16.c b/Source/DistanceFunctions/arm_cosine_distance_f16.c index 20f890ba0..0c69b4506 100755 --- a/Source/DistanceFunctions/arm_cosine_distance_f16.c +++ b/Source/DistanceFunctions/arm_cosine_distance_f16.c @@ -64,7 +64,7 @@ * cosine_distance(u,v) is 1 - u . v / (Norm(u) Norm(v)) */ -float16_t arm_cosine_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float16_t arm_cosine_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize) { float16_t pwra,pwrb,dot,tmp; diff --git a/Source/DistanceFunctions/arm_cosine_distance_f32.c b/Source/DistanceFunctions/arm_cosine_distance_f32.c index 014bff002..496cada47 100755 --- a/Source/DistanceFunctions/arm_cosine_distance_f32.c +++ b/Source/DistanceFunctions/arm_cosine_distance_f32.c @@ -51,7 +51,7 @@ * cosine_distance(u,v) is 1 - u . v / (Norm(u) Norm(v)) */ -float32_t arm_cosine_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float32_t arm_cosine_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) { float32_t pwra,pwrb,dot,tmp; diff --git a/Source/DistanceFunctions/arm_cosine_distance_f64.c b/Source/DistanceFunctions/arm_cosine_distance_f64.c index 423eea46d..800a96778 100644 --- a/Source/DistanceFunctions/arm_cosine_distance_f64.c +++ b/Source/DistanceFunctions/arm_cosine_distance_f64.c @@ -49,7 +49,7 @@ * */ -float64_t arm_cosine_distance_f64(const float64_t *pA,const float64_t *pB, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float64_t arm_cosine_distance_f64(const float64_t *pA,const float64_t *pB, uint32_t blockSize) { float64_t pwra,pwrb,dot,tmp; diff --git a/Source/DistanceFunctions/arm_dice_distance.c b/Source/DistanceFunctions/arm_dice_distance.c index cae963a6a..e3ca16012 100755 --- a/Source/DistanceFunctions/arm_dice_distance.c +++ b/Source/DistanceFunctions/arm_dice_distance.c @@ -73,7 +73,7 @@ extern void arm_boolean_distance_TT_TF_FT(const uint32_t *pA * */ -float32_t arm_dice_distance(const uint32_t *pA, const uint32_t *pB, uint32_t numberOfBools) +ARM_DSP_ATTRIBUTE float32_t arm_dice_distance(const uint32_t *pA, const uint32_t *pB, uint32_t numberOfBools) { uint32_t ctt=0,ctf=0,cft=0; diff --git a/Source/DistanceFunctions/arm_dtw_distance_f32.c b/Source/DistanceFunctions/arm_dtw_distance_f32.c index 68ed11063..a5c2e307d 100644 --- a/Source/DistanceFunctions/arm_dtw_distance_f32.c +++ b/Source/DistanceFunctions/arm_dtw_distance_f32.c @@ -83,7 +83,7 @@ * Thus, use of a window also decreases the number * of distances which must be computed. */ -arm_status arm_dtw_distance_f32(const arm_matrix_instance_f32 *pDistance, +ARM_DSP_ATTRIBUTE arm_status arm_dtw_distance_f32(const arm_matrix_instance_f32 *pDistance, const arm_matrix_instance_q7 *pWindow, arm_matrix_instance_f32 *pDTW, float32_t *distance) diff --git a/Source/DistanceFunctions/arm_dtw_init_window_q7.c b/Source/DistanceFunctions/arm_dtw_init_window_q7.c index 31c110948..c6801da30 100644 --- a/Source/DistanceFunctions/arm_dtw_init_window_q7.c +++ b/Source/DistanceFunctions/arm_dtw_init_window_q7.c @@ -57,7 +57,7 @@ * The function will fill the matrix with 0 and 1. * */ -arm_status arm_dtw_init_window_q7(const arm_dtw_window windowType, +ARM_DSP_ATTRIBUTE arm_status arm_dtw_init_window_q7(const arm_dtw_window windowType, const int32_t windowSize, arm_matrix_instance_q7 *pWindow) { diff --git a/Source/DistanceFunctions/arm_dtw_path_f32.c b/Source/DistanceFunctions/arm_dtw_path_f32.c index 934065e6e..fd23917cf 100644 --- a/Source/DistanceFunctions/arm_dtw_path_f32.c +++ b/Source/DistanceFunctions/arm_dtw_path_f32.c @@ -63,7 +63,7 @@ * may be smaller than query + template. * */ -void arm_dtw_path_f32(const arm_matrix_instance_f32 *pDTW, +ARM_DSP_ATTRIBUTE void arm_dtw_path_f32(const arm_matrix_instance_f32 *pDTW, int16_t *pPath, uint32_t *pathLength) { diff --git a/Source/DistanceFunctions/arm_euclidean_distance_f16.c b/Source/DistanceFunctions/arm_euclidean_distance_f16.c index 07860e6bc..ab7cb2796 100755 --- a/Source/DistanceFunctions/arm_euclidean_distance_f16.c +++ b/Source/DistanceFunctions/arm_euclidean_distance_f16.c @@ -64,7 +64,7 @@ #include "arm_helium_utils.h" #include "arm_vec_math.h" -float16_t arm_euclidean_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float16_t arm_euclidean_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize) { uint32_t blkCnt; float16_t tmp; @@ -105,7 +105,7 @@ float16_t arm_euclidean_distance_f16(const float16_t *pA,const float16_t *pB, ui } #else -float16_t arm_euclidean_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float16_t arm_euclidean_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize) { _Float16 accum=0.0f,tmp; float16_t result; diff --git a/Source/DistanceFunctions/arm_euclidean_distance_f32.c b/Source/DistanceFunctions/arm_euclidean_distance_f32.c index 59702877c..9a2b485c5 100755 --- a/Source/DistanceFunctions/arm_euclidean_distance_f32.c +++ b/Source/DistanceFunctions/arm_euclidean_distance_f32.c @@ -51,7 +51,7 @@ #include "arm_helium_utils.h" #include "arm_vec_math.h" -float32_t arm_euclidean_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float32_t arm_euclidean_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) { uint32_t blkCnt; float32_t tmp; @@ -95,7 +95,7 @@ float32_t arm_euclidean_distance_f32(const float32_t *pA,const float32_t *pB, ui #include "NEMath.h" -float32_t arm_euclidean_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float32_t arm_euclidean_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) { float32_t accum=0.0f,tmp; uint32_t blkCnt; @@ -130,7 +130,7 @@ float32_t arm_euclidean_distance_f32(const float32_t *pA,const float32_t *pB, ui } #else -float32_t arm_euclidean_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float32_t arm_euclidean_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) { float32_t accum=0.0f,tmp; diff --git a/Source/DistanceFunctions/arm_euclidean_distance_f64.c b/Source/DistanceFunctions/arm_euclidean_distance_f64.c index 925769c3a..712a28165 100644 --- a/Source/DistanceFunctions/arm_euclidean_distance_f64.c +++ b/Source/DistanceFunctions/arm_euclidean_distance_f64.c @@ -47,7 +47,7 @@ * @return distance * */ -float64_t arm_euclidean_distance_f64(const float64_t *pA,const float64_t *pB, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float64_t arm_euclidean_distance_f64(const float64_t *pA,const float64_t *pB, uint32_t blockSize) { float64_t accum=0.,tmp; uint32_t blkCnt; diff --git a/Source/DistanceFunctions/arm_hamming_distance.c b/Source/DistanceFunctions/arm_hamming_distance.c index f95c46eb2..4280fef0f 100755 --- a/Source/DistanceFunctions/arm_hamming_distance.c +++ b/Source/DistanceFunctions/arm_hamming_distance.c @@ -55,7 +55,7 @@ extern void arm_boolean_distance_TF_FT(const uint32_t *pA * */ -float32_t arm_hamming_distance(const uint32_t *pA, const uint32_t *pB, uint32_t numberOfBools) +ARM_DSP_ATTRIBUTE float32_t arm_hamming_distance(const uint32_t *pA, const uint32_t *pB, uint32_t numberOfBools) { uint32_t ctf=0,cft=0; diff --git a/Source/DistanceFunctions/arm_jaccard_distance.c b/Source/DistanceFunctions/arm_jaccard_distance.c index 26617a5d3..fd6f7bbb0 100755 --- a/Source/DistanceFunctions/arm_jaccard_distance.c +++ b/Source/DistanceFunctions/arm_jaccard_distance.c @@ -57,7 +57,7 @@ extern void arm_boolean_distance_TT_TF_FT(const uint32_t *pA * */ -float32_t arm_jaccard_distance(const uint32_t *pA, const uint32_t *pB, uint32_t numberOfBools) +ARM_DSP_ATTRIBUTE float32_t arm_jaccard_distance(const uint32_t *pA, const uint32_t *pB, uint32_t numberOfBools) { uint32_t ctt=0,ctf=0,cft=0; diff --git a/Source/DistanceFunctions/arm_jensenshannon_distance_f16.c b/Source/DistanceFunctions/arm_jensenshannon_distance_f16.c index b31ef348c..8f2e30503 100755 --- a/Source/DistanceFunctions/arm_jensenshannon_distance_f16.c +++ b/Source/DistanceFunctions/arm_jensenshannon_distance_f16.c @@ -64,7 +64,7 @@ __STATIC_INLINE float16_t rel_entr(float16_t x, float16_t y) #include "arm_helium_utils.h" #include "arm_vec_math_f16.h" -float16_t arm_jensenshannon_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float16_t arm_jensenshannon_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize) { uint32_t blkCnt; float16_t tmp; @@ -145,7 +145,7 @@ float16_t arm_jensenshannon_distance_f16(const float16_t *pA,const float16_t *pB */ -float16_t arm_jensenshannon_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float16_t arm_jensenshannon_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize) { _Float16 left, right,sum, tmp; float16_t result; diff --git a/Source/DistanceFunctions/arm_jensenshannon_distance_f32.c b/Source/DistanceFunctions/arm_jensenshannon_distance_f32.c index 5f1a44ccb..c2fe836db 100755 --- a/Source/DistanceFunctions/arm_jensenshannon_distance_f32.c +++ b/Source/DistanceFunctions/arm_jensenshannon_distance_f32.c @@ -51,7 +51,7 @@ __STATIC_INLINE float32_t rel_entr(float32_t x, float32_t y) #include "arm_helium_utils.h" #include "arm_vec_math.h" -float32_t arm_jensenshannon_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float32_t arm_jensenshannon_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) { uint32_t blkCnt; float32_t tmp; @@ -136,7 +136,7 @@ float32_t arm_jensenshannon_distance_f32(const float32_t *pA,const float32_t *pB */ -float32_t arm_jensenshannon_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float32_t arm_jensenshannon_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) { float32_t accum, result, tmp,a,b; uint32_t blkCnt; @@ -218,7 +218,7 @@ float32_t arm_jensenshannon_distance_f32(const float32_t *pA,const float32_t *pB */ -float32_t arm_jensenshannon_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float32_t arm_jensenshannon_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) { float32_t left, right,sum, result, tmp; uint32_t i; diff --git a/Source/DistanceFunctions/arm_kulsinski_distance.c b/Source/DistanceFunctions/arm_kulsinski_distance.c index 239dc0e53..c88834e9a 100755 --- a/Source/DistanceFunctions/arm_kulsinski_distance.c +++ b/Source/DistanceFunctions/arm_kulsinski_distance.c @@ -58,7 +58,7 @@ extern void arm_boolean_distance_TT_TF_FT(const uint32_t *pA * */ -float32_t arm_kulsinski_distance(const uint32_t *pA, const uint32_t *pB, uint32_t numberOfBools) +ARM_DSP_ATTRIBUTE float32_t arm_kulsinski_distance(const uint32_t *pA, const uint32_t *pB, uint32_t numberOfBools) { uint32_t ctt=0,ctf=0,cft=0; diff --git a/Source/DistanceFunctions/arm_minkowski_distance_f16.c b/Source/DistanceFunctions/arm_minkowski_distance_f16.c index c5300ab03..f32c6e957 100755 --- a/Source/DistanceFunctions/arm_minkowski_distance_f16.c +++ b/Source/DistanceFunctions/arm_minkowski_distance_f16.c @@ -66,7 +66,7 @@ #include "arm_helium_utils.h" #include "arm_vec_math_f16.h" -float16_t arm_minkowski_distance_f16(const float16_t *pA,const float16_t *pB, int32_t order, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float16_t arm_minkowski_distance_f16(const float16_t *pA,const float16_t *pB, int32_t order, uint32_t blockSize) { uint32_t blkCnt; f16x8_t a, b, tmpV, sumV; @@ -110,7 +110,7 @@ float16_t arm_minkowski_distance_f16(const float16_t *pA,const float16_t *pB, in #else -float16_t arm_minkowski_distance_f16(const float16_t *pA,const float16_t *pB, int32_t order, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float16_t arm_minkowski_distance_f16(const float16_t *pA,const float16_t *pB, int32_t order, uint32_t blockSize) { _Float16 sum; uint32_t i; diff --git a/Source/DistanceFunctions/arm_minkowski_distance_f32.c b/Source/DistanceFunctions/arm_minkowski_distance_f32.c index b881fc1f2..5b2b3b64c 100755 --- a/Source/DistanceFunctions/arm_minkowski_distance_f32.c +++ b/Source/DistanceFunctions/arm_minkowski_distance_f32.c @@ -73,7 +73,7 @@ __attribute__((weak)) float __powisf2(float a, int b) #include "arm_helium_utils.h" #include "arm_vec_math.h" -float32_t arm_minkowski_distance_f32(const float32_t *pA,const float32_t *pB, int32_t order, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float32_t arm_minkowski_distance_f32(const float32_t *pA,const float32_t *pB, int32_t order, uint32_t blockSize) { uint32_t blkCnt; f32x4_t a, b, tmpV, sumV; @@ -118,7 +118,7 @@ float32_t arm_minkowski_distance_f32(const float32_t *pA,const float32_t *pB, in #include "NEMath.h" -float32_t arm_minkowski_distance_f32(const float32_t *pA,const float32_t *pB, int32_t order, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float32_t arm_minkowski_distance_f32(const float32_t *pA,const float32_t *pB, int32_t order, uint32_t blockSize) { float32_t sum; uint32_t blkCnt; @@ -164,7 +164,7 @@ float32_t arm_minkowski_distance_f32(const float32_t *pA,const float32_t *pB, in #else -float32_t arm_minkowski_distance_f32(const float32_t *pA,const float32_t *pB, int32_t order, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float32_t arm_minkowski_distance_f32(const float32_t *pA,const float32_t *pB, int32_t order, uint32_t blockSize) { float32_t sum; uint32_t i; diff --git a/Source/DistanceFunctions/arm_rogerstanimoto_distance.c b/Source/DistanceFunctions/arm_rogerstanimoto_distance.c index b918fadba..3f30148e2 100755 --- a/Source/DistanceFunctions/arm_rogerstanimoto_distance.c +++ b/Source/DistanceFunctions/arm_rogerstanimoto_distance.c @@ -58,7 +58,7 @@ extern void arm_boolean_distance_TT_FF_TF_FT(const uint32_t *pA * */ -float32_t arm_rogerstanimoto_distance(const uint32_t *pA, const uint32_t *pB, uint32_t numberOfBools) +ARM_DSP_ATTRIBUTE float32_t arm_rogerstanimoto_distance(const uint32_t *pA, const uint32_t *pB, uint32_t numberOfBools) { uint32_t ctt=0,cff=0,ctf=0,cft=0,r; diff --git a/Source/DistanceFunctions/arm_russellrao_distance.c b/Source/DistanceFunctions/arm_russellrao_distance.c index 0698a64a9..af39f0de5 100755 --- a/Source/DistanceFunctions/arm_russellrao_distance.c +++ b/Source/DistanceFunctions/arm_russellrao_distance.c @@ -55,7 +55,7 @@ extern void arm_boolean_distance_TT(const uint32_t *pA * */ -float32_t arm_russellrao_distance(const uint32_t *pA, const uint32_t *pB, uint32_t numberOfBools) +ARM_DSP_ATTRIBUTE float32_t arm_russellrao_distance(const uint32_t *pA, const uint32_t *pB, uint32_t numberOfBools) { uint32_t ctt=0; diff --git a/Source/DistanceFunctions/arm_sokalmichener_distance.c b/Source/DistanceFunctions/arm_sokalmichener_distance.c index 8015c97af..4abd0291c 100755 --- a/Source/DistanceFunctions/arm_sokalmichener_distance.c +++ b/Source/DistanceFunctions/arm_sokalmichener_distance.c @@ -57,7 +57,7 @@ extern void arm_boolean_distance_TT_FF_TF_FT(const uint32_t *pA * */ -float32_t arm_sokalmichener_distance(const uint32_t *pA, const uint32_t *pB, uint32_t numberOfBools) +ARM_DSP_ATTRIBUTE float32_t arm_sokalmichener_distance(const uint32_t *pA, const uint32_t *pB, uint32_t numberOfBools) { uint32_t ctt=0,cff=0,cft=0,ctf=0; float32_t r,s; diff --git a/Source/DistanceFunctions/arm_sokalsneath_distance.c b/Source/DistanceFunctions/arm_sokalsneath_distance.c index 93d8e50e0..6a86c591c 100755 --- a/Source/DistanceFunctions/arm_sokalsneath_distance.c +++ b/Source/DistanceFunctions/arm_sokalsneath_distance.c @@ -56,7 +56,7 @@ extern void arm_boolean_distance_TT_TF_FT(const uint32_t *pA * */ -float32_t arm_sokalsneath_distance(const uint32_t *pA, const uint32_t *pB, uint32_t numberOfBools) +ARM_DSP_ATTRIBUTE float32_t arm_sokalsneath_distance(const uint32_t *pA, const uint32_t *pB, uint32_t numberOfBools) { uint32_t ctt=0,cft=0,ctf=0; float32_t r; diff --git a/Source/DistanceFunctions/arm_yule_distance.c b/Source/DistanceFunctions/arm_yule_distance.c index 54afebfaf..c4067035c 100755 --- a/Source/DistanceFunctions/arm_yule_distance.c +++ b/Source/DistanceFunctions/arm_yule_distance.c @@ -57,7 +57,7 @@ extern void arm_boolean_distance_TT_FF_TF_FT(const uint32_t *pA * */ -float32_t arm_yule_distance(const uint32_t *pA, const uint32_t *pB, uint32_t numberOfBools) +ARM_DSP_ATTRIBUTE float32_t arm_yule_distance(const uint32_t *pA, const uint32_t *pB, uint32_t numberOfBools) { uint32_t ctt=0,cff=0,ctf=0,cft=0,r; diff --git a/Source/FastMathFunctions/arm_atan2_f16.c b/Source/FastMathFunctions/arm_atan2_f16.c index d4cb44d60..507a33a21 100755 --- a/Source/FastMathFunctions/arm_atan2_f16.c +++ b/Source/FastMathFunctions/arm_atan2_f16.c @@ -116,7 +116,7 @@ __STATIC_FORCEINLINE float16_t arm_atan_f16(float16_t x) and compute the right angle. Returned value is between -Pi and Pi. */ -arm_status arm_atan2_f16(float16_t y,float16_t x,float16_t *result) +ARM_DSP_ATTRIBUTE arm_status arm_atan2_f16(float16_t y,float16_t x,float16_t *result) { if ((_Float16)x > 0.0f16) { diff --git a/Source/FastMathFunctions/arm_atan2_f32.c b/Source/FastMathFunctions/arm_atan2_f32.c index 9164dc40b..56964e7df 100755 --- a/Source/FastMathFunctions/arm_atan2_f32.c +++ b/Source/FastMathFunctions/arm_atan2_f32.c @@ -129,7 +129,7 @@ __STATIC_FORCEINLINE float32_t arm_atan_f32(float32_t x) */ -arm_status arm_atan2_f32(float32_t y,float32_t x,float32_t *result) +ARM_DSP_ATTRIBUTE arm_status arm_atan2_f32(float32_t y,float32_t x,float32_t *result) { if (x > 0.0f) { diff --git a/Source/FastMathFunctions/arm_atan2_q15.c b/Source/FastMathFunctions/arm_atan2_q15.c index 739504524..0e19a3330 100755 --- a/Source/FastMathFunctions/arm_atan2_q15.c +++ b/Source/FastMathFunctions/arm_atan2_q15.c @@ -182,7 +182,7 @@ __STATIC_FORCEINLINE q15_t arm_atan_q15(q15_t y,q15_t x) */ -arm_status arm_atan2_q15(q15_t y,q15_t x,q15_t *result) +ARM_DSP_ATTRIBUTE arm_status arm_atan2_q15(q15_t y,q15_t x,q15_t *result) { if (x > 0) { diff --git a/Source/FastMathFunctions/arm_atan2_q31.c b/Source/FastMathFunctions/arm_atan2_q31.c index 109295126..4d75752ad 100755 --- a/Source/FastMathFunctions/arm_atan2_q31.c +++ b/Source/FastMathFunctions/arm_atan2_q31.c @@ -182,7 +182,7 @@ __STATIC_FORCEINLINE q31_t arm_atan_q31(q31_t y,q31_t x) */ -arm_status arm_atan2_q31(q31_t y,q31_t x,q31_t *result) +ARM_DSP_ATTRIBUTE arm_status arm_atan2_q31(q31_t y,q31_t x,q31_t *result) { if (x > 0) { diff --git a/Source/FastMathFunctions/arm_cos_f32.c b/Source/FastMathFunctions/arm_cos_f32.c index de037c874..366bc0e6a 100644 --- a/Source/FastMathFunctions/arm_cos_f32.c +++ b/Source/FastMathFunctions/arm_cos_f32.c @@ -67,7 +67,7 @@ @param[in] x input value in radians @return cos(x) */ -float32_t arm_cos_f32( +ARM_DSP_ATTRIBUTE float32_t arm_cos_f32( float32_t x) { float32_t cosVal, fract, in; /* Temporary input, output variables */ diff --git a/Source/FastMathFunctions/arm_cos_q15.c b/Source/FastMathFunctions/arm_cos_q15.c index 6b552f11e..fd0cbf97b 100644 --- a/Source/FastMathFunctions/arm_cos_q15.c +++ b/Source/FastMathFunctions/arm_cos_q15.c @@ -46,7 +46,7 @@ The Q15 input value is in the range [0 +0.9999] and is mapped to a radian value in the range [0 2*PI). */ -q15_t arm_cos_q15( +ARM_DSP_ATTRIBUTE q15_t arm_cos_q15( q15_t x) { q15_t cosVal; /* Temporary input, output variables */ diff --git a/Source/FastMathFunctions/arm_cos_q31.c b/Source/FastMathFunctions/arm_cos_q31.c index 8386c8f2a..73b26a2ff 100644 --- a/Source/FastMathFunctions/arm_cos_q31.c +++ b/Source/FastMathFunctions/arm_cos_q31.c @@ -46,7 +46,7 @@ The Q31 input value is in the range [0 +0.9999] and is mapped to a radian value in the range [0 2*PI). */ -q31_t arm_cos_q31( +ARM_DSP_ATTRIBUTE q31_t arm_cos_q31( q31_t x) { q31_t cosVal; /* Temporary input, output variables */ diff --git a/Source/FastMathFunctions/arm_divide_q15.c b/Source/FastMathFunctions/arm_divide_q15.c index cd57a43c2..7c4038bd4 100755 --- a/Source/FastMathFunctions/arm_divide_q15.c +++ b/Source/FastMathFunctions/arm_divide_q15.c @@ -57,7 +57,7 @@ to the saturated negative or positive value. */ -arm_status arm_divide_q15(q15_t numerator, +ARM_DSP_ATTRIBUTE arm_status arm_divide_q15(q15_t numerator, q15_t denominator, q15_t *quotient, int16_t *shift) diff --git a/Source/FastMathFunctions/arm_divide_q31.c b/Source/FastMathFunctions/arm_divide_q31.c index eeed6fbf7..1356d8aff 100755 --- a/Source/FastMathFunctions/arm_divide_q31.c +++ b/Source/FastMathFunctions/arm_divide_q31.c @@ -52,7 +52,7 @@ to the saturated negative or positive value. */ -arm_status arm_divide_q31(q31_t numerator, +ARM_DSP_ATTRIBUTE arm_status arm_divide_q31(q31_t numerator, q31_t denominator, q31_t *quotient, int16_t *shift) diff --git a/Source/FastMathFunctions/arm_sin_f32.c b/Source/FastMathFunctions/arm_sin_f32.c index 2fcd6bb1b..f7f3d1366 100644 --- a/Source/FastMathFunctions/arm_sin_f32.c +++ b/Source/FastMathFunctions/arm_sin_f32.c @@ -68,7 +68,7 @@ @return sin(x) */ -float32_t arm_sin_f32( +ARM_DSP_ATTRIBUTE float32_t arm_sin_f32( float32_t x) { float32_t sinVal, fract, in; /* Temporary input, output variables */ diff --git a/Source/FastMathFunctions/arm_sin_q15.c b/Source/FastMathFunctions/arm_sin_q15.c index 81f0d627f..00b11fd7d 100644 --- a/Source/FastMathFunctions/arm_sin_q15.c +++ b/Source/FastMathFunctions/arm_sin_q15.c @@ -46,7 +46,7 @@ The Q15 input value is in the range [0 +0.9999] and is mapped to a radian value in the range [0 2*PI). */ -q15_t arm_sin_q15( +ARM_DSP_ATTRIBUTE q15_t arm_sin_q15( q15_t x) { q15_t sinVal; /* Temporary input, output variables */ diff --git a/Source/FastMathFunctions/arm_sin_q31.c b/Source/FastMathFunctions/arm_sin_q31.c index 06262fd5d..0c772a21b 100644 --- a/Source/FastMathFunctions/arm_sin_q31.c +++ b/Source/FastMathFunctions/arm_sin_q31.c @@ -46,7 +46,7 @@ The Q31 input value is in the range [0 +0.9999] and is mapped to a radian value in the range [0 2*PI). */ -q31_t arm_sin_q31( +ARM_DSP_ATTRIBUTE q31_t arm_sin_q31( q31_t x) { q31_t sinVal; /* Temporary variables for input, output */ diff --git a/Source/FastMathFunctions/arm_sqrt_q15.c b/Source/FastMathFunctions/arm_sqrt_q15.c index e29cad88e..fbf6301d4 100644 --- a/Source/FastMathFunctions/arm_sqrt_q15.c +++ b/Source/FastMathFunctions/arm_sqrt_q15.c @@ -49,7 +49,7 @@ - \ref ARM_MATH_ARGUMENT_ERROR : input value is negative; *pOut is set to 0 */ -arm_status arm_sqrt_q15( +ARM_DSP_ATTRIBUTE arm_status arm_sqrt_q15( q15_t in, q15_t * pOut) { diff --git a/Source/FastMathFunctions/arm_sqrt_q31.c b/Source/FastMathFunctions/arm_sqrt_q31.c index 67850de99..9e1eaef11 100644 --- a/Source/FastMathFunctions/arm_sqrt_q31.c +++ b/Source/FastMathFunctions/arm_sqrt_q31.c @@ -49,7 +49,7 @@ - \ref ARM_MATH_ARGUMENT_ERROR : input value is negative; *pOut is set to 0 */ -arm_status arm_sqrt_q31( +ARM_DSP_ATTRIBUTE arm_status arm_sqrt_q31( q31_t in, q31_t * pOut) { diff --git a/Source/FastMathFunctions/arm_vexp_f16.c b/Source/FastMathFunctions/arm_vexp_f16.c index d64ce5fd8..d6278ab13 100755 --- a/Source/FastMathFunctions/arm_vexp_f16.c +++ b/Source/FastMathFunctions/arm_vexp_f16.c @@ -45,7 +45,7 @@ @param[out] pDst points to the output vector @param[in] blockSize number of samples in each vector */ -void arm_vexp_f16( +ARM_DSP_ATTRIBUTE void arm_vexp_f16( const float16_t * pSrc, float16_t * pDst, uint32_t blockSize) diff --git a/Source/FastMathFunctions/arm_vexp_f32.c b/Source/FastMathFunctions/arm_vexp_f32.c index fea3d46bc..d87cb8837 100755 --- a/Source/FastMathFunctions/arm_vexp_f32.c +++ b/Source/FastMathFunctions/arm_vexp_f32.c @@ -54,7 +54,7 @@ @param[out] pDst points to the output vector @param[in] blockSize number of samples in each vector */ -void arm_vexp_f32( +ARM_DSP_ATTRIBUTE void arm_vexp_f32( const float32_t * pSrc, float32_t * pDst, uint32_t blockSize) diff --git a/Source/FastMathFunctions/arm_vexp_f64.c b/Source/FastMathFunctions/arm_vexp_f64.c index e9c868243..1ae98e2fd 100644 --- a/Source/FastMathFunctions/arm_vexp_f64.c +++ b/Source/FastMathFunctions/arm_vexp_f64.c @@ -30,7 +30,7 @@ #include "arm_common_tables.h" -void arm_vexp_f64( +ARM_DSP_ATTRIBUTE void arm_vexp_f64( const float64_t * pSrc, float64_t * pDst, uint32_t blockSize) diff --git a/Source/FastMathFunctions/arm_vinverse_f16.c b/Source/FastMathFunctions/arm_vinverse_f16.c index 1067d02f9..3b9cccbf3 100755 --- a/Source/FastMathFunctions/arm_vinverse_f16.c +++ b/Source/FastMathFunctions/arm_vinverse_f16.c @@ -34,7 +34,7 @@ #include "arm_vec_math_f16.h" -void arm_vinverse_f16( +ARM_DSP_ATTRIBUTE void arm_vinverse_f16( const float16_t * pSrc, float16_t * pDst, uint32_t blockSize) diff --git a/Source/FastMathFunctions/arm_vlog_f16.c b/Source/FastMathFunctions/arm_vlog_f16.c index 80a6d912d..826237c31 100755 --- a/Source/FastMathFunctions/arm_vlog_f16.c +++ b/Source/FastMathFunctions/arm_vlog_f16.c @@ -169,7 +169,7 @@ float16x8_t vlogq_lut_f16(float16x8_t vecIn) */ -void arm_vlog_f16( +ARM_DSP_ATTRIBUTE void arm_vlog_f16( const float16_t * pSrc, float16_t * pDst, uint32_t blockSize) diff --git a/Source/FastMathFunctions/arm_vlog_f32.c b/Source/FastMathFunctions/arm_vlog_f32.c index 888a11f3b..7e9ca0125 100755 --- a/Source/FastMathFunctions/arm_vlog_f32.c +++ b/Source/FastMathFunctions/arm_vlog_f32.c @@ -51,7 +51,7 @@ #include "arm_vec_math.h" #endif -void arm_vlog_f32( +ARM_DSP_ATTRIBUTE void arm_vlog_f32( const float32_t * pSrc, float32_t * pDst, uint32_t blockSize) diff --git a/Source/FastMathFunctions/arm_vlog_f64.c b/Source/FastMathFunctions/arm_vlog_f64.c index 9da09b8eb..8e183f5c6 100644 --- a/Source/FastMathFunctions/arm_vlog_f64.c +++ b/Source/FastMathFunctions/arm_vlog_f64.c @@ -29,7 +29,7 @@ #include "dsp/fast_math_functions.h" #include "arm_common_tables.h" -void arm_vlog_f64( +ARM_DSP_ATTRIBUTE void arm_vlog_f64( const float64_t * pSrc, float64_t * pDst, uint32_t blockSize) diff --git a/Source/FastMathFunctions/arm_vlog_q15.c b/Source/FastMathFunctions/arm_vlog_q15.c index 72d519fbe..661da853a 100755 --- a/Source/FastMathFunctions/arm_vlog_q15.c +++ b/Source/FastMathFunctions/arm_vlog_q15.c @@ -218,7 +218,7 @@ q15x8_t vlogq_q15(q15x8_t src) @param[in] blockSize number of samples in each vector */ -void arm_vlog_q15( +ARM_DSP_ATTRIBUTE void arm_vlog_q15( const q15_t * pSrc, q15_t * pDst, uint32_t blockSize) diff --git a/Source/FastMathFunctions/arm_vlog_q31.c b/Source/FastMathFunctions/arm_vlog_q31.c index c6cb6966b..962889d0c 100755 --- a/Source/FastMathFunctions/arm_vlog_q31.c +++ b/Source/FastMathFunctions/arm_vlog_q31.c @@ -211,7 +211,7 @@ q31x4_t vlogq_q31(q31x4_t src) @param[out] pDst points to the output vector q5.26 @param[in] blockSize number of samples in each vector */ -void arm_vlog_q31( +ARM_DSP_ATTRIBUTE void arm_vlog_q31( const q31_t * pSrc, q31_t * pDst, uint32_t blockSize) diff --git a/Source/FilteringFunctions/arm_biquad_cascade_df1_32x64_init_q31.c b/Source/FilteringFunctions/arm_biquad_cascade_df1_32x64_init_q31.c index 7e48812ed..fc25b693a 100644 --- a/Source/FilteringFunctions/arm_biquad_cascade_df1_32x64_init_q31.c +++ b/Source/FilteringFunctions/arm_biquad_cascade_df1_32x64_init_q31.c @@ -65,7 +65,7 @@ The state variables are updated after each block of data is processed; the coefficients are untouched. */ -void arm_biquad_cas_df1_32x64_init_q31( +ARM_DSP_ATTRIBUTE void arm_biquad_cas_df1_32x64_init_q31( arm_biquad_cas_df1_32x64_ins_q31 * S, uint8_t numStages, const q31_t * pCoeffs, diff --git a/Source/FilteringFunctions/arm_biquad_cascade_df1_32x64_q31.c b/Source/FilteringFunctions/arm_biquad_cascade_df1_32x64_q31.c index 9690c7412..e6ca0c2c8 100644 --- a/Source/FilteringFunctions/arm_biquad_cascade_df1_32x64_q31.c +++ b/Source/FilteringFunctions/arm_biquad_cascade_df1_32x64_q31.c @@ -280,7 +280,7 @@ static void arm_biquad_cas_df1_32x64_q31_scalar(const arm_biquad_cas_df1_32x64_i } -void arm_biquad_cas_df1_32x64_q31( +ARM_DSP_ATTRIBUTE void arm_biquad_cas_df1_32x64_q31( const arm_biquad_cas_df1_32x64_ins_q31 * S, const q31_t * pSrc, q31_t * pDst, @@ -519,7 +519,7 @@ void arm_biquad_cas_df1_32x64_q31( } } #else -void arm_biquad_cas_df1_32x64_q31( +ARM_DSP_ATTRIBUTE void arm_biquad_cas_df1_32x64_q31( const arm_biquad_cas_df1_32x64_ins_q31 * S, const q31_t * pSrc, q31_t * pDst, diff --git a/Source/FilteringFunctions/arm_biquad_cascade_df1_f16.c b/Source/FilteringFunctions/arm_biquad_cascade_df1_f16.c index 8fc720f86..4df6832ef 100755 --- a/Source/FilteringFunctions/arm_biquad_cascade_df1_f16.c +++ b/Source/FilteringFunctions/arm_biquad_cascade_df1_f16.c @@ -50,7 +50,7 @@ #include "arm_helium_utils.h" -void arm_biquad_cascade_df1_f16( +ARM_DSP_ATTRIBUTE void arm_biquad_cascade_df1_f16( const arm_biquad_casd_df1_inst_f16 * S, const float16_t * pSrc, float16_t * pDst, @@ -309,7 +309,7 @@ void arm_biquad_cascade_df1_f16( } #else -void arm_biquad_cascade_df1_f16( +ARM_DSP_ATTRIBUTE void arm_biquad_cascade_df1_f16( const arm_biquad_casd_df1_inst_f16 * S, const float16_t * pSrc, float16_t * pDst, diff --git a/Source/FilteringFunctions/arm_biquad_cascade_df1_f32.c b/Source/FilteringFunctions/arm_biquad_cascade_df1_f32.c index 7164c4d59..447d68fd7 100644 --- a/Source/FilteringFunctions/arm_biquad_cascade_df1_f32.c +++ b/Source/FilteringFunctions/arm_biquad_cascade_df1_f32.c @@ -163,7 +163,7 @@ #if defined(ARM_MATH_MVEF) && !defined(ARM_MATH_AUTOVECTORIZE) #include "arm_helium_utils.h" -void arm_biquad_cascade_df1_f32( +ARM_DSP_ATTRIBUTE void arm_biquad_cascade_df1_f32( const arm_biquad_casd_df1_inst_f32 * S, const float32_t * pSrc, float32_t * pDst, @@ -340,7 +340,7 @@ void arm_biquad_cascade_df1_f32( } #else #if defined(ARM_MATH_NEON) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_biquad_cascade_df1_f32( +ARM_DSP_ATTRIBUTE void arm_biquad_cascade_df1_f32( const arm_biquad_casd_df1_inst_f32 * S, const float32_t * pSrc, float32_t * pDst, @@ -502,7 +502,7 @@ void arm_biquad_cascade_df1_f32( } #else -void arm_biquad_cascade_df1_f32( +ARM_DSP_ATTRIBUTE void arm_biquad_cascade_df1_f32( const arm_biquad_casd_df1_inst_f32 * S, const float32_t * pSrc, float32_t * pDst, diff --git a/Source/FilteringFunctions/arm_biquad_cascade_df1_fast_q15.c b/Source/FilteringFunctions/arm_biquad_cascade_df1_fast_q15.c index 4d561d1c0..1d9e1ee96 100644 --- a/Source/FilteringFunctions/arm_biquad_cascade_df1_fast_q15.c +++ b/Source/FilteringFunctions/arm_biquad_cascade_df1_fast_q15.c @@ -56,7 +56,7 @@ Use the function \ref arm_biquad_cascade_df1_init_q15() to initialize the filter structure. */ -void arm_biquad_cascade_df1_fast_q15( +ARM_DSP_ATTRIBUTE void arm_biquad_cascade_df1_fast_q15( const arm_biquad_casd_df1_inst_q15 * S, const q15_t * pSrc, q15_t * pDst, diff --git a/Source/FilteringFunctions/arm_biquad_cascade_df1_fast_q31.c b/Source/FilteringFunctions/arm_biquad_cascade_df1_fast_q31.c index 403ab29a1..418df7016 100644 --- a/Source/FilteringFunctions/arm_biquad_cascade_df1_fast_q31.c +++ b/Source/FilteringFunctions/arm_biquad_cascade_df1_fast_q31.c @@ -58,7 +58,7 @@ Use the function \ref arm_biquad_cascade_df1_init_q31() to initialize the filter structure. */ -void arm_biquad_cascade_df1_fast_q31( +ARM_DSP_ATTRIBUTE void arm_biquad_cascade_df1_fast_q31( const arm_biquad_casd_df1_inst_q31 * S, const q31_t * pSrc, q31_t * pDst, diff --git a/Source/FilteringFunctions/arm_biquad_cascade_df1_init_f16.c b/Source/FilteringFunctions/arm_biquad_cascade_df1_init_f16.c index 6d7e58ca4..d17201816 100755 --- a/Source/FilteringFunctions/arm_biquad_cascade_df1_init_f16.c +++ b/Source/FilteringFunctions/arm_biquad_cascade_df1_init_f16.c @@ -75,7 +75,7 @@ */ -void arm_biquad_cascade_df1_init_f16( +ARM_DSP_ATTRIBUTE void arm_biquad_cascade_df1_init_f16( arm_biquad_casd_df1_inst_f16 * S, uint8_t numStages, const float16_t * pCoeffs, @@ -141,7 +141,7 @@ static void generateCoefsFastBiquadF16(float16_t b0, float16_t b1, float16_t b2, } } -void arm_biquad_cascade_df1_mve_init_f16(arm_biquad_casd_df1_inst_f16 * S, +ARM_DSP_ATTRIBUTE void arm_biquad_cascade_df1_mve_init_f16(arm_biquad_casd_df1_inst_f16 * S, uint8_t numStages, const float16_t * pCoeffs, arm_biquad_mod_coef_f16 * pCoeffsMod, diff --git a/Source/FilteringFunctions/arm_biquad_cascade_df1_init_f32.c b/Source/FilteringFunctions/arm_biquad_cascade_df1_init_f32.c index 205013765..dcb146867 100644 --- a/Source/FilteringFunctions/arm_biquad_cascade_df1_init_f32.c +++ b/Source/FilteringFunctions/arm_biquad_cascade_df1_init_f32.c @@ -74,7 +74,7 @@ */ -void arm_biquad_cascade_df1_init_f32( +ARM_DSP_ATTRIBUTE void arm_biquad_cascade_df1_init_f32( arm_biquad_casd_df1_inst_f32 * S, uint8_t numStages, const float32_t * pCoeffs, @@ -122,7 +122,7 @@ static void generateCoefsFastBiquadF32(float32_t b0, float32_t b1, float32_t b2, } } -void arm_biquad_cascade_df1_mve_init_f32( +ARM_DSP_ATTRIBUTE void arm_biquad_cascade_df1_mve_init_f32( arm_biquad_casd_df1_inst_f32 * S, uint8_t numStages, const float32_t * pCoeffs, diff --git a/Source/FilteringFunctions/arm_biquad_cascade_df1_init_q15.c b/Source/FilteringFunctions/arm_biquad_cascade_df1_init_q15.c index a4278cb3c..e39c4c3da 100644 --- a/Source/FilteringFunctions/arm_biquad_cascade_df1_init_q15.c +++ b/Source/FilteringFunctions/arm_biquad_cascade_df1_init_q15.c @@ -67,7 +67,7 @@ The state variables are updated after each block of data is processed; the coefficients are untouched. */ -void arm_biquad_cascade_df1_init_q15( +ARM_DSP_ATTRIBUTE void arm_biquad_cascade_df1_init_q15( arm_biquad_casd_df1_inst_q15 * S, uint8_t numStages, const q15_t * pCoeffs, diff --git a/Source/FilteringFunctions/arm_biquad_cascade_df1_init_q31.c b/Source/FilteringFunctions/arm_biquad_cascade_df1_init_q31.c index f32fe37a9..2f6167f02 100644 --- a/Source/FilteringFunctions/arm_biquad_cascade_df1_init_q31.c +++ b/Source/FilteringFunctions/arm_biquad_cascade_df1_init_q31.c @@ -66,7 +66,7 @@ The state variables are updated after each block of data is processed; the coefficients are untouched. */ -void arm_biquad_cascade_df1_init_q31( +ARM_DSP_ATTRIBUTE void arm_biquad_cascade_df1_init_q31( arm_biquad_casd_df1_inst_q31 * S, uint8_t numStages, const q31_t * pCoeffs, diff --git a/Source/FilteringFunctions/arm_biquad_cascade_df1_q15.c b/Source/FilteringFunctions/arm_biquad_cascade_df1_q15.c index 71d790ca7..697a9ed22 100644 --- a/Source/FilteringFunctions/arm_biquad_cascade_df1_q15.c +++ b/Source/FilteringFunctions/arm_biquad_cascade_df1_q15.c @@ -57,7 +57,7 @@ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_biquad_cascade_df1_q15( +ARM_DSP_ATTRIBUTE void arm_biquad_cascade_df1_q15( const arm_biquad_casd_df1_inst_q15 * S, const q15_t * pSrc, q15_t * pDst, @@ -309,7 +309,7 @@ void arm_biquad_cascade_df1_q15( while (--stages); } #else -void arm_biquad_cascade_df1_q15( +ARM_DSP_ATTRIBUTE void arm_biquad_cascade_df1_q15( const arm_biquad_casd_df1_inst_q15 * S, const q15_t * pSrc, q15_t * pDst, diff --git a/Source/FilteringFunctions/arm_biquad_cascade_df1_q31.c b/Source/FilteringFunctions/arm_biquad_cascade_df1_q31.c index 764249d9a..cdccdd62b 100644 --- a/Source/FilteringFunctions/arm_biquad_cascade_df1_q31.c +++ b/Source/FilteringFunctions/arm_biquad_cascade_df1_q31.c @@ -56,7 +56,7 @@ */ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_biquad_cascade_df1_q31( +ARM_DSP_ATTRIBUTE void arm_biquad_cascade_df1_q31( const arm_biquad_casd_df1_inst_q31 * S, const q31_t * pSrc, q31_t * pDst, @@ -317,7 +317,7 @@ void arm_biquad_cascade_df1_q31( while (--stages); } #else -void arm_biquad_cascade_df1_q31( +ARM_DSP_ATTRIBUTE void arm_biquad_cascade_df1_q31( const arm_biquad_casd_df1_inst_q31 * S, const q31_t * pSrc, q31_t * pDst, diff --git a/Source/FilteringFunctions/arm_biquad_cascade_df2T_f16.c b/Source/FilteringFunctions/arm_biquad_cascade_df2T_f16.c index a47c82b62..3492a7f5c 100755 --- a/Source/FilteringFunctions/arm_biquad_cascade_df2T_f16.c +++ b/Source/FilteringFunctions/arm_biquad_cascade_df2T_f16.c @@ -47,7 +47,7 @@ */ #if (defined(ARM_MATH_MVE_FLOAT16) && defined(ARM_MATH_HELIUM_EXPERIMENTAL)) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_biquad_cascade_df2T_f16( +ARM_DSP_ATTRIBUTE void arm_biquad_cascade_df2T_f16( const arm_biquad_cascade_df2T_instance_f16 * S, const float16_t * pSrc, float16_t * pDst, @@ -186,7 +186,7 @@ void arm_biquad_cascade_df2T_f16( } #else -void arm_biquad_cascade_df2T_f16( +ARM_DSP_ATTRIBUTE void arm_biquad_cascade_df2T_f16( const arm_biquad_cascade_df2T_instance_f16 * S, const float16_t * pSrc, float16_t * pDst, diff --git a/Source/FilteringFunctions/arm_biquad_cascade_df2T_f32.c b/Source/FilteringFunctions/arm_biquad_cascade_df2T_f32.c index 1db967cd9..87d06271b 100644 --- a/Source/FilteringFunctions/arm_biquad_cascade_df2T_f32.c +++ b/Source/FilteringFunctions/arm_biquad_cascade_df2T_f32.c @@ -47,7 +47,7 @@ #if (defined(ARM_MATH_MVEF) && defined(ARM_MATH_HELIUM_EXPERIMENTAL)) && !defined(ARM_MATH_AUTOVECTORIZE) #include "arm_helium_utils.h" -void arm_biquad_cascade_df2T_f32( +ARM_DSP_ATTRIBUTE void arm_biquad_cascade_df2T_f32( const arm_biquad_cascade_df2T_instance_f32 * S, const float32_t * pSrc, float32_t * pDst, @@ -181,7 +181,7 @@ void arm_biquad_cascade_df2T_f32( #else #if defined(ARM_MATH_NEON) -void arm_biquad_cascade_df2T_f32( +ARM_DSP_ATTRIBUTE void arm_biquad_cascade_df2T_f32( const arm_biquad_cascade_df2T_instance_f32 * S, const float32_t * pSrc, float32_t * pDst, @@ -343,7 +343,7 @@ void arm_biquad_cascade_df2T_f32( } #else -void arm_biquad_cascade_df2T_f32( +ARM_DSP_ATTRIBUTE void arm_biquad_cascade_df2T_f32( const arm_biquad_cascade_df2T_instance_f32 * S, const float32_t * pSrc, float32_t * pDst, diff --git a/Source/FilteringFunctions/arm_biquad_cascade_df2T_f64.c b/Source/FilteringFunctions/arm_biquad_cascade_df2T_f64.c index 9f6df1669..884656bd9 100644 --- a/Source/FilteringFunctions/arm_biquad_cascade_df2T_f64.c +++ b/Source/FilteringFunctions/arm_biquad_cascade_df2T_f64.c @@ -141,7 +141,7 @@ #if defined(ARM_MATH_NEON) && defined(__aarch64__) -void arm_biquad_cascade_df2T_f64( +ARM_DSP_ATTRIBUTE void arm_biquad_cascade_df2T_f64( const arm_biquad_cascade_df2T_instance_f64 * S, const float64_t * pSrc, float64_t * pDst, @@ -299,7 +299,7 @@ void arm_biquad_cascade_df2T_f64( } #else -void arm_biquad_cascade_df2T_f64( +ARM_DSP_ATTRIBUTE void arm_biquad_cascade_df2T_f64( const arm_biquad_cascade_df2T_instance_f64 * S, const float64_t * pSrc, float64_t * pDst, diff --git a/Source/FilteringFunctions/arm_biquad_cascade_df2T_init_f16.c b/Source/FilteringFunctions/arm_biquad_cascade_df2T_init_f16.c index 950485a02..2f423c775 100755 --- a/Source/FilteringFunctions/arm_biquad_cascade_df2T_init_f16.c +++ b/Source/FilteringFunctions/arm_biquad_cascade_df2T_init_f16.c @@ -87,7 +87,7 @@ The state variables are updated after each block of data is processed; the coefficients are untouched. */ -void arm_biquad_cascade_df2T_init_f16( +ARM_DSP_ATTRIBUTE void arm_biquad_cascade_df2T_init_f16( arm_biquad_cascade_df2T_instance_f16 * S, uint8_t numStages, const float16_t * pCoeffs, diff --git a/Source/FilteringFunctions/arm_biquad_cascade_df2T_init_f32.c b/Source/FilteringFunctions/arm_biquad_cascade_df2T_init_f32.c index da902bf86..2f7775e45 100644 --- a/Source/FilteringFunctions/arm_biquad_cascade_df2T_init_f32.c +++ b/Source/FilteringFunctions/arm_biquad_cascade_df2T_init_f32.c @@ -54,7 +54,7 @@ pComputedCoeffs is the array to be used in arm_biquad_cascade_df2T_init_f32. */ -void arm_biquad_cascade_df2T_compute_coefs_f32( +ARM_DSP_ATTRIBUTE void arm_biquad_cascade_df2T_compute_coefs_f32( uint8_t numStages, const float32_t * pCoeffs, float32_t * pComputedCoeffs) @@ -188,7 +188,7 @@ void arm_biquad_cascade_df2T_compute_coefs_f32( The state array has a total length of 2*numStages values. The state variables are updated after each block of data is processed; the coefficients are untouched. */ -void arm_biquad_cascade_df2T_init_f32( +ARM_DSP_ATTRIBUTE void arm_biquad_cascade_df2T_init_f32( arm_biquad_cascade_df2T_instance_f32 * S, uint8_t numStages, const float32_t * pCoeffs, diff --git a/Source/FilteringFunctions/arm_biquad_cascade_df2T_init_f64.c b/Source/FilteringFunctions/arm_biquad_cascade_df2T_init_f64.c index 9cd324318..28e8beb11 100644 --- a/Source/FilteringFunctions/arm_biquad_cascade_df2T_init_f64.c +++ b/Source/FilteringFunctions/arm_biquad_cascade_df2T_init_f64.c @@ -61,7 +61,7 @@ The state variables are updated after each block of data is processed; the coefficients are untouched. */ -void arm_biquad_cascade_df2T_init_f64( +ARM_DSP_ATTRIBUTE void arm_biquad_cascade_df2T_init_f64( arm_biquad_cascade_df2T_instance_f64 * S, uint8_t numStages, const float64_t * pCoeffs, diff --git a/Source/FilteringFunctions/arm_biquad_cascade_stereo_df2T_f16.c b/Source/FilteringFunctions/arm_biquad_cascade_stereo_df2T_f16.c index 480aed5dc..b2a806765 100755 --- a/Source/FilteringFunctions/arm_biquad_cascade_stereo_df2T_f16.c +++ b/Source/FilteringFunctions/arm_biquad_cascade_stereo_df2T_f16.c @@ -51,7 +51,7 @@ #endif #if (defined(ARM_MATH_MVE_FLOAT16) && defined(ARM_MATH_HELIUM_EXPERIMENTAL)) && !defined(ARM_MATH_AUTOVECTORIZE) && !defined(__CMSIS_GCC_H) -void arm_biquad_cascade_stereo_df2T_f16( +ARM_DSP_ATTRIBUTE void arm_biquad_cascade_stereo_df2T_f16( const arm_biquad_cascade_stereo_df2T_instance_f16 * S, const float16_t * pSrc, float16_t * pDst, @@ -192,7 +192,7 @@ void arm_biquad_cascade_stereo_df2T_f16( } #else -void arm_biquad_cascade_stereo_df2T_f16( +ARM_DSP_ATTRIBUTE void arm_biquad_cascade_stereo_df2T_f16( const arm_biquad_cascade_stereo_df2T_instance_f16 * S, const float16_t * pSrc, float16_t * pDst, diff --git a/Source/FilteringFunctions/arm_biquad_cascade_stereo_df2T_f32.c b/Source/FilteringFunctions/arm_biquad_cascade_stereo_df2T_f32.c index 6fe2bc28c..298b07345 100644 --- a/Source/FilteringFunctions/arm_biquad_cascade_stereo_df2T_f32.c +++ b/Source/FilteringFunctions/arm_biquad_cascade_stereo_df2T_f32.c @@ -47,7 +47,7 @@ #if (defined(ARM_MATH_MVEF) && defined(ARM_MATH_HELIUM_EXPERIMENTAL)) && !defined(ARM_MATH_AUTOVECTORIZE) #include "arm_helium_utils.h" -void arm_biquad_cascade_stereo_df2T_f32( +ARM_DSP_ATTRIBUTE void arm_biquad_cascade_stereo_df2T_f32( const arm_biquad_cascade_stereo_df2T_instance_f32 * S, const float32_t * pSrc, float32_t * pDst, @@ -179,7 +179,7 @@ void arm_biquad_cascade_stereo_df2T_f32( #else -void arm_biquad_cascade_stereo_df2T_f32( +ARM_DSP_ATTRIBUTE void arm_biquad_cascade_stereo_df2T_f32( const arm_biquad_cascade_stereo_df2T_instance_f32 * S, const float32_t * pSrc, float32_t * pDst, diff --git a/Source/FilteringFunctions/arm_biquad_cascade_stereo_df2T_init_f16.c b/Source/FilteringFunctions/arm_biquad_cascade_stereo_df2T_init_f16.c index 043c53099..2f7b07b68 100755 --- a/Source/FilteringFunctions/arm_biquad_cascade_stereo_df2T_init_f16.c +++ b/Source/FilteringFunctions/arm_biquad_cascade_stereo_df2T_init_f16.c @@ -63,7 +63,7 @@ The state variables are updated after each block of data is processed; the coefficients are untouched. */ -void arm_biquad_cascade_stereo_df2T_init_f16( +ARM_DSP_ATTRIBUTE void arm_biquad_cascade_stereo_df2T_init_f16( arm_biquad_cascade_stereo_df2T_instance_f16 * S, uint8_t numStages, const float16_t * pCoeffs, diff --git a/Source/FilteringFunctions/arm_biquad_cascade_stereo_df2T_init_f32.c b/Source/FilteringFunctions/arm_biquad_cascade_stereo_df2T_init_f32.c index b19f5fec0..9e0236d1a 100644 --- a/Source/FilteringFunctions/arm_biquad_cascade_stereo_df2T_init_f32.c +++ b/Source/FilteringFunctions/arm_biquad_cascade_stereo_df2T_init_f32.c @@ -61,7 +61,7 @@ The state variables are updated after each block of data is processed; the coefficients are untouched. */ -void arm_biquad_cascade_stereo_df2T_init_f32( +ARM_DSP_ATTRIBUTE void arm_biquad_cascade_stereo_df2T_init_f32( arm_biquad_cascade_stereo_df2T_instance_f32 * S, uint8_t numStages, const float32_t * pCoeffs, diff --git a/Source/FilteringFunctions/arm_conv_f32.c b/Source/FilteringFunctions/arm_conv_f32.c index 0c2aeae04..5000395af 100644 --- a/Source/FilteringFunctions/arm_conv_f32.c +++ b/Source/FilteringFunctions/arm_conv_f32.c @@ -107,7 +107,7 @@ #include "arm_vec_filtering.h" -void arm_conv_f32( +ARM_DSP_ATTRIBUTE void arm_conv_f32( const float32_t * pSrcA, uint32_t srcALen, const float32_t * pSrcB, @@ -250,7 +250,7 @@ void arm_conv_f32( } } #else -void arm_conv_f32( +ARM_DSP_ATTRIBUTE void arm_conv_f32( const float32_t * pSrcA, uint32_t srcALen, const float32_t * pSrcB, diff --git a/Source/FilteringFunctions/arm_conv_fast_opt_q15.c b/Source/FilteringFunctions/arm_conv_fast_opt_q15.c index 362416cec..351ae23e0 100644 --- a/Source/FilteringFunctions/arm_conv_fast_opt_q15.c +++ b/Source/FilteringFunctions/arm_conv_fast_opt_q15.c @@ -61,7 +61,7 @@ Refer to \ref arm_conv_q15() for a slower implementation of this function which uses 64-bit accumulation to avoid wrap around distortion. */ -void arm_conv_fast_opt_q15( +ARM_DSP_ATTRIBUTE void arm_conv_fast_opt_q15( const q15_t * pSrcA, uint32_t srcALen, const q15_t * pSrcB, diff --git a/Source/FilteringFunctions/arm_conv_fast_q15.c b/Source/FilteringFunctions/arm_conv_fast_q15.c index 68e74b546..520d5066f 100644 --- a/Source/FilteringFunctions/arm_conv_fast_q15.c +++ b/Source/FilteringFunctions/arm_conv_fast_q15.c @@ -59,7 +59,7 @@ Refer to \ref arm_conv_q15() for a slower implementation of this function which uses 64-bit accumulation to avoid wrap around distortion. */ -void arm_conv_fast_q15( +ARM_DSP_ATTRIBUTE void arm_conv_fast_q15( const q15_t * pSrcA, uint32_t srcALen, const q15_t * pSrcB, diff --git a/Source/FilteringFunctions/arm_conv_fast_q31.c b/Source/FilteringFunctions/arm_conv_fast_q31.c index 32042eb52..1888f50b9 100644 --- a/Source/FilteringFunctions/arm_conv_fast_q31.c +++ b/Source/FilteringFunctions/arm_conv_fast_q31.c @@ -59,7 +59,7 @@ Refer to \ref arm_conv_q31() for a slower implementation of this function which uses 64-bit accumulation to provide higher precision. */ -void arm_conv_fast_q31( +ARM_DSP_ATTRIBUTE void arm_conv_fast_q31( const q31_t * pSrcA, uint32_t srcALen, const q31_t * pSrcB, diff --git a/Source/FilteringFunctions/arm_conv_opt_q15.c b/Source/FilteringFunctions/arm_conv_opt_q15.c index c0cb97f43..e6ecb37ea 100644 --- a/Source/FilteringFunctions/arm_conv_opt_q15.c +++ b/Source/FilteringFunctions/arm_conv_opt_q15.c @@ -57,7 +57,7 @@ Refer to \ref arm_conv_fast_q15() for a faster but less precise version of this function. */ -void arm_conv_opt_q15( +ARM_DSP_ATTRIBUTE void arm_conv_opt_q15( const q15_t * pSrcA, uint32_t srcALen, const q15_t * pSrcB, diff --git a/Source/FilteringFunctions/arm_conv_opt_q7.c b/Source/FilteringFunctions/arm_conv_opt_q7.c index de890efc6..e2d88e76e 100644 --- a/Source/FilteringFunctions/arm_conv_opt_q7.c +++ b/Source/FilteringFunctions/arm_conv_opt_q7.c @@ -55,7 +55,7 @@ The 18.14 result is then truncated to 18.7 format by discarding the low 7 bits and then saturated to 1.7 format. */ -void arm_conv_opt_q7( +ARM_DSP_ATTRIBUTE void arm_conv_opt_q7( const q7_t * pSrcA, uint32_t srcALen, const q7_t * pSrcB, diff --git a/Source/FilteringFunctions/arm_conv_partial_f32.c b/Source/FilteringFunctions/arm_conv_partial_f32.c index 74f73ab25..5d9a24293 100644 --- a/Source/FilteringFunctions/arm_conv_partial_f32.c +++ b/Source/FilteringFunctions/arm_conv_partial_f32.c @@ -83,7 +83,7 @@ - \ref ARM_MATH_ARGUMENT_ERROR : requested subset is not in the range [0 srcALen+srcBLen-2] */ -arm_status arm_conv_partial_f32( +ARM_DSP_ATTRIBUTE arm_status arm_conv_partial_f32( const float32_t * pSrcA, uint32_t srcALen, const float32_t * pSrcB, diff --git a/Source/FilteringFunctions/arm_conv_partial_fast_opt_q15.c b/Source/FilteringFunctions/arm_conv_partial_fast_opt_q15.c index a6b9ecf3b..d09cf07e6 100644 --- a/Source/FilteringFunctions/arm_conv_partial_fast_opt_q15.c +++ b/Source/FilteringFunctions/arm_conv_partial_fast_opt_q15.c @@ -56,7 +56,7 @@ Refer to \ref arm_conv_partial_q15() for a slower implementation of this function which uses a 64-bit accumulator to avoid wrap around distortion. */ -arm_status arm_conv_partial_fast_opt_q15( +ARM_DSP_ATTRIBUTE arm_status arm_conv_partial_fast_opt_q15( const q15_t * pSrcA, uint32_t srcALen, const q15_t * pSrcB, diff --git a/Source/FilteringFunctions/arm_conv_partial_fast_q15.c b/Source/FilteringFunctions/arm_conv_partial_fast_q15.c index 3e928180b..ac91a82c1 100644 --- a/Source/FilteringFunctions/arm_conv_partial_fast_q15.c +++ b/Source/FilteringFunctions/arm_conv_partial_fast_q15.c @@ -53,7 +53,7 @@ Refer to \ref arm_conv_partial_q15() for a slower implementation of this function which uses a 64-bit accumulator to avoid wrap around distortion. */ -arm_status arm_conv_partial_fast_q15( +ARM_DSP_ATTRIBUTE arm_status arm_conv_partial_fast_q15( const q15_t * pSrcA, uint32_t srcALen, const q15_t * pSrcB, diff --git a/Source/FilteringFunctions/arm_conv_partial_fast_q31.c b/Source/FilteringFunctions/arm_conv_partial_fast_q31.c index 65269bc95..6d0480ffb 100644 --- a/Source/FilteringFunctions/arm_conv_partial_fast_q31.c +++ b/Source/FilteringFunctions/arm_conv_partial_fast_q31.c @@ -54,7 +54,7 @@ Refer to \ref arm_conv_partial_q31() for a slower implementation of this function which uses a 64-bit accumulator to provide higher precision. */ -arm_status arm_conv_partial_fast_q31( +ARM_DSP_ATTRIBUTE arm_status arm_conv_partial_fast_q31( const q31_t * pSrcA, uint32_t srcALen, const q31_t * pSrcB, diff --git a/Source/FilteringFunctions/arm_conv_partial_opt_q15.c b/Source/FilteringFunctions/arm_conv_partial_opt_q15.c index 7a9d6b189..02f0d9311 100644 --- a/Source/FilteringFunctions/arm_conv_partial_opt_q15.c +++ b/Source/FilteringFunctions/arm_conv_partial_opt_q15.c @@ -56,7 +56,7 @@ Refer to \ref arm_conv_partial_fast_q15() for a faster but less precise version of this function. */ -arm_status arm_conv_partial_opt_q15( +ARM_DSP_ATTRIBUTE arm_status arm_conv_partial_opt_q15( const q15_t * pSrcA, uint32_t srcALen, const q15_t * pSrcB, diff --git a/Source/FilteringFunctions/arm_conv_partial_opt_q7.c b/Source/FilteringFunctions/arm_conv_partial_opt_q7.c index a5c16c50a..02e5a99b7 100644 --- a/Source/FilteringFunctions/arm_conv_partial_opt_q7.c +++ b/Source/FilteringFunctions/arm_conv_partial_opt_q7.c @@ -53,7 +53,7 @@ - \ref ARM_MATH_ARGUMENT_ERROR : requested subset is not in the range [0 srcALen+srcBLen-2] */ -arm_status arm_conv_partial_opt_q7( +ARM_DSP_ATTRIBUTE arm_status arm_conv_partial_opt_q7( const q7_t * pSrcA, uint32_t srcALen, const q7_t * pSrcB, diff --git a/Source/FilteringFunctions/arm_conv_partial_q15.c b/Source/FilteringFunctions/arm_conv_partial_q15.c index 5f587facd..f5af699e6 100644 --- a/Source/FilteringFunctions/arm_conv_partial_q15.c +++ b/Source/FilteringFunctions/arm_conv_partial_q15.c @@ -56,7 +56,7 @@ Refer to \ref arm_conv_partial_opt_q15() for a faster implementation of this function using scratch buffers. */ -arm_status arm_conv_partial_q15( +ARM_DSP_ATTRIBUTE arm_status arm_conv_partial_q15( const q15_t * pSrcA, uint32_t srcALen, const q15_t * pSrcB, diff --git a/Source/FilteringFunctions/arm_conv_partial_q31.c b/Source/FilteringFunctions/arm_conv_partial_q31.c index bcd52983c..0b9f3555f 100644 --- a/Source/FilteringFunctions/arm_conv_partial_q31.c +++ b/Source/FilteringFunctions/arm_conv_partial_q31.c @@ -54,7 +54,7 @@ Refer to \ref arm_conv_partial_fast_q31() for a faster but less precise implementation of this function. */ -arm_status arm_conv_partial_q31( +ARM_DSP_ATTRIBUTE arm_status arm_conv_partial_q31( const q31_t * pSrcA, uint32_t srcALen, const q31_t * pSrcB, diff --git a/Source/FilteringFunctions/arm_conv_partial_q7.c b/Source/FilteringFunctions/arm_conv_partial_q7.c index 0532c51ec..b77779043 100644 --- a/Source/FilteringFunctions/arm_conv_partial_q7.c +++ b/Source/FilteringFunctions/arm_conv_partial_q7.c @@ -54,7 +54,7 @@ Refer to \ref arm_conv_partial_opt_q7() for a faster implementation of this function. */ -arm_status arm_conv_partial_q7( +ARM_DSP_ATTRIBUTE arm_status arm_conv_partial_q7( const q7_t * pSrcA, uint32_t srcALen, const q7_t * pSrcB, diff --git a/Source/FilteringFunctions/arm_conv_q15.c b/Source/FilteringFunctions/arm_conv_q15.c index 7eccd5aeb..928ca49bb 100644 --- a/Source/FilteringFunctions/arm_conv_q15.c +++ b/Source/FilteringFunctions/arm_conv_q15.c @@ -64,7 +64,7 @@ #include "arm_vec_filtering.h" -void arm_conv_q15( +ARM_DSP_ATTRIBUTE void arm_conv_q15( const q15_t * pSrcA, uint32_t srcALen, const q15_t * pSrcB, @@ -226,7 +226,7 @@ void arm_conv_q15( } #else -void arm_conv_q15( +ARM_DSP_ATTRIBUTE void arm_conv_q15( const q15_t * pSrcA, uint32_t srcALen, const q15_t * pSrcB, diff --git a/Source/FilteringFunctions/arm_conv_q31.c b/Source/FilteringFunctions/arm_conv_q31.c index 24cb6be40..e27b43fea 100644 --- a/Source/FilteringFunctions/arm_conv_q31.c +++ b/Source/FilteringFunctions/arm_conv_q31.c @@ -62,7 +62,7 @@ #include "arm_helium_utils.h" #include "arm_vec_filtering.h" -void arm_conv_q31( +ARM_DSP_ATTRIBUTE void arm_conv_q31( const q31_t * pSrcA, uint32_t srcALen, const q31_t * pSrcB, @@ -222,7 +222,7 @@ void arm_conv_q31( } #else -void arm_conv_q31( +ARM_DSP_ATTRIBUTE void arm_conv_q31( const q31_t * pSrcA, uint32_t srcALen, const q31_t * pSrcB, diff --git a/Source/FilteringFunctions/arm_conv_q7.c b/Source/FilteringFunctions/arm_conv_q7.c index 3921721ab..3d95a8150 100644 --- a/Source/FilteringFunctions/arm_conv_q7.c +++ b/Source/FilteringFunctions/arm_conv_q7.c @@ -60,7 +60,7 @@ #include "arm_vec_filtering.h" -void arm_conv_q7( +ARM_DSP_ATTRIBUTE void arm_conv_q7( const q7_t * pSrcA, uint32_t srcALen, const q7_t * pSrcB, @@ -216,7 +216,7 @@ void arm_conv_q7( } #else -void arm_conv_q7( +ARM_DSP_ATTRIBUTE void arm_conv_q7( const q7_t * pSrcA, uint32_t srcALen, const q7_t * pSrcB, diff --git a/Source/FilteringFunctions/arm_correlate_f16.c b/Source/FilteringFunctions/arm_correlate_f16.c index bf9a0a197..ce0d19afe 100755 --- a/Source/FilteringFunctions/arm_correlate_f16.c +++ b/Source/FilteringFunctions/arm_correlate_f16.c @@ -255,7 +255,7 @@ -void arm_correlate_f16( +ARM_DSP_ATTRIBUTE void arm_correlate_f16( const float16_t * pSrcA, uint32_t srcALen, const float16_t * pSrcB, @@ -456,7 +456,7 @@ void arm_correlate_f16( } #else -void arm_correlate_f16( +ARM_DSP_ATTRIBUTE void arm_correlate_f16( const float16_t * pSrcA, uint32_t srcALen, const float16_t * pSrcB, diff --git a/Source/FilteringFunctions/arm_correlate_f32.c b/Source/FilteringFunctions/arm_correlate_f32.c index 560c9c4bb..c4f0672b3 100644 --- a/Source/FilteringFunctions/arm_correlate_f32.c +++ b/Source/FilteringFunctions/arm_correlate_f32.c @@ -107,7 +107,7 @@ #include "arm_vec_filtering.h" -void arm_correlate_f32( +ARM_DSP_ATTRIBUTE void arm_correlate_f32( const float32_t * pSrcA, uint32_t srcALen, const float32_t * pSrcB, @@ -306,7 +306,7 @@ void arm_correlate_f32( } #else -void arm_correlate_f32( +ARM_DSP_ATTRIBUTE void arm_correlate_f32( const float32_t * pSrcA, uint32_t srcALen, const float32_t * pSrcB, diff --git a/Source/FilteringFunctions/arm_correlate_f64.c b/Source/FilteringFunctions/arm_correlate_f64.c index 6cc29b475..55b1e3c78 100644 --- a/Source/FilteringFunctions/arm_correlate_f64.c +++ b/Source/FilteringFunctions/arm_correlate_f64.c @@ -46,7 +46,7 @@ @param[out] pDst points to the location where the output result is written. Length 2 * max(srcALen, srcBLen) - 1. */ -void arm_correlate_f64( +ARM_DSP_ATTRIBUTE void arm_correlate_f64( const float64_t * pSrcA, uint32_t srcALen, const float64_t * pSrcB, diff --git a/Source/FilteringFunctions/arm_correlate_fast_opt_q15.c b/Source/FilteringFunctions/arm_correlate_fast_opt_q15.c index 7ba5597bf..c190a6291 100644 --- a/Source/FilteringFunctions/arm_correlate_fast_opt_q15.c +++ b/Source/FilteringFunctions/arm_correlate_fast_opt_q15.c @@ -60,7 +60,7 @@ Refer to \ref arm_correlate_q15() for a slower implementation of this function which uses a 64-bit accumulator to avoid wrap around distortion. */ -void arm_correlate_fast_opt_q15( +ARM_DSP_ATTRIBUTE void arm_correlate_fast_opt_q15( const q15_t * pSrcA, uint32_t srcALen, const q15_t * pSrcB, diff --git a/Source/FilteringFunctions/arm_correlate_fast_q15.c b/Source/FilteringFunctions/arm_correlate_fast_q15.c index 518e212ee..39243f465 100644 --- a/Source/FilteringFunctions/arm_correlate_fast_q15.c +++ b/Source/FilteringFunctions/arm_correlate_fast_q15.c @@ -59,7 +59,7 @@ Refer to \ref arm_correlate_q15() for a slower implementation of this function which uses a 64-bit accumulator to avoid wrap around distortion. */ -void arm_correlate_fast_q15( +ARM_DSP_ATTRIBUTE void arm_correlate_fast_q15( const q15_t * pSrcA, uint32_t srcALen, const q15_t * pSrcB, diff --git a/Source/FilteringFunctions/arm_correlate_fast_q31.c b/Source/FilteringFunctions/arm_correlate_fast_q31.c index 8be5907d1..7a329b19f 100644 --- a/Source/FilteringFunctions/arm_correlate_fast_q31.c +++ b/Source/FilteringFunctions/arm_correlate_fast_q31.c @@ -61,7 +61,7 @@ Refer to \ref arm_correlate_q31() for a slower implementation of this function which uses 64-bit accumulation to provide higher precision. */ -void arm_correlate_fast_q31( +ARM_DSP_ATTRIBUTE void arm_correlate_fast_q31( const q31_t * pSrcA, uint32_t srcALen, const q31_t * pSrcB, diff --git a/Source/FilteringFunctions/arm_correlate_opt_q15.c b/Source/FilteringFunctions/arm_correlate_opt_q15.c index a0eea20a1..227d063f6 100644 --- a/Source/FilteringFunctions/arm_correlate_opt_q15.c +++ b/Source/FilteringFunctions/arm_correlate_opt_q15.c @@ -57,7 +57,7 @@ Refer to \ref arm_correlate_fast_q15() for a faster but less precise version of this function. */ -void arm_correlate_opt_q15( +ARM_DSP_ATTRIBUTE void arm_correlate_opt_q15( const q15_t * pSrcA, uint32_t srcALen, const q15_t * pSrcB, diff --git a/Source/FilteringFunctions/arm_correlate_opt_q7.c b/Source/FilteringFunctions/arm_correlate_opt_q7.c index 9e635a1bd..cbf182c8c 100644 --- a/Source/FilteringFunctions/arm_correlate_opt_q7.c +++ b/Source/FilteringFunctions/arm_correlate_opt_q7.c @@ -55,7 +55,7 @@ The 18.14 result is then truncated to 18.7 format by discarding the low 7 bits and then saturated to 1.7 format. */ -void arm_correlate_opt_q7( +ARM_DSP_ATTRIBUTE void arm_correlate_opt_q7( const q7_t * pSrcA, uint32_t srcALen, const q7_t * pSrcB, diff --git a/Source/FilteringFunctions/arm_correlate_q15.c b/Source/FilteringFunctions/arm_correlate_q15.c index 53b963a98..335cdfdf0 100644 --- a/Source/FilteringFunctions/arm_correlate_q15.c +++ b/Source/FilteringFunctions/arm_correlate_q15.c @@ -61,7 +61,7 @@ #include "arm_helium_utils.h" #include "arm_vec_filtering.h" -void arm_correlate_q15( +ARM_DSP_ATTRIBUTE void arm_correlate_q15( const q15_t * pSrcA, uint32_t srcALen, const q15_t * pSrcB, @@ -264,7 +264,7 @@ void arm_correlate_q15( } #else -void arm_correlate_q15( +ARM_DSP_ATTRIBUTE void arm_correlate_q15( const q15_t * pSrcA, uint32_t srcALen, const q15_t * pSrcB, diff --git a/Source/FilteringFunctions/arm_correlate_q31.c b/Source/FilteringFunctions/arm_correlate_q31.c index 2997c7aa4..0d16b4887 100644 --- a/Source/FilteringFunctions/arm_correlate_q31.c +++ b/Source/FilteringFunctions/arm_correlate_q31.c @@ -61,7 +61,7 @@ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) #include "arm_helium_utils.h" #include "arm_vec_filtering.h" -void arm_correlate_q31( +ARM_DSP_ATTRIBUTE void arm_correlate_q31( const q31_t * pSrcA, uint32_t srcALen, const q31_t * pSrcB, @@ -255,7 +255,7 @@ void arm_correlate_q31( } } #else -void arm_correlate_q31( +ARM_DSP_ATTRIBUTE void arm_correlate_q31( const q31_t * pSrcA, uint32_t srcALen, const q31_t * pSrcB, diff --git a/Source/FilteringFunctions/arm_correlate_q7.c b/Source/FilteringFunctions/arm_correlate_q7.c index f1281e210..7be4d6b3f 100644 --- a/Source/FilteringFunctions/arm_correlate_q7.c +++ b/Source/FilteringFunctions/arm_correlate_q7.c @@ -64,7 +64,7 @@ #include "arm_helium_utils.h" #include "arm_vec_filtering.h" -void arm_correlate_q7( +ARM_DSP_ATTRIBUTE void arm_correlate_q7( const q7_t * pSrcA, uint32_t srcALen, const q7_t * pSrcB, @@ -262,7 +262,7 @@ void arm_correlate_q7( } #else -void arm_correlate_q7( +ARM_DSP_ATTRIBUTE void arm_correlate_q7( const q7_t * pSrcA, uint32_t srcALen, const q7_t * pSrcB, diff --git a/Source/FilteringFunctions/arm_fir_decimate_f32.c b/Source/FilteringFunctions/arm_fir_decimate_f32.c index 73690ff14..79ef81c6d 100644 --- a/Source/FilteringFunctions/arm_fir_decimate_f32.c +++ b/Source/FilteringFunctions/arm_fir_decimate_f32.c @@ -127,7 +127,7 @@ #include "arm_helium_utils.h" -void arm_fir_decimate_f32( +ARM_DSP_ATTRIBUTE void arm_fir_decimate_f32( const arm_fir_decimate_instance_f32 * S, const float32_t * pSrc, float32_t * pDst, @@ -373,7 +373,7 @@ void arm_fir_decimate_f32( } #else #if defined(ARM_MATH_NEON) -void arm_fir_decimate_f32( +ARM_DSP_ATTRIBUTE void arm_fir_decimate_f32( const arm_fir_decimate_instance_f32 * S, const float32_t * pSrc, float32_t * pDst, @@ -617,7 +617,7 @@ void arm_fir_decimate_f32( } } #else -void arm_fir_decimate_f32( +ARM_DSP_ATTRIBUTE void arm_fir_decimate_f32( const arm_fir_decimate_instance_f32 * S, const float32_t * pSrc, float32_t * pDst, diff --git a/Source/FilteringFunctions/arm_fir_decimate_f64.c b/Source/FilteringFunctions/arm_fir_decimate_f64.c index 62e621642..d2845b536 100644 --- a/Source/FilteringFunctions/arm_fir_decimate_f64.c +++ b/Source/FilteringFunctions/arm_fir_decimate_f64.c @@ -45,7 +45,7 @@ @param[in] blockSize number of input samples to process */ -void arm_fir_decimate_f64( +ARM_DSP_ATTRIBUTE void arm_fir_decimate_f64( const arm_fir_decimate_instance_f64 * S, const float64_t * pSrc, float64_t * pDst, diff --git a/Source/FilteringFunctions/arm_fir_decimate_fast_q15.c b/Source/FilteringFunctions/arm_fir_decimate_fast_q15.c index 24e108e26..4dabd445b 100644 --- a/Source/FilteringFunctions/arm_fir_decimate_fast_q15.c +++ b/Source/FilteringFunctions/arm_fir_decimate_fast_q15.c @@ -58,7 +58,7 @@ #if defined (ARM_MATH_DSP) -void arm_fir_decimate_fast_q15( +ARM_DSP_ATTRIBUTE void arm_fir_decimate_fast_q15( const arm_fir_decimate_instance_q15 * S, const q15_t * pSrc, q15_t * pDst, @@ -304,7 +304,7 @@ void arm_fir_decimate_fast_q15( #else /* #if defined (ARM_MATH_DSP) */ -void arm_fir_decimate_fast_q15( +ARM_DSP_ATTRIBUTE void arm_fir_decimate_fast_q15( const arm_fir_decimate_instance_q15 * S, const q15_t * pSrc, q15_t * pDst, diff --git a/Source/FilteringFunctions/arm_fir_decimate_fast_q31.c b/Source/FilteringFunctions/arm_fir_decimate_fast_q31.c index f2d1579cb..7703b7579 100644 --- a/Source/FilteringFunctions/arm_fir_decimate_fast_q31.c +++ b/Source/FilteringFunctions/arm_fir_decimate_fast_q31.c @@ -58,7 +58,7 @@ Use function \ref arm_fir_decimate_init_q31() to initialize the filter structure. */ -void arm_fir_decimate_fast_q31( +ARM_DSP_ATTRIBUTE void arm_fir_decimate_fast_q31( const arm_fir_decimate_instance_q31 * S, const q31_t * pSrc, q31_t * pDst, diff --git a/Source/FilteringFunctions/arm_fir_decimate_init_f32.c b/Source/FilteringFunctions/arm_fir_decimate_init_f32.c index de31b9f41..89df46eee 100644 --- a/Source/FilteringFunctions/arm_fir_decimate_init_f32.c +++ b/Source/FilteringFunctions/arm_fir_decimate_init_f32.c @@ -60,7 +60,7 @@ M is the decimation factor. */ -arm_status arm_fir_decimate_init_f32( +ARM_DSP_ATTRIBUTE arm_status arm_fir_decimate_init_f32( arm_fir_decimate_instance_f32 * S, uint16_t numTaps, uint8_t M, diff --git a/Source/FilteringFunctions/arm_fir_decimate_init_f64.c b/Source/FilteringFunctions/arm_fir_decimate_init_f64.c index 2fe50ac98..45013c600 100644 --- a/Source/FilteringFunctions/arm_fir_decimate_init_f64.c +++ b/Source/FilteringFunctions/arm_fir_decimate_init_f64.c @@ -60,7 +60,7 @@ M is the decimation factor. */ -arm_status arm_fir_decimate_init_f64( +ARM_DSP_ATTRIBUTE arm_status arm_fir_decimate_init_f64( arm_fir_decimate_instance_f64 * S, uint16_t numTaps, uint8_t M, diff --git a/Source/FilteringFunctions/arm_fir_decimate_init_q15.c b/Source/FilteringFunctions/arm_fir_decimate_init_q15.c index b43df2a06..91d9b3ef5 100644 --- a/Source/FilteringFunctions/arm_fir_decimate_init_q15.c +++ b/Source/FilteringFunctions/arm_fir_decimate_init_q15.c @@ -61,7 +61,7 @@ M is the decimation factor. */ -arm_status arm_fir_decimate_init_q15( +ARM_DSP_ATTRIBUTE arm_status arm_fir_decimate_init_q15( arm_fir_decimate_instance_q15 * S, uint16_t numTaps, uint8_t M, diff --git a/Source/FilteringFunctions/arm_fir_decimate_init_q31.c b/Source/FilteringFunctions/arm_fir_decimate_init_q31.c index 7a9490a3a..738ec6cf2 100644 --- a/Source/FilteringFunctions/arm_fir_decimate_init_q31.c +++ b/Source/FilteringFunctions/arm_fir_decimate_init_q31.c @@ -60,7 +60,7 @@ M is the decimation factor. */ -arm_status arm_fir_decimate_init_q31( +ARM_DSP_ATTRIBUTE arm_status arm_fir_decimate_init_q31( arm_fir_decimate_instance_q31 * S, uint16_t numTaps, uint8_t M, diff --git a/Source/FilteringFunctions/arm_fir_decimate_q15.c b/Source/FilteringFunctions/arm_fir_decimate_q15.c index 8e3c77a04..c754536ec 100644 --- a/Source/FilteringFunctions/arm_fir_decimate_q15.c +++ b/Source/FilteringFunctions/arm_fir_decimate_q15.c @@ -60,7 +60,7 @@ #include "arm_helium_utils.h" -void arm_fir_decimate_q15( +ARM_DSP_ATTRIBUTE void arm_fir_decimate_q15( const arm_fir_decimate_instance_q15 * S, const q15_t * pSrc, q15_t * pDst, @@ -315,7 +315,7 @@ void arm_fir_decimate_q15( #else #if defined (ARM_MATH_DSP) -void arm_fir_decimate_q15( +ARM_DSP_ATTRIBUTE void arm_fir_decimate_q15( const arm_fir_decimate_instance_q15 * S, const q15_t * pSrc, q15_t * pDst, @@ -560,7 +560,7 @@ void arm_fir_decimate_q15( #else /* #if defined (ARM_MATH_DSP) */ -void arm_fir_decimate_q15( +ARM_DSP_ATTRIBUTE void arm_fir_decimate_q15( const arm_fir_decimate_instance_q15 * S, const q15_t * pSrc, q15_t * pDst, diff --git a/Source/FilteringFunctions/arm_fir_decimate_q31.c b/Source/FilteringFunctions/arm_fir_decimate_q31.c index f0053b897..e6695ee1a 100644 --- a/Source/FilteringFunctions/arm_fir_decimate_q31.c +++ b/Source/FilteringFunctions/arm_fir_decimate_q31.c @@ -59,7 +59,7 @@ #include "arm_helium_utils.h" -void arm_fir_decimate_q31( +ARM_DSP_ATTRIBUTE void arm_fir_decimate_q31( const arm_fir_decimate_instance_q31 * S, const q31_t * pSrc, q31_t * pDst, @@ -302,7 +302,7 @@ void arm_fir_decimate_q31( } } #else -void arm_fir_decimate_q31( +ARM_DSP_ATTRIBUTE void arm_fir_decimate_q31( const arm_fir_decimate_instance_q31 * S, const q31_t * pSrc, q31_t * pDst, diff --git a/Source/FilteringFunctions/arm_fir_f16.c b/Source/FilteringFunctions/arm_fir_f16.c index cb1f2a84d..64ea6fe97 100755 --- a/Source/FilteringFunctions/arm_fir_f16.c +++ b/Source/FilteringFunctions/arm_fir_f16.c @@ -1,3 +1,4 @@ + /* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: arm_fir_f16.c @@ -238,7 +239,7 @@ __STATIC_INLINE void arm_fir_f16_5_8_mve(const arm_fir_instance_f16 * S, } #undef NB_TAPS -void arm_fir_f16(const arm_fir_instance_f16 * S, +ARM_DSP_ATTRIBUTE void arm_fir_f16(const arm_fir_instance_f16 * S, const float16_t * pSrc, float16_t * pDst, uint32_t blockSize) @@ -560,7 +561,7 @@ void arm_fir_f16(const arm_fir_instance_f16 * S, #else -void arm_fir_f16( +ARM_DSP_ATTRIBUTE void arm_fir_f16( const arm_fir_instance_f16 * S, const float16_t * pSrc, float16_t * pDst, diff --git a/Source/FilteringFunctions/arm_fir_f32.c b/Source/FilteringFunctions/arm_fir_f32.c index aadd9c227..59be3fbaf 100644 --- a/Source/FilteringFunctions/arm_fir_f32.c +++ b/Source/FilteringFunctions/arm_fir_f32.c @@ -357,8 +357,8 @@ __STATIC_INLINE void arm_fir_f32_5_8_mve(const arm_fir_instance_f32 * S, -void arm_fir_f32( -const arm_fir_instance_f32 * S, +ARM_DSP_ATTRIBUTE void arm_fir_f32( +ARM_DSP_ATTRIBUTE const arm_fir_instance_f32 * S, const float32_t * pSrc, float32_t * pDst, uint32_t blockSize) @@ -689,8 +689,8 @@ uint32_t blockSize) #else #if defined(ARM_MATH_NEON) -void arm_fir_f32( -const arm_fir_instance_f32 * S, +ARM_DSP_ATTRIBUTE void arm_fir_f32( +ARM_DSP_ATTRIBUTE const arm_fir_instance_f32 * S, const float32_t * pSrc, float32_t * pDst, uint32_t blockSize) @@ -908,7 +908,7 @@ uint32_t blockSize) } #else -void arm_fir_f32( +ARM_DSP_ATTRIBUTE void arm_fir_f32( const arm_fir_instance_f32 * S, const float32_t * pSrc, float32_t * pDst, diff --git a/Source/FilteringFunctions/arm_fir_f64.c b/Source/FilteringFunctions/arm_fir_f64.c index a0a471883..ee3dfb461 100644 --- a/Source/FilteringFunctions/arm_fir_f64.c +++ b/Source/FilteringFunctions/arm_fir_f64.c @@ -45,7 +45,7 @@ @param[in] blockSize number of samples to process */ #if defined(ARM_MATH_NEON) && defined(__aarch64__) -void arm_fir_f64( +ARM_DSP_ATTRIBUTE void arm_fir_f64( const arm_fir_instance_f64 * S, const float64_t * pSrc, float64_t * pDst, @@ -141,7 +141,7 @@ void arm_fir_f64( } #else -void arm_fir_f64( +ARM_DSP_ATTRIBUTE void arm_fir_f64( const arm_fir_instance_f64 * S, const float64_t * pSrc, float64_t * pDst, diff --git a/Source/FilteringFunctions/arm_fir_fast_q15.c b/Source/FilteringFunctions/arm_fir_fast_q15.c index 16ede8b1c..cd283a0bb 100644 --- a/Source/FilteringFunctions/arm_fir_fast_q15.c +++ b/Source/FilteringFunctions/arm_fir_fast_q15.c @@ -56,7 +56,7 @@ Use function \ref arm_fir_init_q15() to initialize the filter structure. */ -void arm_fir_fast_q15( +ARM_DSP_ATTRIBUTE void arm_fir_fast_q15( const arm_fir_instance_q15 * S, const q15_t * pSrc, q15_t * pDst, diff --git a/Source/FilteringFunctions/arm_fir_fast_q31.c b/Source/FilteringFunctions/arm_fir_fast_q31.c index 1afadb59d..d87023462 100644 --- a/Source/FilteringFunctions/arm_fir_fast_q31.c +++ b/Source/FilteringFunctions/arm_fir_fast_q31.c @@ -57,7 +57,7 @@ Use function \ref arm_fir_init_q31() to initialize the filter structure. */ -void arm_fir_fast_q31( +ARM_DSP_ATTRIBUTE void arm_fir_fast_q31( const arm_fir_instance_q31 * S, const q31_t * pSrc, q31_t * pDst, diff --git a/Source/FilteringFunctions/arm_fir_init_f16.c b/Source/FilteringFunctions/arm_fir_init_f16.c index f3d759b04..ad5b597d9 100755 --- a/Source/FilteringFunctions/arm_fir_init_f16.c +++ b/Source/FilteringFunctions/arm_fir_init_f16.c @@ -73,7 +73,7 @@ */ -void arm_fir_init_f16( +ARM_DSP_ATTRIBUTE void arm_fir_init_f16( arm_fir_instance_f16 * S, uint16_t numTaps, const float16_t * pCoeffs, diff --git a/Source/FilteringFunctions/arm_fir_init_f32.c b/Source/FilteringFunctions/arm_fir_init_f32.c index 129393c34..127bb6f20 100644 --- a/Source/FilteringFunctions/arm_fir_init_f32.c +++ b/Source/FilteringFunctions/arm_fir_init_f32.c @@ -70,7 +70,7 @@ */ -void arm_fir_init_f32( +ARM_DSP_ATTRIBUTE void arm_fir_init_f32( arm_fir_instance_f32 * S, uint16_t numTaps, const float32_t * pCoeffs, diff --git a/Source/FilteringFunctions/arm_fir_init_f64.c b/Source/FilteringFunctions/arm_fir_init_f64.c index 4fd85a297..fca5e9497 100644 --- a/Source/FilteringFunctions/arm_fir_init_f64.c +++ b/Source/FilteringFunctions/arm_fir_init_f64.c @@ -59,7 +59,7 @@ */ -void arm_fir_init_f64( +ARM_DSP_ATTRIBUTE void arm_fir_init_f64( arm_fir_instance_f64 * S, uint16_t numTaps, const float64_t * pCoeffs, diff --git a/Source/FilteringFunctions/arm_fir_init_q15.c b/Source/FilteringFunctions/arm_fir_init_q15.c index d8a185e19..0d7377140 100644 --- a/Source/FilteringFunctions/arm_fir_init_q15.c +++ b/Source/FilteringFunctions/arm_fir_init_q15.c @@ -83,7 +83,7 @@ to avoid having to manage too many different cases in the code. */ -arm_status arm_fir_init_q15( +ARM_DSP_ATTRIBUTE arm_status arm_fir_init_q15( arm_fir_instance_q15 * S, uint16_t numTaps, const q15_t * pCoeffs, diff --git a/Source/FilteringFunctions/arm_fir_init_q31.c b/Source/FilteringFunctions/arm_fir_init_q31.c index 7dc9a5e4c..f68417637 100644 --- a/Source/FilteringFunctions/arm_fir_init_q31.c +++ b/Source/FilteringFunctions/arm_fir_init_q31.c @@ -70,7 +70,7 @@ */ -void arm_fir_init_q31( +ARM_DSP_ATTRIBUTE void arm_fir_init_q31( arm_fir_instance_q31 * S, uint16_t numTaps, const q31_t * pCoeffs, diff --git a/Source/FilteringFunctions/arm_fir_init_q7.c b/Source/FilteringFunctions/arm_fir_init_q7.c index fd1d6b727..ea168c2d5 100644 --- a/Source/FilteringFunctions/arm_fir_init_q7.c +++ b/Source/FilteringFunctions/arm_fir_init_q7.c @@ -64,7 +64,7 @@ */ -void arm_fir_init_q7( +ARM_DSP_ATTRIBUTE void arm_fir_init_q7( arm_fir_instance_q7 * S, uint16_t numTaps, const q7_t * pCoeffs, diff --git a/Source/FilteringFunctions/arm_fir_interpolate_f32.c b/Source/FilteringFunctions/arm_fir_interpolate_f32.c index c269f9bb3..79f271ea8 100644 --- a/Source/FilteringFunctions/arm_fir_interpolate_f32.c +++ b/Source/FilteringFunctions/arm_fir_interpolate_f32.c @@ -255,7 +255,7 @@ static void arm_fir_interpolate2_f32_mve( } } -void arm_fir_interpolate_f32( +ARM_DSP_ATTRIBUTE void arm_fir_interpolate_f32( const arm_fir_interpolate_instance_f32 * S, const float32_t * pSrc, float32_t * pDst, @@ -469,7 +469,7 @@ void arm_fir_interpolate_f32( #else #if defined(ARM_MATH_NEON) -void arm_fir_interpolate_f32( +ARM_DSP_ATTRIBUTE void arm_fir_interpolate_f32( const arm_fir_interpolate_instance_f32 * S, const float32_t * pSrc, float32_t * pDst, @@ -821,7 +821,7 @@ void arm_fir_interpolate_f32( } #else -void arm_fir_interpolate_f32( +ARM_DSP_ATTRIBUTE void arm_fir_interpolate_f32( const arm_fir_interpolate_instance_f32 * S, const float32_t * pSrc, float32_t * pDst, diff --git a/Source/FilteringFunctions/arm_fir_interpolate_init_f32.c b/Source/FilteringFunctions/arm_fir_interpolate_init_f32.c index 67bdff9c0..aa9a92b43 100644 --- a/Source/FilteringFunctions/arm_fir_interpolate_init_f32.c +++ b/Source/FilteringFunctions/arm_fir_interpolate_init_f32.c @@ -62,7 +62,7 @@ where blockSize is the number of input samples processed by each call to arm_fir_interpolate_f32(). */ -arm_status arm_fir_interpolate_init_f32( +ARM_DSP_ATTRIBUTE arm_status arm_fir_interpolate_init_f32( arm_fir_interpolate_instance_f32 * S, uint8_t L, uint16_t numTaps, diff --git a/Source/FilteringFunctions/arm_fir_interpolate_init_q15.c b/Source/FilteringFunctions/arm_fir_interpolate_init_q15.c index 7436aa434..7a832ab6e 100644 --- a/Source/FilteringFunctions/arm_fir_interpolate_init_q15.c +++ b/Source/FilteringFunctions/arm_fir_interpolate_init_q15.c @@ -62,7 +62,7 @@ where blockSize is the number of input samples processed by each call to arm_fir_interpolate_q15(). */ -arm_status arm_fir_interpolate_init_q15( +ARM_DSP_ATTRIBUTE arm_status arm_fir_interpolate_init_q15( arm_fir_interpolate_instance_q15 * S, uint8_t L, uint16_t numTaps, diff --git a/Source/FilteringFunctions/arm_fir_interpolate_init_q31.c b/Source/FilteringFunctions/arm_fir_interpolate_init_q31.c index 15f9e0d3a..4d57d4bb4 100644 --- a/Source/FilteringFunctions/arm_fir_interpolate_init_q31.c +++ b/Source/FilteringFunctions/arm_fir_interpolate_init_q31.c @@ -61,7 +61,7 @@ where blockSize is the number of input samples processed by each call to arm_fir_interpolate_q31(). */ -arm_status arm_fir_interpolate_init_q31( +ARM_DSP_ATTRIBUTE arm_status arm_fir_interpolate_init_q31( arm_fir_interpolate_instance_q31 * S, uint8_t L, uint16_t numTaps, diff --git a/Source/FilteringFunctions/arm_fir_interpolate_q15.c b/Source/FilteringFunctions/arm_fir_interpolate_q15.c index 3466a95dd..be42e306b 100644 --- a/Source/FilteringFunctions/arm_fir_interpolate_q15.c +++ b/Source/FilteringFunctions/arm_fir_interpolate_q15.c @@ -56,7 +56,7 @@ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) #include "arm_helium_utils.h" -void arm_fir_interpolate_q15( +ARM_DSP_ATTRIBUTE void arm_fir_interpolate_q15( const arm_fir_interpolate_instance_q15 * S, const q15_t * pSrc, q15_t * pDst, @@ -348,7 +348,7 @@ void arm_fir_interpolate_q15( } } #else -void arm_fir_interpolate_q15( +ARM_DSP_ATTRIBUTE void arm_fir_interpolate_q15( const arm_fir_interpolate_instance_q15 * S, const q15_t * pSrc, q15_t * pDst, diff --git a/Source/FilteringFunctions/arm_fir_interpolate_q31.c b/Source/FilteringFunctions/arm_fir_interpolate_q31.c index 4e192fdca..adac367df 100644 --- a/Source/FilteringFunctions/arm_fir_interpolate_q31.c +++ b/Source/FilteringFunctions/arm_fir_interpolate_q31.c @@ -56,7 +56,7 @@ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) #include "arm_helium_utils.h" -void arm_fir_interpolate_q31( +ARM_DSP_ATTRIBUTE void arm_fir_interpolate_q31( const arm_fir_interpolate_instance_q31 * S, const q31_t * pSrc, q31_t * pDst, @@ -345,7 +345,7 @@ void arm_fir_interpolate_q31( } } #else -void arm_fir_interpolate_q31( +ARM_DSP_ATTRIBUTE void arm_fir_interpolate_q31( const arm_fir_interpolate_instance_q31 * S, const q31_t * pSrc, q31_t * pDst, diff --git a/Source/FilteringFunctions/arm_fir_lattice_f32.c b/Source/FilteringFunctions/arm_fir_lattice_f32.c index ece276ea4..daec037b9 100644 --- a/Source/FilteringFunctions/arm_fir_lattice_f32.c +++ b/Source/FilteringFunctions/arm_fir_lattice_f32.c @@ -120,7 +120,7 @@ @param[in] blockSize number of samples to process */ -void arm_fir_lattice_f32( +ARM_DSP_ATTRIBUTE void arm_fir_lattice_f32( const arm_fir_lattice_instance_f32 * S, const float32_t * pSrc, float32_t * pDst, diff --git a/Source/FilteringFunctions/arm_fir_lattice_init_f32.c b/Source/FilteringFunctions/arm_fir_lattice_init_f32.c index af07f0ec1..828eee44d 100644 --- a/Source/FilteringFunctions/arm_fir_lattice_init_f32.c +++ b/Source/FilteringFunctions/arm_fir_lattice_init_f32.c @@ -45,7 +45,7 @@ @param[in] pState points to the state buffer. The array is of length numStages */ -void arm_fir_lattice_init_f32( +ARM_DSP_ATTRIBUTE void arm_fir_lattice_init_f32( arm_fir_lattice_instance_f32 * S, uint16_t numStages, const float32_t * pCoeffs, diff --git a/Source/FilteringFunctions/arm_fir_lattice_init_q15.c b/Source/FilteringFunctions/arm_fir_lattice_init_q15.c index 968393923..014ac6801 100644 --- a/Source/FilteringFunctions/arm_fir_lattice_init_q15.c +++ b/Source/FilteringFunctions/arm_fir_lattice_init_q15.c @@ -45,7 +45,7 @@ @param[in] pState points to the state buffer. The array is of length numStages */ -void arm_fir_lattice_init_q15( +ARM_DSP_ATTRIBUTE void arm_fir_lattice_init_q15( arm_fir_lattice_instance_q15 * S, uint16_t numStages, const q15_t * pCoeffs, diff --git a/Source/FilteringFunctions/arm_fir_lattice_init_q31.c b/Source/FilteringFunctions/arm_fir_lattice_init_q31.c index 010468100..11e2b884d 100644 --- a/Source/FilteringFunctions/arm_fir_lattice_init_q31.c +++ b/Source/FilteringFunctions/arm_fir_lattice_init_q31.c @@ -45,7 +45,7 @@ @param[in] pState points to the state buffer. The array is of length numStages */ -void arm_fir_lattice_init_q31( +ARM_DSP_ATTRIBUTE void arm_fir_lattice_init_q31( arm_fir_lattice_instance_q31 * S, uint16_t numStages, const q31_t * pCoeffs, diff --git a/Source/FilteringFunctions/arm_fir_lattice_q15.c b/Source/FilteringFunctions/arm_fir_lattice_q15.c index 3d9b45421..cc7f8ea95 100644 --- a/Source/FilteringFunctions/arm_fir_lattice_q15.c +++ b/Source/FilteringFunctions/arm_fir_lattice_q15.c @@ -45,7 +45,7 @@ @param[in] blockSize number of samples to process */ -void arm_fir_lattice_q15( +ARM_DSP_ATTRIBUTE void arm_fir_lattice_q15( const arm_fir_lattice_instance_q15 * S, const q15_t * pSrc, q15_t * pDst, diff --git a/Source/FilteringFunctions/arm_fir_lattice_q31.c b/Source/FilteringFunctions/arm_fir_lattice_q31.c index 9bcf43000..996865411 100644 --- a/Source/FilteringFunctions/arm_fir_lattice_q31.c +++ b/Source/FilteringFunctions/arm_fir_lattice_q31.c @@ -48,7 +48,7 @@ In order to avoid overflows the input signal must be scaled down by 2*log2(numStages) bits. */ -void arm_fir_lattice_q31( +ARM_DSP_ATTRIBUTE void arm_fir_lattice_q31( const arm_fir_lattice_instance_q31 * S, const q31_t * pSrc, q31_t * pDst, diff --git a/Source/FilteringFunctions/arm_fir_q15.c b/Source/FilteringFunctions/arm_fir_q15.c index d210e4c7c..23050e225 100644 --- a/Source/FilteringFunctions/arm_fir_q15.c +++ b/Source/FilteringFunctions/arm_fir_q15.c @@ -195,7 +195,7 @@ static void arm_fir_q15_1_8_mve(const arm_fir_instance_q15 * S, } -void arm_fir_q15( +ARM_DSP_ATTRIBUTE void arm_fir_q15( const arm_fir_instance_q15 * S, const q15_t * pSrc, q15_t * pDst, @@ -455,7 +455,7 @@ switch(nbTaps) { } #else -void arm_fir_q15( +ARM_DSP_ATTRIBUTE void arm_fir_q15( const arm_fir_instance_q15 * S, const q15_t * pSrc, q15_t * pDst, diff --git a/Source/FilteringFunctions/arm_fir_q31.c b/Source/FilteringFunctions/arm_fir_q31.c index b9f46876a..468c1fe0e 100644 --- a/Source/FilteringFunctions/arm_fir_q31.c +++ b/Source/FilteringFunctions/arm_fir_q31.c @@ -645,7 +645,7 @@ static void arm_fir_q31_29_32_mve(const arm_fir_instance_q31 * S, -void arm_fir_q31( +ARM_DSP_ATTRIBUTE void arm_fir_q31( const arm_fir_instance_q31 * S, const q31_t * pSrc, q31_t * pDst, @@ -928,7 +928,7 @@ void arm_fir_q31( } #else -void arm_fir_q31( +ARM_DSP_ATTRIBUTE void arm_fir_q31( const arm_fir_instance_q31 * S, const q31_t * pSrc, q31_t * pDst, diff --git a/Source/FilteringFunctions/arm_fir_q7.c b/Source/FilteringFunctions/arm_fir_q7.c index a5e5ba3ff..4d067d14f 100755 --- a/Source/FilteringFunctions/arm_fir_q7.c +++ b/Source/FilteringFunctions/arm_fir_q7.c @@ -152,7 +152,7 @@ static void arm_fir_q7_49_64_mve(const arm_fir_instance_q7 * S, } -void arm_fir_q7_33_48_mve(const arm_fir_instance_q7 * S, +ARM_DSP_ATTRIBUTE void arm_fir_q7_33_48_mve(const arm_fir_instance_q7 * S, const q7_t * __restrict pSrc, q7_t * __restrict pDst, uint32_t blockSize) { @@ -175,7 +175,7 @@ static void arm_fir_q7_17_32_mve(const arm_fir_instance_q7 * S, } -void arm_fir_q7_1_16_mve(const arm_fir_instance_q7 * S, +ARM_DSP_ATTRIBUTE void arm_fir_q7_1_16_mve(const arm_fir_instance_q7 * S, const q7_t * __restrict pSrc, q7_t * __restrict pDst, uint32_t blockSize) { @@ -186,7 +186,7 @@ void arm_fir_q7_1_16_mve(const arm_fir_instance_q7 * S, #undef NBTAPS } -void arm_fir_q7( +ARM_DSP_ATTRIBUTE void arm_fir_q7( const arm_fir_instance_q7 * S, const q7_t * pSrc, q7_t * pDst, @@ -443,7 +443,7 @@ void arm_fir_q7( } } #else -void arm_fir_q7( +ARM_DSP_ATTRIBUTE void arm_fir_q7( const arm_fir_instance_q7 * S, const q7_t * pSrc, q7_t * pDst, diff --git a/Source/FilteringFunctions/arm_fir_sparse_f32.c b/Source/FilteringFunctions/arm_fir_sparse_f32.c index 36caafbd2..0ed6201b8 100644 --- a/Source/FilteringFunctions/arm_fir_sparse_f32.c +++ b/Source/FilteringFunctions/arm_fir_sparse_f32.c @@ -109,7 +109,7 @@ @param[in] blockSize number of input samples to process */ -void arm_fir_sparse_f32( +ARM_DSP_ATTRIBUTE void arm_fir_sparse_f32( arm_fir_sparse_instance_f32 * S, const float32_t * pSrc, float32_t * pDst, diff --git a/Source/FilteringFunctions/arm_fir_sparse_init_f32.c b/Source/FilteringFunctions/arm_fir_sparse_init_f32.c index 6178abd31..1aa61350f 100644 --- a/Source/FilteringFunctions/arm_fir_sparse_init_f32.c +++ b/Source/FilteringFunctions/arm_fir_sparse_init_f32.c @@ -56,7 +56,7 @@ number of samples processed by the arm_fir_sparse_f32() function. */ -void arm_fir_sparse_init_f32( +ARM_DSP_ATTRIBUTE void arm_fir_sparse_init_f32( arm_fir_sparse_instance_f32 * S, uint16_t numTaps, const float32_t * pCoeffs, diff --git a/Source/FilteringFunctions/arm_fir_sparse_init_q15.c b/Source/FilteringFunctions/arm_fir_sparse_init_q15.c index fc400bebc..15d5829a7 100644 --- a/Source/FilteringFunctions/arm_fir_sparse_init_q15.c +++ b/Source/FilteringFunctions/arm_fir_sparse_init_q15.c @@ -56,7 +56,7 @@ number of words processed by arm_fir_sparse_q15() function. */ -void arm_fir_sparse_init_q15( +ARM_DSP_ATTRIBUTE void arm_fir_sparse_init_q15( arm_fir_sparse_instance_q15 * S, uint16_t numTaps, const q15_t * pCoeffs, diff --git a/Source/FilteringFunctions/arm_fir_sparse_init_q31.c b/Source/FilteringFunctions/arm_fir_sparse_init_q31.c index c6dec8171..8715c6287 100644 --- a/Source/FilteringFunctions/arm_fir_sparse_init_q31.c +++ b/Source/FilteringFunctions/arm_fir_sparse_init_q31.c @@ -55,7 +55,7 @@ blockSize is the number of words processed by arm_fir_sparse_q31() function. */ -void arm_fir_sparse_init_q31( +ARM_DSP_ATTRIBUTE void arm_fir_sparse_init_q31( arm_fir_sparse_instance_q31 * S, uint16_t numTaps, const q31_t * pCoeffs, diff --git a/Source/FilteringFunctions/arm_fir_sparse_init_q7.c b/Source/FilteringFunctions/arm_fir_sparse_init_q7.c index 1d8d217f2..4a7ad9a6c 100644 --- a/Source/FilteringFunctions/arm_fir_sparse_init_q7.c +++ b/Source/FilteringFunctions/arm_fir_sparse_init_q7.c @@ -56,7 +56,7 @@ number of samples processed by the arm_fir_sparse_q7() function. */ -void arm_fir_sparse_init_q7( +ARM_DSP_ATTRIBUTE void arm_fir_sparse_init_q7( arm_fir_sparse_instance_q7 * S, uint16_t numTaps, const q7_t * pCoeffs, diff --git a/Source/FilteringFunctions/arm_fir_sparse_q15.c b/Source/FilteringFunctions/arm_fir_sparse_q15.c index 75d28018c..74507c021 100644 --- a/Source/FilteringFunctions/arm_fir_sparse_q15.c +++ b/Source/FilteringFunctions/arm_fir_sparse_q15.c @@ -55,7 +55,7 @@ In order to avoid overflows the input signal or coefficients must be scaled down by log2(numTaps) bits. */ -void arm_fir_sparse_q15( +ARM_DSP_ATTRIBUTE void arm_fir_sparse_q15( arm_fir_sparse_instance_q15 * S, const q15_t * pSrc, q15_t * pDst, diff --git a/Source/FilteringFunctions/arm_fir_sparse_q31.c b/Source/FilteringFunctions/arm_fir_sparse_q31.c index a45c5b69b..7d70d22b5 100644 --- a/Source/FilteringFunctions/arm_fir_sparse_q31.c +++ b/Source/FilteringFunctions/arm_fir_sparse_q31.c @@ -53,7 +53,7 @@ In order to avoid overflows the input signal or coefficients must be scaled down by log2(numTaps) bits. */ -void arm_fir_sparse_q31( +ARM_DSP_ATTRIBUTE void arm_fir_sparse_q31( arm_fir_sparse_instance_q31 * S, const q31_t * pSrc, q31_t * pDst, diff --git a/Source/FilteringFunctions/arm_fir_sparse_q7.c b/Source/FilteringFunctions/arm_fir_sparse_q7.c index 2c99160f0..77191a7b2 100644 --- a/Source/FilteringFunctions/arm_fir_sparse_q7.c +++ b/Source/FilteringFunctions/arm_fir_sparse_q7.c @@ -55,7 +55,7 @@ Finally, the result is truncated to 1.7 format. */ -void arm_fir_sparse_q7( +ARM_DSP_ATTRIBUTE void arm_fir_sparse_q7( arm_fir_sparse_instance_q7 * S, const q7_t * pSrc, q7_t * pDst, diff --git a/Source/FilteringFunctions/arm_iir_lattice_f32.c b/Source/FilteringFunctions/arm_iir_lattice_f32.c index 9cae36ea3..c6f0976c5 100644 --- a/Source/FilteringFunctions/arm_iir_lattice_f32.c +++ b/Source/FilteringFunctions/arm_iir_lattice_f32.c @@ -117,7 +117,7 @@ @param[in] blockSize number of samples to process */ -void arm_iir_lattice_f32( +ARM_DSP_ATTRIBUTE void arm_iir_lattice_f32( const arm_iir_lattice_instance_f32 * S, const float32_t * pSrc, float32_t * pDst, diff --git a/Source/FilteringFunctions/arm_iir_lattice_init_f32.c b/Source/FilteringFunctions/arm_iir_lattice_init_f32.c index 69d6ddb20..823f04bf0 100644 --- a/Source/FilteringFunctions/arm_iir_lattice_init_f32.c +++ b/Source/FilteringFunctions/arm_iir_lattice_init_f32.c @@ -47,7 +47,7 @@ @param[in] blockSize number of samples to process */ -void arm_iir_lattice_init_f32( +ARM_DSP_ATTRIBUTE void arm_iir_lattice_init_f32( arm_iir_lattice_instance_f32 * S, uint16_t numStages, float32_t * pkCoeffs, diff --git a/Source/FilteringFunctions/arm_iir_lattice_init_q15.c b/Source/FilteringFunctions/arm_iir_lattice_init_q15.c index 3631658d0..6f732eec9 100644 --- a/Source/FilteringFunctions/arm_iir_lattice_init_q15.c +++ b/Source/FilteringFunctions/arm_iir_lattice_init_q15.c @@ -47,7 +47,7 @@ @param[in] blockSize number of samples to process */ -void arm_iir_lattice_init_q15( +ARM_DSP_ATTRIBUTE void arm_iir_lattice_init_q15( arm_iir_lattice_instance_q15 * S, uint16_t numStages, q15_t * pkCoeffs, diff --git a/Source/FilteringFunctions/arm_iir_lattice_init_q31.c b/Source/FilteringFunctions/arm_iir_lattice_init_q31.c index 102168f0f..ac00d2287 100644 --- a/Source/FilteringFunctions/arm_iir_lattice_init_q31.c +++ b/Source/FilteringFunctions/arm_iir_lattice_init_q31.c @@ -47,7 +47,7 @@ @param[in] blockSize number of samples to process */ -void arm_iir_lattice_init_q31( +ARM_DSP_ATTRIBUTE void arm_iir_lattice_init_q31( arm_iir_lattice_instance_q31 * S, uint16_t numStages, q31_t * pkCoeffs, diff --git a/Source/FilteringFunctions/arm_iir_lattice_q15.c b/Source/FilteringFunctions/arm_iir_lattice_q15.c index be5b77f88..772dd5535 100644 --- a/Source/FilteringFunctions/arm_iir_lattice_q15.c +++ b/Source/FilteringFunctions/arm_iir_lattice_q15.c @@ -53,7 +53,7 @@ Lastly, the accumulator is saturated to yield a result in 1.15 format. */ -void arm_iir_lattice_q15( +ARM_DSP_ATTRIBUTE void arm_iir_lattice_q15( const arm_iir_lattice_instance_q15 * S, const q15_t * pSrc, q15_t * pDst, diff --git a/Source/FilteringFunctions/arm_iir_lattice_q31.c b/Source/FilteringFunctions/arm_iir_lattice_q31.c index 517b7ae0f..b5f41a1bf 100644 --- a/Source/FilteringFunctions/arm_iir_lattice_q31.c +++ b/Source/FilteringFunctions/arm_iir_lattice_q31.c @@ -52,7 +52,7 @@ After all multiply-accumulates are performed, the 2.62 accumulator is saturated to 1.32 format and then truncated to 1.31 format. */ -void arm_iir_lattice_q31( +ARM_DSP_ATTRIBUTE void arm_iir_lattice_q31( const arm_iir_lattice_instance_q31 * S, const q31_t * pSrc, q31_t * pDst, diff --git a/Source/FilteringFunctions/arm_levinson_durbin_f16.c b/Source/FilteringFunctions/arm_levinson_durbin_f16.c index 0f94f1a0a..dd2249049 100755 --- a/Source/FilteringFunctions/arm_levinson_durbin_f16.c +++ b/Source/FilteringFunctions/arm_levinson_durbin_f16.c @@ -57,7 +57,7 @@ #define LANE4567_MASK 0xFF00 -void arm_levinson_durbin_f16(const float16_t *phi, +ARM_DSP_ATTRIBUTE void arm_levinson_durbin_f16(const float16_t *phi, float16_t *a, float16_t *err, int nbCoefs) @@ -211,7 +211,7 @@ void arm_levinson_durbin_f16(const float16_t *phi, #if defined(ARM_FLOAT16_SUPPORTED) -void arm_levinson_durbin_f16(const float16_t *phi, +ARM_DSP_ATTRIBUTE void arm_levinson_durbin_f16(const float16_t *phi, float16_t *a, float16_t *err, int nbCoefs) diff --git a/Source/FilteringFunctions/arm_levinson_durbin_f32.c b/Source/FilteringFunctions/arm_levinson_durbin_f32.c index c8fdcffda..cc4125fe5 100755 --- a/Source/FilteringFunctions/arm_levinson_durbin_f32.c +++ b/Source/FilteringFunctions/arm_levinson_durbin_f32.c @@ -60,7 +60,7 @@ #define LANE23_MASK 0xFF00 -void arm_levinson_durbin_f32(const float32_t *phi, +ARM_DSP_ATTRIBUTE void arm_levinson_durbin_f32(const float32_t *phi, float32_t *a, float32_t *err, int nbCoefs) @@ -216,7 +216,7 @@ void arm_levinson_durbin_f32(const float32_t *phi, } #else -void arm_levinson_durbin_f32(const float32_t *phi, +ARM_DSP_ATTRIBUTE void arm_levinson_durbin_f32(const float32_t *phi, float32_t *a, float32_t *err, int nbCoefs) diff --git a/Source/FilteringFunctions/arm_levinson_durbin_q31.c b/Source/FilteringFunctions/arm_levinson_durbin_q31.c index c1f2af949..33089f4de 100755 --- a/Source/FilteringFunctions/arm_levinson_durbin_q31.c +++ b/Source/FilteringFunctions/arm_levinson_durbin_q31.c @@ -117,7 +117,7 @@ __STATIC_FORCEINLINE q31_t divide(q31_t n, q31_t d) #define LANE23_MASK 0xFF00 #include "arm_helium_utils.h" -void arm_levinson_durbin_q31(const q31_t *phi, +ARM_DSP_ATTRIBUTE void arm_levinson_durbin_q31(const q31_t *phi, q31_t *a, q31_t *err, int nbCoefs) @@ -297,7 +297,7 @@ void arm_levinson_durbin_q31(const q31_t *phi, #else -void arm_levinson_durbin_q31(const q31_t *phi, +ARM_DSP_ATTRIBUTE void arm_levinson_durbin_q31(const q31_t *phi, q31_t *a, q31_t *err, int nbCoefs) diff --git a/Source/FilteringFunctions/arm_lms_f32.c b/Source/FilteringFunctions/arm_lms_f32.c index e9cd23917..d8295ff1f 100644 --- a/Source/FilteringFunctions/arm_lms_f32.c +++ b/Source/FilteringFunctions/arm_lms_f32.c @@ -162,7 +162,7 @@ @param[in] blockSize number of samples to process */ #if defined(ARM_MATH_NEON) -void arm_lms_f32( +ARM_DSP_ATTRIBUTE void arm_lms_f32( const arm_lms_instance_f32 * S, const float32_t * pSrc, float32_t * pRef, @@ -334,7 +334,7 @@ void arm_lms_f32( } #else -void arm_lms_f32( +ARM_DSP_ATTRIBUTE void arm_lms_f32( const arm_lms_instance_f32 * S, const float32_t * pSrc, float32_t * pRef, diff --git a/Source/FilteringFunctions/arm_lms_init_f32.c b/Source/FilteringFunctions/arm_lms_init_f32.c index 18125c69c..31d85f433 100644 --- a/Source/FilteringFunctions/arm_lms_init_f32.c +++ b/Source/FilteringFunctions/arm_lms_init_f32.c @@ -51,7 +51,7 @@ pState points to an array of length numTaps+blockSize-1 samples, where blockSize is the number of input samples processed by each call to arm_lms_f32(). */ -void arm_lms_init_f32( +ARM_DSP_ATTRIBUTE void arm_lms_init_f32( arm_lms_instance_f32 * S, uint16_t numTaps, float32_t * pCoeffs, diff --git a/Source/FilteringFunctions/arm_lms_init_q15.c b/Source/FilteringFunctions/arm_lms_init_q15.c index a731a98ec..9c3590012 100644 --- a/Source/FilteringFunctions/arm_lms_init_q15.c +++ b/Source/FilteringFunctions/arm_lms_init_q15.c @@ -58,7 +58,7 @@ input samples processed by each call to arm_lms_q15(). */ -void arm_lms_init_q15( +ARM_DSP_ATTRIBUTE void arm_lms_init_q15( arm_lms_instance_q15 * S, uint16_t numTaps, q15_t * pCoeffs, diff --git a/Source/FilteringFunctions/arm_lms_init_q31.c b/Source/FilteringFunctions/arm_lms_init_q31.c index 49445dca6..72994d942 100644 --- a/Source/FilteringFunctions/arm_lms_init_q31.c +++ b/Source/FilteringFunctions/arm_lms_init_q31.c @@ -58,7 +58,7 @@ arm_lms_q31(). */ -void arm_lms_init_q31( +ARM_DSP_ATTRIBUTE void arm_lms_init_q31( arm_lms_instance_q31 * S, uint16_t numTaps, q31_t * pCoeffs, diff --git a/Source/FilteringFunctions/arm_lms_norm_f32.c b/Source/FilteringFunctions/arm_lms_norm_f32.c index 2ffb08d63..fd5204f8d 100644 --- a/Source/FilteringFunctions/arm_lms_norm_f32.c +++ b/Source/FilteringFunctions/arm_lms_norm_f32.c @@ -156,7 +156,7 @@ */ #if defined(ARM_MATH_NEON) -void arm_lms_norm_f32( +ARM_DSP_ATTRIBUTE void arm_lms_norm_f32( arm_lms_norm_instance_f32 * S, const float32_t * pSrc, float32_t * pRef, @@ -345,7 +345,7 @@ void arm_lms_norm_f32( } #else -void arm_lms_norm_f32( +ARM_DSP_ATTRIBUTE void arm_lms_norm_f32( arm_lms_norm_instance_f32 * S, const float32_t * pSrc, float32_t * pRef, diff --git a/Source/FilteringFunctions/arm_lms_norm_init_f32.c b/Source/FilteringFunctions/arm_lms_norm_init_f32.c index 47615cfa2..09bb7da6a 100644 --- a/Source/FilteringFunctions/arm_lms_norm_init_f32.c +++ b/Source/FilteringFunctions/arm_lms_norm_init_f32.c @@ -56,7 +56,7 @@ where blockSize is the number of input samples processed by each call to arm_lms_norm_f32(). */ -void arm_lms_norm_init_f32( +ARM_DSP_ATTRIBUTE void arm_lms_norm_init_f32( arm_lms_norm_instance_f32 * S, uint16_t numTaps, float32_t * pCoeffs, diff --git a/Source/FilteringFunctions/arm_lms_norm_init_q15.c b/Source/FilteringFunctions/arm_lms_norm_init_q15.c index 4420eb0c1..01430d746 100644 --- a/Source/FilteringFunctions/arm_lms_norm_init_q15.c +++ b/Source/FilteringFunctions/arm_lms_norm_init_q15.c @@ -55,7 +55,7 @@ by each call to arm_lms_norm_q15(). */ -void arm_lms_norm_init_q15( +ARM_DSP_ATTRIBUTE void arm_lms_norm_init_q15( arm_lms_norm_instance_q15 * S, uint16_t numTaps, q15_t * pCoeffs, diff --git a/Source/FilteringFunctions/arm_lms_norm_init_q31.c b/Source/FilteringFunctions/arm_lms_norm_init_q31.c index 85e162eb0..0c5572c59 100644 --- a/Source/FilteringFunctions/arm_lms_norm_init_q31.c +++ b/Source/FilteringFunctions/arm_lms_norm_init_q31.c @@ -54,7 +54,7 @@ where blockSize is the number of input samples processed by each call to arm_lms_norm_q31(). */ -void arm_lms_norm_init_q31( +ARM_DSP_ATTRIBUTE void arm_lms_norm_init_q31( arm_lms_norm_instance_q31 * S, uint16_t numTaps, q31_t * pCoeffs, diff --git a/Source/FilteringFunctions/arm_lms_norm_q15.c b/Source/FilteringFunctions/arm_lms_norm_q15.c index 8c144b26c..a1f111401 100644 --- a/Source/FilteringFunctions/arm_lms_norm_q15.c +++ b/Source/FilteringFunctions/arm_lms_norm_q15.c @@ -61,7 +61,7 @@ updation of filter cofficients are saturted. */ -void arm_lms_norm_q15( +ARM_DSP_ATTRIBUTE void arm_lms_norm_q15( arm_lms_norm_instance_q15 * S, const q15_t * pSrc, q15_t * pRef, diff --git a/Source/FilteringFunctions/arm_lms_norm_q31.c b/Source/FilteringFunctions/arm_lms_norm_q31.c index 7217e0775..28d45cc39 100644 --- a/Source/FilteringFunctions/arm_lms_norm_q31.c +++ b/Source/FilteringFunctions/arm_lms_norm_q31.c @@ -61,7 +61,7 @@ updation of filter cofficients are saturted. */ -void arm_lms_norm_q31( +ARM_DSP_ATTRIBUTE void arm_lms_norm_q31( arm_lms_norm_instance_q31 * S, const q31_t * pSrc, q31_t * pRef, diff --git a/Source/FilteringFunctions/arm_lms_q15.c b/Source/FilteringFunctions/arm_lms_q15.c index 04a72b698..a49f85bc1 100644 --- a/Source/FilteringFunctions/arm_lms_q15.c +++ b/Source/FilteringFunctions/arm_lms_q15.c @@ -58,7 +58,7 @@ the updation of filter cofficients are saturted. */ -void arm_lms_q15( +ARM_DSP_ATTRIBUTE void arm_lms_q15( const arm_lms_instance_q15 * S, const q15_t * pSrc, q15_t * pRef, diff --git a/Source/FilteringFunctions/arm_lms_q31.c b/Source/FilteringFunctions/arm_lms_q31.c index 63b35cac6..225bc6fda 100644 --- a/Source/FilteringFunctions/arm_lms_q31.c +++ b/Source/FilteringFunctions/arm_lms_q31.c @@ -62,7 +62,7 @@ the updation of filter cofficients are saturted. */ -void arm_lms_q31( +ARM_DSP_ATTRIBUTE void arm_lms_q31( const arm_lms_instance_q31 * S, const q31_t * pSrc, q31_t * pRef, diff --git a/Source/InterpolationFunctions/arm_spline_interp_f32.c b/Source/InterpolationFunctions/arm_spline_interp_f32.c index dfcb2e8d6..d12af76d7 100644 --- a/Source/InterpolationFunctions/arm_spline_interp_f32.c +++ b/Source/InterpolationFunctions/arm_spline_interp_f32.c @@ -143,7 +143,7 @@ * @param[in] blockSize number of samples of output data. */ -void arm_spline_f32( +ARM_DSP_ATTRIBUTE void arm_spline_f32( arm_spline_instance_f32 * S, const float32_t * xq, float32_t * pDst, diff --git a/Source/InterpolationFunctions/arm_spline_interp_init_f32.c b/Source/InterpolationFunctions/arm_spline_interp_init_f32.c index ae3f2da00..602d4fc1a 100644 --- a/Source/InterpolationFunctions/arm_spline_interp_init_f32.c +++ b/Source/InterpolationFunctions/arm_spline_interp_init_f32.c @@ -62,7 +62,7 @@ * */ -void arm_spline_init_f32( +ARM_DSP_ATTRIBUTE void arm_spline_init_f32( arm_spline_instance_f32 * S, arm_spline_type type, const float32_t * x, diff --git a/Source/MatrixFunctions/arm_householder_f16.c b/Source/MatrixFunctions/arm_householder_f16.c index 1985d145e..6cf900327 100644 --- a/Source/MatrixFunctions/arm_householder_f16.c +++ b/Source/MatrixFunctions/arm_householder_f16.c @@ -61,7 +61,7 @@ -float16_t arm_householder_f16( +ARM_DSP_ATTRIBUTE float16_t arm_householder_f16( const float16_t * pSrc, const float16_t threshold, uint32_t blockSize, diff --git a/Source/MatrixFunctions/arm_householder_f32.c b/Source/MatrixFunctions/arm_householder_f32.c index 23c549a2c..3d262fde4 100644 --- a/Source/MatrixFunctions/arm_householder_f32.c +++ b/Source/MatrixFunctions/arm_householder_f32.c @@ -133,7 +133,7 @@ -float32_t arm_householder_f32( +ARM_DSP_ATTRIBUTE float32_t arm_householder_f32( const float32_t * pSrc, const float32_t threshold, uint32_t blockSize, diff --git a/Source/MatrixFunctions/arm_householder_f64.c b/Source/MatrixFunctions/arm_householder_f64.c index be4f3e4c4..8cfa6b9fc 100644 --- a/Source/MatrixFunctions/arm_householder_f64.c +++ b/Source/MatrixFunctions/arm_householder_f64.c @@ -58,7 +58,7 @@ -float64_t arm_householder_f64( +ARM_DSP_ATTRIBUTE float64_t arm_householder_f64( const float64_t * pSrc, const float64_t threshold, uint32_t blockSize, diff --git a/Source/MatrixFunctions/arm_mat_add_f16.c b/Source/MatrixFunctions/arm_mat_add_f16.c index 2018a0908..3cc97b587 100755 --- a/Source/MatrixFunctions/arm_mat_add_f16.c +++ b/Source/MatrixFunctions/arm_mat_add_f16.c @@ -54,7 +54,7 @@ #if defined(ARM_MATH_MVE_FLOAT16) && !defined(ARM_MATH_AUTOVECTORIZE) -arm_status arm_mat_add_f16( +ARM_DSP_ATTRIBUTE arm_status arm_mat_add_f16( const arm_matrix_instance_f16 * pSrcA, const arm_matrix_instance_f16 * pSrcB, arm_matrix_instance_f16 * pDst) @@ -125,7 +125,7 @@ arm_status arm_mat_add_f16( } #else -arm_status arm_mat_add_f16( +ARM_DSP_ATTRIBUTE arm_status arm_mat_add_f16( const arm_matrix_instance_f16 * pSrcA, const arm_matrix_instance_f16 * pSrcB, arm_matrix_instance_f16 * pDst) diff --git a/Source/MatrixFunctions/arm_mat_add_f32.c b/Source/MatrixFunctions/arm_mat_add_f32.c index 0561da643..28e7a4bfb 100644 --- a/Source/MatrixFunctions/arm_mat_add_f32.c +++ b/Source/MatrixFunctions/arm_mat_add_f32.c @@ -80,7 +80,7 @@ */ #if defined(ARM_MATH_MVEF) && !defined(ARM_MATH_AUTOVECTORIZE) -arm_status arm_mat_add_f32( +ARM_DSP_ATTRIBUTE arm_status arm_mat_add_f32( const arm_matrix_instance_f32 * pSrcA, const arm_matrix_instance_f32 * pSrcB, arm_matrix_instance_f32 * pDst) @@ -158,7 +158,7 @@ So no blocking is used for taking into account cache effects. For big matrix, there exist better libraries for Neon. */ -arm_status arm_mat_add_f32( +ARM_DSP_ATTRIBUTE arm_status arm_mat_add_f32( const arm_matrix_instance_f32 * pSrcA, const arm_matrix_instance_f32 * pSrcB, arm_matrix_instance_f32 * pDst) @@ -234,7 +234,7 @@ arm_status arm_mat_add_f32( return (status); } #else -arm_status arm_mat_add_f32( +ARM_DSP_ATTRIBUTE arm_status arm_mat_add_f32( const arm_matrix_instance_f32 * pSrcA, const arm_matrix_instance_f32 * pSrcB, arm_matrix_instance_f32 * pDst) diff --git a/Source/MatrixFunctions/arm_mat_add_q15.c b/Source/MatrixFunctions/arm_mat_add_q15.c index de9661fad..094547d99 100644 --- a/Source/MatrixFunctions/arm_mat_add_q15.c +++ b/Source/MatrixFunctions/arm_mat_add_q15.c @@ -52,7 +52,7 @@ */ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -arm_status arm_mat_add_q15( +ARM_DSP_ATTRIBUTE arm_status arm_mat_add_q15( const arm_matrix_instance_q15 * pSrcA, const arm_matrix_instance_q15 * pSrcB, arm_matrix_instance_q15 * pDst) @@ -128,7 +128,7 @@ arm_status arm_mat_add_q15( } #else -arm_status arm_mat_add_q15( +ARM_DSP_ATTRIBUTE arm_status arm_mat_add_q15( const arm_matrix_instance_q15 * pSrcA, const arm_matrix_instance_q15 * pSrcB, arm_matrix_instance_q15 * pDst) diff --git a/Source/MatrixFunctions/arm_mat_add_q31.c b/Source/MatrixFunctions/arm_mat_add_q31.c index 18a352f8e..2456cd712 100644 --- a/Source/MatrixFunctions/arm_mat_add_q31.c +++ b/Source/MatrixFunctions/arm_mat_add_q31.c @@ -51,7 +51,7 @@ Results outside of the allowable Q31 range [0x80000000 0x7FFFFFFF] are saturated. */ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -arm_status arm_mat_add_q31( +ARM_DSP_ATTRIBUTE arm_status arm_mat_add_q31( const arm_matrix_instance_q31 * pSrcA, const arm_matrix_instance_q31 * pSrcB, arm_matrix_instance_q31 * pDst) @@ -127,7 +127,7 @@ arm_status arm_mat_add_q31( } #else -arm_status arm_mat_add_q31( +ARM_DSP_ATTRIBUTE arm_status arm_mat_add_q31( const arm_matrix_instance_q31 * pSrcA, const arm_matrix_instance_q31 * pSrcB, arm_matrix_instance_q31 * pDst) diff --git a/Source/MatrixFunctions/arm_mat_cholesky_f16.c b/Source/MatrixFunctions/arm_mat_cholesky_f16.c index 939eae755..a56719781 100755 --- a/Source/MatrixFunctions/arm_mat_cholesky_f16.c +++ b/Source/MatrixFunctions/arm_mat_cholesky_f16.c @@ -58,7 +58,7 @@ #include "arm_helium_utils.h" -arm_status arm_mat_cholesky_f16( +ARM_DSP_ATTRIBUTE arm_status arm_mat_cholesky_f16( const arm_matrix_instance_f16 * pSrc, arm_matrix_instance_f16 * pDst) { @@ -178,7 +178,7 @@ arm_status arm_mat_cholesky_f16( } #else -arm_status arm_mat_cholesky_f16( +ARM_DSP_ATTRIBUTE arm_status arm_mat_cholesky_f16( const arm_matrix_instance_f16 * pSrc, arm_matrix_instance_f16 * pDst) { diff --git a/Source/MatrixFunctions/arm_mat_cholesky_f32.c b/Source/MatrixFunctions/arm_mat_cholesky_f32.c index 213666e27..b1d33dd89 100755 --- a/Source/MatrixFunctions/arm_mat_cholesky_f32.c +++ b/Source/MatrixFunctions/arm_mat_cholesky_f32.c @@ -66,7 +66,7 @@ #include "arm_helium_utils.h" -arm_status arm_mat_cholesky_f32( +ARM_DSP_ATTRIBUTE arm_status arm_mat_cholesky_f32( const arm_matrix_instance_f32 * pSrc, arm_matrix_instance_f32 * pDst) { @@ -186,7 +186,7 @@ arm_status arm_mat_cholesky_f32( #else #if defined(ARM_MATH_NEON) && !defined(ARM_MATH_AUTOVECTORIZE) -arm_status arm_mat_cholesky_f32( +ARM_DSP_ATTRIBUTE arm_status arm_mat_cholesky_f32( const arm_matrix_instance_f32 * pSrc, arm_matrix_instance_f32 * pDst) { @@ -361,7 +361,7 @@ arm_status arm_mat_cholesky_f32( } #else -arm_status arm_mat_cholesky_f32( +ARM_DSP_ATTRIBUTE arm_status arm_mat_cholesky_f32( const arm_matrix_instance_f32 * pSrc, arm_matrix_instance_f32 * pDst) { diff --git a/Source/MatrixFunctions/arm_mat_cholesky_f64.c b/Source/MatrixFunctions/arm_mat_cholesky_f64.c index 0e284c210..fefddcc50 100755 --- a/Source/MatrixFunctions/arm_mat_cholesky_f64.c +++ b/Source/MatrixFunctions/arm_mat_cholesky_f64.c @@ -54,7 +54,7 @@ #if defined(ARM_MATH_NEON) && !defined(ARM_MATH_AUTOVECTORIZE) && defined(__aarch64__) -arm_status arm_mat_cholesky_f64( +ARM_DSP_ATTRIBUTE arm_status arm_mat_cholesky_f64( const arm_matrix_instance_f64 * pSrc, arm_matrix_instance_f64 * pDst) { @@ -210,7 +210,7 @@ arm_status arm_mat_cholesky_f64( return (status); } #else -arm_status arm_mat_cholesky_f64( +ARM_DSP_ATTRIBUTE arm_status arm_mat_cholesky_f64( const arm_matrix_instance_f64 * pSrc, arm_matrix_instance_f64 * pDst) { diff --git a/Source/MatrixFunctions/arm_mat_cmplx_mult_f16.c b/Source/MatrixFunctions/arm_mat_cmplx_mult_f16.c index f56669629..6fb744474 100755 --- a/Source/MatrixFunctions/arm_mat_cmplx_mult_f16.c +++ b/Source/MatrixFunctions/arm_mat_cmplx_mult_f16.c @@ -378,7 +378,7 @@ __STATIC_FORCEINLINE arm_status arm_mat_cmplx_mult_f16_4x4_mve( -arm_status arm_mat_cmplx_mult_f16( +ARM_DSP_ATTRIBUTE arm_status arm_mat_cmplx_mult_f16( const arm_matrix_instance_f16 * pSrcA, const arm_matrix_instance_f16 * pSrcB, arm_matrix_instance_f16 * pDst) @@ -704,7 +704,7 @@ if ((pSrcA->numCols != pSrcB->numRows) || } #else -arm_status arm_mat_cmplx_mult_f16( +ARM_DSP_ATTRIBUTE arm_status arm_mat_cmplx_mult_f16( const arm_matrix_instance_f16 * pSrcA, const arm_matrix_instance_f16 * pSrcB, arm_matrix_instance_f16 * pDst) diff --git a/Source/MatrixFunctions/arm_mat_cmplx_mult_f32.c b/Source/MatrixFunctions/arm_mat_cmplx_mult_f32.c index 5add938ba..ce79d40e3 100644 --- a/Source/MatrixFunctions/arm_mat_cmplx_mult_f32.c +++ b/Source/MatrixFunctions/arm_mat_cmplx_mult_f32.c @@ -520,7 +520,7 @@ __STATIC_INLINE arm_status arm_mat_cmplx_mult_f32_4x4_mve( return (ARM_MATH_SUCCESS); } -arm_status arm_mat_cmplx_mult_f32( +ARM_DSP_ATTRIBUTE arm_status arm_mat_cmplx_mult_f32( const arm_matrix_instance_f32 * pSrcA, const arm_matrix_instance_f32 * pSrcB, arm_matrix_instance_f32 * pDst) @@ -836,7 +836,7 @@ arm_status arm_mat_cmplx_mult_f32( #else #if defined(ARM_MATH_NEON) -arm_status arm_mat_cmplx_mult_f32( +ARM_DSP_ATTRIBUTE arm_status arm_mat_cmplx_mult_f32( const arm_matrix_instance_f32 * pSrcA, const arm_matrix_instance_f32 * pSrcB, arm_matrix_instance_f32 * pDst) @@ -1178,7 +1178,7 @@ arm_status arm_mat_cmplx_mult_f32( return (status); } #else -arm_status arm_mat_cmplx_mult_f32( +ARM_DSP_ATTRIBUTE arm_status arm_mat_cmplx_mult_f32( const arm_matrix_instance_f32 * pSrcA, const arm_matrix_instance_f32 * pSrcB, arm_matrix_instance_f32 * pDst) diff --git a/Source/MatrixFunctions/arm_mat_cmplx_mult_q15.c b/Source/MatrixFunctions/arm_mat_cmplx_mult_q15.c index 5b9db9f1c..78b7d6290 100644 --- a/Source/MatrixFunctions/arm_mat_cmplx_mult_q15.c +++ b/Source/MatrixFunctions/arm_mat_cmplx_mult_q15.c @@ -61,7 +61,7 @@ #define MVE_ASRL_SAT16(acc, shift) ((sqrshrl_sat48(acc, -(32-shift)) >> 32) & 0xffffffff) -arm_status arm_mat_cmplx_mult_q15( +ARM_DSP_ATTRIBUTE arm_status arm_mat_cmplx_mult_q15( const arm_matrix_instance_q15 * pSrcA, const arm_matrix_instance_q15 * pSrcB, arm_matrix_instance_q15 * pDst, @@ -312,7 +312,7 @@ arm_status arm_mat_cmplx_mult_q15( return (status); } #else -arm_status arm_mat_cmplx_mult_q15( +ARM_DSP_ATTRIBUTE arm_status arm_mat_cmplx_mult_q15( const arm_matrix_instance_q15 * pSrcA, const arm_matrix_instance_q15 * pSrcB, arm_matrix_instance_q15 * pDst, diff --git a/Source/MatrixFunctions/arm_mat_cmplx_mult_q31.c b/Source/MatrixFunctions/arm_mat_cmplx_mult_q31.c index ee784a6bd..7a2f4c9da 100644 --- a/Source/MatrixFunctions/arm_mat_cmplx_mult_q31.c +++ b/Source/MatrixFunctions/arm_mat_cmplx_mult_q31.c @@ -514,7 +514,7 @@ __STATIC_INLINE arm_status arm_mat_cmplx_mult_q31_4x4_mve( } -arm_status arm_mat_cmplx_mult_q31( +ARM_DSP_ATTRIBUTE arm_status arm_mat_cmplx_mult_q31( const arm_matrix_instance_q31 * pSrcA, const arm_matrix_instance_q31 * pSrcB, arm_matrix_instance_q31 * pDst) @@ -834,7 +834,7 @@ arm_status arm_mat_cmplx_mult_q31( } #else -arm_status arm_mat_cmplx_mult_q31( +ARM_DSP_ATTRIBUTE arm_status arm_mat_cmplx_mult_q31( const arm_matrix_instance_q31 * pSrcA, const arm_matrix_instance_q31 * pSrcB, arm_matrix_instance_q31 * pDst) diff --git a/Source/MatrixFunctions/arm_mat_cmplx_trans_f16.c b/Source/MatrixFunctions/arm_mat_cmplx_trans_f16.c index 5eda8c3cb..0ddb3c4fd 100755 --- a/Source/MatrixFunctions/arm_mat_cmplx_trans_f16.c +++ b/Source/MatrixFunctions/arm_mat_cmplx_trans_f16.c @@ -53,14 +53,14 @@ #include "arm_helium_utils.h" -arm_status arm_mat_cmplx_trans_f16(const arm_matrix_instance_f16 * pSrc, arm_matrix_instance_f16 * pDst) +ARM_DSP_ATTRIBUTE arm_status arm_mat_cmplx_trans_f16(const arm_matrix_instance_f16 * pSrc, arm_matrix_instance_f16 * pDst) { return arm_mat_cmplx_trans_16bit(pSrc->numRows, pSrc->numCols, (uint16_t *) pSrc->pData, pDst->numRows, pDst->numCols, (uint16_t *) pDst->pData); } #else -arm_status arm_mat_cmplx_trans_f16( +ARM_DSP_ATTRIBUTE arm_status arm_mat_cmplx_trans_f16( const arm_matrix_instance_f16 * pSrc, arm_matrix_instance_f16 * pDst) { diff --git a/Source/MatrixFunctions/arm_mat_cmplx_trans_f32.c b/Source/MatrixFunctions/arm_mat_cmplx_trans_f32.c index 4121e6f8a..ea7dade72 100755 --- a/Source/MatrixFunctions/arm_mat_cmplx_trans_f32.c +++ b/Source/MatrixFunctions/arm_mat_cmplx_trans_f32.c @@ -74,14 +74,14 @@ #include "arm_helium_utils.h" -arm_status arm_mat_cmplx_trans_f32(const arm_matrix_instance_f32 * pSrc, arm_matrix_instance_f32 * pDst) +ARM_DSP_ATTRIBUTE arm_status arm_mat_cmplx_trans_f32(const arm_matrix_instance_f32 * pSrc, arm_matrix_instance_f32 * pDst) { return arm_mat_cmplx_trans_32bit(pSrc->numRows, pSrc->numCols, (uint32_t *) pSrc->pData, pDst->numRows, pDst->numCols, (uint32_t *) pDst->pData); } #else -arm_status arm_mat_cmplx_trans_f32( +ARM_DSP_ATTRIBUTE arm_status arm_mat_cmplx_trans_f32( const arm_matrix_instance_f32 * pSrc, arm_matrix_instance_f32 * pDst) { diff --git a/Source/MatrixFunctions/arm_mat_cmplx_trans_q15.c b/Source/MatrixFunctions/arm_mat_cmplx_trans_q15.c index 8a3724ee6..e75218f01 100755 --- a/Source/MatrixFunctions/arm_mat_cmplx_trans_q15.c +++ b/Source/MatrixFunctions/arm_mat_cmplx_trans_q15.c @@ -49,7 +49,7 @@ #include "arm_helium_utils.h" -arm_status arm_mat_cmplx_trans_q15(const arm_matrix_instance_q15 * pSrc, arm_matrix_instance_q15 * pDst) +ARM_DSP_ATTRIBUTE arm_status arm_mat_cmplx_trans_q15(const arm_matrix_instance_q15 * pSrc, arm_matrix_instance_q15 * pDst) { return arm_mat_cmplx_trans_16bit(pSrc->numRows, pSrc->numCols, (uint16_t *) pSrc->pData, pDst->numRows, pDst->numCols, (uint16_t *) pDst->pData); @@ -57,7 +57,7 @@ arm_status arm_mat_cmplx_trans_q15(const arm_matrix_instance_q15 * pSrc, arm_mat #else -arm_status arm_mat_cmplx_trans_q15( +ARM_DSP_ATTRIBUTE arm_status arm_mat_cmplx_trans_q15( const arm_matrix_instance_q15 * pSrc, arm_matrix_instance_q15 * pDst) { diff --git a/Source/MatrixFunctions/arm_mat_cmplx_trans_q31.c b/Source/MatrixFunctions/arm_mat_cmplx_trans_q31.c index a8612a30e..26d52a0d8 100755 --- a/Source/MatrixFunctions/arm_mat_cmplx_trans_q31.c +++ b/Source/MatrixFunctions/arm_mat_cmplx_trans_q31.c @@ -52,7 +52,7 @@ #include "arm_helium_utils.h" -arm_status arm_mat_cmplx_trans_q31(const arm_matrix_instance_q31 * pSrc, arm_matrix_instance_q31 * pDst) +ARM_DSP_ATTRIBUTE arm_status arm_mat_cmplx_trans_q31(const arm_matrix_instance_q31 * pSrc, arm_matrix_instance_q31 * pDst) { return arm_mat_cmplx_trans_32bit(pSrc->numRows, pSrc->numCols, (uint32_t *) pSrc->pData, pDst->numRows, pDst->numCols, (uint32_t *) pDst->pData); @@ -60,7 +60,7 @@ arm_status arm_mat_cmplx_trans_q31(const arm_matrix_instance_q31 * pSrc, arm_mat #else -arm_status arm_mat_cmplx_trans_q31( +ARM_DSP_ATTRIBUTE arm_status arm_mat_cmplx_trans_q31( const arm_matrix_instance_q31 * pSrc, arm_matrix_instance_q31 * pDst) { diff --git a/Source/MatrixFunctions/arm_mat_init_f16.c b/Source/MatrixFunctions/arm_mat_init_f16.c index e71538712..78d3f2446 100755 --- a/Source/MatrixFunctions/arm_mat_init_f16.c +++ b/Source/MatrixFunctions/arm_mat_init_f16.c @@ -49,7 +49,7 @@ @param[in] pData points to the matrix data array */ -void arm_mat_init_f16( +ARM_DSP_ATTRIBUTE void arm_mat_init_f16( arm_matrix_instance_f16 * S, uint16_t nRows, uint16_t nColumns, diff --git a/Source/MatrixFunctions/arm_mat_init_f32.c b/Source/MatrixFunctions/arm_mat_init_f32.c index b2634d8f0..0daafde6c 100644 --- a/Source/MatrixFunctions/arm_mat_init_f32.c +++ b/Source/MatrixFunctions/arm_mat_init_f32.c @@ -54,7 +54,7 @@ @param[in] pData points to the matrix data array */ -void arm_mat_init_f32( +ARM_DSP_ATTRIBUTE void arm_mat_init_f32( arm_matrix_instance_f32 * S, uint16_t nRows, uint16_t nColumns, diff --git a/Source/MatrixFunctions/arm_mat_init_f64.c b/Source/MatrixFunctions/arm_mat_init_f64.c index f77ab5817..38b944058 100644 --- a/Source/MatrixFunctions/arm_mat_init_f64.c +++ b/Source/MatrixFunctions/arm_mat_init_f64.c @@ -54,7 +54,7 @@ @param[in] pData points to the matrix data array */ -void arm_mat_init_f64( +ARM_DSP_ATTRIBUTE void arm_mat_init_f64( arm_matrix_instance_f64 * S, uint16_t nRows, uint16_t nColumns, diff --git a/Source/MatrixFunctions/arm_mat_init_q15.c b/Source/MatrixFunctions/arm_mat_init_q15.c index 8f2da4f2f..9f8269d35 100644 --- a/Source/MatrixFunctions/arm_mat_init_q15.c +++ b/Source/MatrixFunctions/arm_mat_init_q15.c @@ -45,7 +45,7 @@ @param[in] pData points to the matrix data array */ -void arm_mat_init_q15( +ARM_DSP_ATTRIBUTE void arm_mat_init_q15( arm_matrix_instance_q15 * S, uint16_t nRows, uint16_t nColumns, diff --git a/Source/MatrixFunctions/arm_mat_init_q31.c b/Source/MatrixFunctions/arm_mat_init_q31.c index ad421592d..26a8ffb3c 100644 --- a/Source/MatrixFunctions/arm_mat_init_q31.c +++ b/Source/MatrixFunctions/arm_mat_init_q31.c @@ -47,7 +47,7 @@ @param[in] pData points to the matrix data array */ -void arm_mat_init_q31( +ARM_DSP_ATTRIBUTE void arm_mat_init_q31( arm_matrix_instance_q31 * S, uint16_t nRows, uint16_t nColumns, diff --git a/Source/MatrixFunctions/arm_mat_inverse_f16.c b/Source/MatrixFunctions/arm_mat_inverse_f16.c index 169bbe811..4b6910d13 100755 --- a/Source/MatrixFunctions/arm_mat_inverse_f16.c +++ b/Source/MatrixFunctions/arm_mat_inverse_f16.c @@ -51,7 +51,7 @@ - \ref ARM_MATH_SIZE_MISMATCH : Matrix size check failed - \ref ARM_MATH_SINGULAR : Input matrix is found to be singular (non-invertible) */ -arm_status arm_mat_inverse_f16( +ARM_DSP_ATTRIBUTE arm_status arm_mat_inverse_f16( const arm_matrix_instance_f16 * pSrc, arm_matrix_instance_f16 * pDst) { diff --git a/Source/MatrixFunctions/arm_mat_inverse_f32.c b/Source/MatrixFunctions/arm_mat_inverse_f32.c index 5f1d58461..c453e153a 100644 --- a/Source/MatrixFunctions/arm_mat_inverse_f32.c +++ b/Source/MatrixFunctions/arm_mat_inverse_f32.c @@ -84,7 +84,7 @@ - \ref ARM_MATH_SIZE_MISMATCH : Matrix size check failed - \ref ARM_MATH_SINGULAR : Input matrix is found to be singular (non-invertible) */ -arm_status arm_mat_inverse_f32( +ARM_DSP_ATTRIBUTE arm_status arm_mat_inverse_f32( const arm_matrix_instance_f32 * pSrc, arm_matrix_instance_f32 * pDst) { diff --git a/Source/MatrixFunctions/arm_mat_inverse_f64.c b/Source/MatrixFunctions/arm_mat_inverse_f64.c index 728254d7e..df52ab9cc 100644 --- a/Source/MatrixFunctions/arm_mat_inverse_f64.c +++ b/Source/MatrixFunctions/arm_mat_inverse_f64.c @@ -49,7 +49,7 @@ - \ref ARM_MATH_SINGULAR : Input matrix is found to be singular (non-invertible) */ -arm_status arm_mat_inverse_f64( +ARM_DSP_ATTRIBUTE arm_status arm_mat_inverse_f64( const arm_matrix_instance_f64 * pSrc, arm_matrix_instance_f64 * pDst) { diff --git a/Source/MatrixFunctions/arm_mat_ldlt_f32.c b/Source/MatrixFunctions/arm_mat_ldlt_f32.c index 435b27f7d..64cf98b2d 100755 --- a/Source/MatrixFunctions/arm_mat_ldlt_f32.c +++ b/Source/MatrixFunctions/arm_mat_ldlt_f32.c @@ -56,7 +56,7 @@ * @par * Computes the LDL^t decomposition of a matrix A such that P A P^t = L D L^t. */ -arm_status arm_mat_ldlt_f32( +ARM_DSP_ATTRIBUTE arm_status arm_mat_ldlt_f32( const arm_matrix_instance_f32 * pSrc, arm_matrix_instance_f32 * pl, arm_matrix_instance_f32 * pd, @@ -315,7 +315,7 @@ arm_status arm_mat_ldlt_f32( * @par * Computes the LDL^t decomposition of a matrix A such that P A P^t = L D L^t. */ -arm_status arm_mat_ldlt_f32( +ARM_DSP_ATTRIBUTE arm_status arm_mat_ldlt_f32( const arm_matrix_instance_f32 * pSrc, arm_matrix_instance_f32 * pl, arm_matrix_instance_f32 * pd, diff --git a/Source/MatrixFunctions/arm_mat_ldlt_f64.c b/Source/MatrixFunctions/arm_mat_ldlt_f64.c index 3fe2cd581..4d1a7cd80 100755 --- a/Source/MatrixFunctions/arm_mat_ldlt_f64.c +++ b/Source/MatrixFunctions/arm_mat_ldlt_f64.c @@ -56,7 +56,7 @@ * Computes the LDL^t decomposition of a matrix A such that P A P^t = L D L^t. */ -arm_status arm_mat_ldlt_f64( +ARM_DSP_ATTRIBUTE arm_status arm_mat_ldlt_f64( const arm_matrix_instance_f64 * pSrc, arm_matrix_instance_f64 * pl, arm_matrix_instance_f64 * pd, diff --git a/Source/MatrixFunctions/arm_mat_mult_f16.c b/Source/MatrixFunctions/arm_mat_mult_f16.c index 3d3e8209e..2d6c66c0e 100755 --- a/Source/MatrixFunctions/arm_mat_mult_f16.c +++ b/Source/MatrixFunctions/arm_mat_mult_f16.c @@ -379,7 +379,7 @@ __STATIC_FORCEINLINE arm_status arm_mat_mult_f16_4x4_mve( } -arm_status arm_mat_mult_f16( +ARM_DSP_ATTRIBUTE arm_status arm_mat_mult_f16( const arm_matrix_instance_f16 * pSrcA, const arm_matrix_instance_f16 * pSrcB, arm_matrix_instance_f16 * pDst) @@ -621,7 +621,7 @@ arm_status arm_mat_mult_f16( #else -arm_status arm_mat_mult_f16( +ARM_DSP_ATTRIBUTE arm_status arm_mat_mult_f16( const arm_matrix_instance_f16 * pSrcA, const arm_matrix_instance_f16 * pSrcB, arm_matrix_instance_f16 * pDst) diff --git a/Source/MatrixFunctions/arm_mat_mult_f32.c b/Source/MatrixFunctions/arm_mat_mult_f32.c index 6728959ee..2f7a9825c 100644 --- a/Source/MatrixFunctions/arm_mat_mult_f32.c +++ b/Source/MatrixFunctions/arm_mat_mult_f32.c @@ -85,7 +85,7 @@ #define MATRIX_DIM3 3 #define MATRIX_DIM4 4 -__STATIC_INLINE arm_status arm_mat_mult_f32_2x2_mve( +__STATIC_INLINE arm_status arm_mat_mult_f32_2x2_mve( const arm_matrix_instance_f32 *pSrcA, const arm_matrix_instance_f32 *pSrcB, arm_matrix_instance_f32 *pDst) @@ -137,7 +137,7 @@ __STATIC_INLINE arm_status arm_mat_mult_f32_2x2_mve( * {a10 b00 + a11 b10 + a12 b20, a10 b01 + a11 b11 + a12 b21, a10 b02 + a11 b12 + a12 b22}, * {a20 b00 + a21 b10 + a22 b20, a20 b01 + a21 b11 + a22 b21, a20 b02 + a21 b12 + a22 b22}} */ -__STATIC_INLINE arm_status arm_mat_mult_f32_3x3_mve( +__STATIC_INLINE arm_status arm_mat_mult_f32_3x3_mve( const arm_matrix_instance_f32 *pSrcA, const arm_matrix_instance_f32 *pSrcB, arm_matrix_instance_f32 *pDst) @@ -283,7 +283,7 @@ __STATIC_INLINE arm_status arm_mat_mult_f32_4x4_mve( * @return The function returns either * ARM_MATH_SIZE_MISMATCH or ARM_MATH_SUCCESS based on the outcome of size checking. */ -arm_status arm_mat_mult_f32( +ARM_DSP_ATTRIBUTE arm_status arm_mat_mult_f32( const arm_matrix_instance_f32 * pSrcA, const arm_matrix_instance_f32 * pSrcB, arm_matrix_instance_f32 * pDst) @@ -545,7 +545,7 @@ arm_status arm_mat_mult_f32( * @return The function returns either * ARM_MATH_SIZE_MISMATCH or ARM_MATH_SUCCESS based on the outcome of size checking. */ -arm_status arm_mat_mult_f32( +ARM_DSP_ATTRIBUTE arm_status arm_mat_mult_f32( const arm_matrix_instance_f32 * pSrcA, const arm_matrix_instance_f32 * pSrcB, arm_matrix_instance_f32 * pDst) @@ -881,7 +881,7 @@ arm_status arm_mat_mult_f32( * @return The function returns either * ARM_MATH_SIZE_MISMATCH or ARM_MATH_SUCCESS based on the outcome of size checking. */ -arm_status arm_mat_mult_f32( +ARM_DSP_ATTRIBUTE arm_status arm_mat_mult_f32( const arm_matrix_instance_f32 * pSrcA, const arm_matrix_instance_f32 * pSrcB, arm_matrix_instance_f32 * pDst) diff --git a/Source/MatrixFunctions/arm_mat_mult_f64.c b/Source/MatrixFunctions/arm_mat_mult_f64.c index 80b048ad2..35ffd8f16 100755 --- a/Source/MatrixFunctions/arm_mat_mult_f64.c +++ b/Source/MatrixFunctions/arm_mat_mult_f64.c @@ -67,7 +67,7 @@ */ #if defined(ARM_MATH_NEON) && defined(__aarch64__) -arm_status arm_mat_mult_f64( +ARM_DSP_ATTRIBUTE arm_status arm_mat_mult_f64( const arm_matrix_instance_f64 * pSrcA, const arm_matrix_instance_f64 * pSrcB, arm_matrix_instance_f64 * pDst) @@ -373,7 +373,7 @@ arm_status arm_mat_mult_f64( return (status); } #else -arm_status arm_mat_mult_f64( +ARM_DSP_ATTRIBUTE arm_status arm_mat_mult_f64( const arm_matrix_instance_f64 * pSrcA, const arm_matrix_instance_f64 * pSrcB, arm_matrix_instance_f64 * pDst) diff --git a/Source/MatrixFunctions/arm_mat_mult_fast_q15.c b/Source/MatrixFunctions/arm_mat_mult_fast_q15.c index 314b80e5d..f786ace04 100644 --- a/Source/MatrixFunctions/arm_mat_mult_fast_q15.c +++ b/Source/MatrixFunctions/arm_mat_mult_fast_q15.c @@ -64,7 +64,7 @@ which uses 64-bit accumulation to provide higher precision. */ -arm_status arm_mat_mult_fast_q15( +ARM_DSP_ATTRIBUTE arm_status arm_mat_mult_fast_q15( const arm_matrix_instance_q15 * pSrcA, const arm_matrix_instance_q15 * pSrcB, arm_matrix_instance_q15 * pDst, diff --git a/Source/MatrixFunctions/arm_mat_mult_fast_q31.c b/Source/MatrixFunctions/arm_mat_mult_fast_q31.c index 99a42328e..252350501 100644 --- a/Source/MatrixFunctions/arm_mat_mult_fast_q31.c +++ b/Source/MatrixFunctions/arm_mat_mult_fast_q31.c @@ -63,7 +63,7 @@ which uses 64-bit accumulation to provide higher precision. */ -arm_status arm_mat_mult_fast_q31( +ARM_DSP_ATTRIBUTE arm_status arm_mat_mult_fast_q31( const arm_matrix_instance_q31 * pSrcA, const arm_matrix_instance_q31 * pSrcB, arm_matrix_instance_q31 * pDst) diff --git a/Source/MatrixFunctions/arm_mat_mult_opt_q31.c b/Source/MatrixFunctions/arm_mat_mult_opt_q31.c index 91b1bcd52..113bb9c27 100755 --- a/Source/MatrixFunctions/arm_mat_mult_opt_q31.c +++ b/Source/MatrixFunctions/arm_mat_mult_opt_q31.c @@ -337,7 +337,7 @@ __STATIC_INLINE arm_status arm_mat_mult_opt_q31_4x4_mve( } -arm_status arm_mat_mult_opt_q31( +ARM_DSP_ATTRIBUTE arm_status arm_mat_mult_opt_q31( const arm_matrix_instance_q31 * pSrcA, const arm_matrix_instance_q31 * pSrcB, arm_matrix_instance_q31 * pDst, @@ -645,7 +645,7 @@ arm_status arm_mat_mult_opt_q31( } #else -arm_status arm_mat_mult_opt_q31( +ARM_DSP_ATTRIBUTE arm_status arm_mat_mult_opt_q31( const arm_matrix_instance_q31 * pSrcA, const arm_matrix_instance_q31 * pSrcB, arm_matrix_instance_q31 * pDst, diff --git a/Source/MatrixFunctions/arm_mat_mult_q15.c b/Source/MatrixFunctions/arm_mat_mult_q15.c index 7e1205a2c..78dda0a1d 100644 --- a/Source/MatrixFunctions/arm_mat_mult_q15.c +++ b/Source/MatrixFunctions/arm_mat_mult_q15.c @@ -319,7 +319,7 @@ __STATIC_INLINE arm_status arm_mat_mult_q15_4x4_mve( } -arm_status arm_mat_mult_q15( +ARM_DSP_ATTRIBUTE arm_status arm_mat_mult_q15( const arm_matrix_instance_q15 * pSrcA, const arm_matrix_instance_q15 * pSrcB, arm_matrix_instance_q15 * pDst, @@ -621,7 +621,7 @@ arm_status arm_mat_mult_q15( } #else -arm_status arm_mat_mult_q15( +ARM_DSP_ATTRIBUTE arm_status arm_mat_mult_q15( const arm_matrix_instance_q15 * pSrcA, const arm_matrix_instance_q15 * pSrcB, arm_matrix_instance_q15 * pDst, diff --git a/Source/MatrixFunctions/arm_mat_mult_q31.c b/Source/MatrixFunctions/arm_mat_mult_q31.c index 187382796..feaac8a83 100644 --- a/Source/MatrixFunctions/arm_mat_mult_q31.c +++ b/Source/MatrixFunctions/arm_mat_mult_q31.c @@ -332,7 +332,7 @@ __STATIC_INLINE arm_status arm_mat_mult_q31_4x4_mve( return (ARM_MATH_SUCCESS); } -arm_status arm_mat_mult_q31( +ARM_DSP_ATTRIBUTE arm_status arm_mat_mult_q31( const arm_matrix_instance_q31 * pSrcA, const arm_matrix_instance_q31 * pSrcB, arm_matrix_instance_q31 * pDst) @@ -623,7 +623,7 @@ arm_status arm_mat_mult_q31( } #else -arm_status arm_mat_mult_q31( +ARM_DSP_ATTRIBUTE arm_status arm_mat_mult_q31( const arm_matrix_instance_q31 * pSrcA, const arm_matrix_instance_q31 * pSrcB, arm_matrix_instance_q31 * pDst) diff --git a/Source/MatrixFunctions/arm_mat_mult_q7.c b/Source/MatrixFunctions/arm_mat_mult_q7.c index 3ce0fe604..24c1da592 100755 --- a/Source/MatrixFunctions/arm_mat_mult_q7.c +++ b/Source/MatrixFunctions/arm_mat_mult_q7.c @@ -267,7 +267,7 @@ __STATIC_FORCEINLINE arm_status arm_mat_mult_q7_4x4_mve( return (ARM_MATH_SUCCESS); } -arm_status arm_mat_mult_q7( +ARM_DSP_ATTRIBUTE arm_status arm_mat_mult_q7( const arm_matrix_instance_q7 * pSrcA, const arm_matrix_instance_q7 * pSrcB, arm_matrix_instance_q7 * pDst, @@ -576,7 +576,7 @@ arm_status arm_mat_mult_q7( return(status); } #else -arm_status arm_mat_mult_q7(const arm_matrix_instance_q7 *pSrcA, const arm_matrix_instance_q7 *pSrcB, arm_matrix_instance_q7 *pDst, q7_t *pState) +ARM_DSP_ATTRIBUTE arm_status arm_mat_mult_q7(const arm_matrix_instance_q7 *pSrcA, const arm_matrix_instance_q7 *pSrcB, arm_matrix_instance_q7 *pDst, q7_t *pState) { q31_t sum; /* accumulator */ q7_t *pIn1 = pSrcA->pData; /* input data matrix pointer A */ diff --git a/Source/MatrixFunctions/arm_mat_qr_f16.c b/Source/MatrixFunctions/arm_mat_qr_f16.c index d52b20be5..eb68a76ea 100644 --- a/Source/MatrixFunctions/arm_mat_qr_f16.c +++ b/Source/MatrixFunctions/arm_mat_qr_f16.c @@ -76,7 +76,7 @@ #if !defined(ARM_MATH_AUTOVECTORIZE) #if defined(ARM_MATH_MVE_FLOAT16) -arm_status arm_mat_qr_f16( +ARM_DSP_ATTRIBUTE arm_status arm_mat_qr_f16( const arm_matrix_instance_f16 * pSrc, const float16_t threshold, arm_matrix_instance_f16 * pOutR, @@ -540,7 +540,7 @@ arm_status arm_mat_qr_f16( #if (!defined(ARM_MATH_MVE_FLOAT16)) || defined(ARM_MATH_AUTOVECTORIZE) -arm_status arm_mat_qr_f16( +ARM_DSP_ATTRIBUTE arm_status arm_mat_qr_f16( const arm_matrix_instance_f16 * pSrc, const float16_t threshold, arm_matrix_instance_f16 * pOutR, diff --git a/Source/MatrixFunctions/arm_mat_qr_f32.c b/Source/MatrixFunctions/arm_mat_qr_f32.c index ebad6b747..069f7449f 100644 --- a/Source/MatrixFunctions/arm_mat_qr_f32.c +++ b/Source/MatrixFunctions/arm_mat_qr_f32.c @@ -149,7 +149,7 @@ #if !defined(ARM_MATH_AUTOVECTORIZE) #if defined(ARM_MATH_MVEF) -arm_status arm_mat_qr_f32( +ARM_DSP_ATTRIBUTE arm_status arm_mat_qr_f32( const arm_matrix_instance_f32 * pSrc, const float32_t threshold, arm_matrix_instance_f32 * pOutR, @@ -611,7 +611,7 @@ arm_status arm_mat_qr_f32( #if (!defined(ARM_MATH_MVEF)) || defined(ARM_MATH_AUTOVECTORIZE) -arm_status arm_mat_qr_f32( +ARM_DSP_ATTRIBUTE arm_status arm_mat_qr_f32( const arm_matrix_instance_f32 * pSrc, const float32_t threshold, arm_matrix_instance_f32 * pOutR, diff --git a/Source/MatrixFunctions/arm_mat_qr_f64.c b/Source/MatrixFunctions/arm_mat_qr_f64.c index 145ed88c1..850440a15 100644 --- a/Source/MatrixFunctions/arm_mat_qr_f64.c +++ b/Source/MatrixFunctions/arm_mat_qr_f64.c @@ -69,7 +69,7 @@ -arm_status arm_mat_qr_f64( +ARM_DSP_ATTRIBUTE arm_status arm_mat_qr_f64( const arm_matrix_instance_f64 * pSrc, const float64_t threshold, arm_matrix_instance_f64 * pOutR, diff --git a/Source/MatrixFunctions/arm_mat_scale_f16.c b/Source/MatrixFunctions/arm_mat_scale_f16.c index fc2193d6e..f2bc910e3 100755 --- a/Source/MatrixFunctions/arm_mat_scale_f16.c +++ b/Source/MatrixFunctions/arm_mat_scale_f16.c @@ -52,7 +52,7 @@ */ #if defined(ARM_MATH_MVE_FLOAT16) && !defined(ARM_MATH_AUTOVECTORIZE) -arm_status arm_mat_scale_f16( +ARM_DSP_ATTRIBUTE arm_status arm_mat_scale_f16( const arm_matrix_instance_f16 * pSrc, float16_t scale, arm_matrix_instance_f16 * pDst) @@ -123,7 +123,7 @@ arm_status arm_mat_scale_f16( } #else -arm_status arm_mat_scale_f16( +ARM_DSP_ATTRIBUTE arm_status arm_mat_scale_f16( const arm_matrix_instance_f16 * pSrc, float16_t scale, arm_matrix_instance_f16 * pDst) diff --git a/Source/MatrixFunctions/arm_mat_scale_f32.c b/Source/MatrixFunctions/arm_mat_scale_f32.c index 607dc8877..ce5f305f2 100644 --- a/Source/MatrixFunctions/arm_mat_scale_f32.c +++ b/Source/MatrixFunctions/arm_mat_scale_f32.c @@ -80,7 +80,7 @@ - \ref ARM_MATH_SIZE_MISMATCH : Matrix size check failed */ #if defined(ARM_MATH_MVEF) && !defined(ARM_MATH_AUTOVECTORIZE) -arm_status arm_mat_scale_f32( +ARM_DSP_ATTRIBUTE arm_status arm_mat_scale_f32( const arm_matrix_instance_f32 * pSrc, float32_t scale, arm_matrix_instance_f32 * pDst) @@ -149,7 +149,7 @@ arm_status arm_mat_scale_f32( } #else #if defined(ARM_MATH_NEON_EXPERIMENTAL) -arm_status arm_mat_scale_f32( +ARM_DSP_ATTRIBUTE arm_status arm_mat_scale_f32( const arm_matrix_instance_f32 * pSrc, float32_t scale, arm_matrix_instance_f32 * pDst) @@ -219,7 +219,7 @@ arm_status arm_mat_scale_f32( return (status); } #else -arm_status arm_mat_scale_f32( +ARM_DSP_ATTRIBUTE arm_status arm_mat_scale_f32( const arm_matrix_instance_f32 * pSrc, float32_t scale, arm_matrix_instance_f32 * pDst) diff --git a/Source/MatrixFunctions/arm_mat_scale_q15.c b/Source/MatrixFunctions/arm_mat_scale_q15.c index e43de0acc..823a5a25f 100644 --- a/Source/MatrixFunctions/arm_mat_scale_q15.c +++ b/Source/MatrixFunctions/arm_mat_scale_q15.c @@ -52,7 +52,7 @@ These are multiplied to yield a 2.30 intermediate result and this is shifted with saturation to 1.15 format. */ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -arm_status arm_mat_scale_q15( +ARM_DSP_ATTRIBUTE arm_status arm_mat_scale_q15( const arm_matrix_instance_q15 * pSrc, q15_t scaleFract, int32_t shift, @@ -130,7 +130,7 @@ arm_status arm_mat_scale_q15( } #else -arm_status arm_mat_scale_q15( +ARM_DSP_ATTRIBUTE arm_status arm_mat_scale_q15( const arm_matrix_instance_q15 * pSrc, q15_t scaleFract, int32_t shift, diff --git a/Source/MatrixFunctions/arm_mat_scale_q31.c b/Source/MatrixFunctions/arm_mat_scale_q31.c index 33c086807..03a1f39c8 100644 --- a/Source/MatrixFunctions/arm_mat_scale_q31.c +++ b/Source/MatrixFunctions/arm_mat_scale_q31.c @@ -52,7 +52,7 @@ These are multiplied to yield a 2.62 intermediate result which is shifted with saturation to 1.31 format. */ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -arm_status arm_mat_scale_q31( +ARM_DSP_ATTRIBUTE arm_status arm_mat_scale_q31( const arm_matrix_instance_q31 * pSrc, q31_t scaleFract, int32_t shift, @@ -129,7 +129,7 @@ arm_status arm_mat_scale_q31( } #else -arm_status arm_mat_scale_q31( +ARM_DSP_ATTRIBUTE arm_status arm_mat_scale_q31( const arm_matrix_instance_q31 * pSrc, q31_t scaleFract, int32_t shift, diff --git a/Source/MatrixFunctions/arm_mat_solve_lower_triangular_f64.c b/Source/MatrixFunctions/arm_mat_solve_lower_triangular_f64.c index cd71243ba..42571e5ae 100755 --- a/Source/MatrixFunctions/arm_mat_solve_lower_triangular_f64.c +++ b/Source/MatrixFunctions/arm_mat_solve_lower_triangular_f64.c @@ -48,7 +48,7 @@ */ #if defined(ARM_MATH_NEON) && !defined(ARM_MATH_AUTOVECTORIZE) && defined(__aarch64__) -arm_status arm_mat_solve_lower_triangular_f64( +ARM_DSP_ATTRIBUTE arm_status arm_mat_solve_lower_triangular_f64( const arm_matrix_instance_f64 * lt, const arm_matrix_instance_f64 * a, arm_matrix_instance_f64 * dst) @@ -149,7 +149,7 @@ arm_status arm_mat_solve_lower_triangular_f64( } #else -arm_status arm_mat_solve_lower_triangular_f64( +ARM_DSP_ATTRIBUTE arm_status arm_mat_solve_lower_triangular_f64( const arm_matrix_instance_f64 * lt, const arm_matrix_instance_f64 * a, arm_matrix_instance_f64 * dst) diff --git a/Source/MatrixFunctions/arm_mat_solve_upper_triangular_f64.c b/Source/MatrixFunctions/arm_mat_solve_upper_triangular_f64.c index 3a227ed99..0949ca164 100755 --- a/Source/MatrixFunctions/arm_mat_solve_upper_triangular_f64.c +++ b/Source/MatrixFunctions/arm_mat_solve_upper_triangular_f64.c @@ -48,7 +48,7 @@ */ #if defined(ARM_MATH_NEON) && !defined(ARM_MATH_AUTOVECTORIZE) && defined(__aarch64__) -arm_status arm_mat_solve_upper_triangular_f64( +ARM_DSP_ATTRIBUTE arm_status arm_mat_solve_upper_triangular_f64( const arm_matrix_instance_f64 * ut, const arm_matrix_instance_f64 * a, arm_matrix_instance_f64 * dst) @@ -144,7 +144,7 @@ arm_status arm_mat_solve_upper_triangular_f64( } #else -arm_status arm_mat_solve_upper_triangular_f64( +ARM_DSP_ATTRIBUTE arm_status arm_mat_solve_upper_triangular_f64( const arm_matrix_instance_f64 * ut, const arm_matrix_instance_f64 * a, arm_matrix_instance_f64 * dst) diff --git a/Source/MatrixFunctions/arm_mat_sub_f16.c b/Source/MatrixFunctions/arm_mat_sub_f16.c index 69f77845e..b849a8952 100755 --- a/Source/MatrixFunctions/arm_mat_sub_f16.c +++ b/Source/MatrixFunctions/arm_mat_sub_f16.c @@ -52,7 +52,7 @@ */ #if defined(ARM_MATH_MVE_FLOAT16) && !defined(ARM_MATH_AUTOVECTORIZE) -arm_status arm_mat_sub_f16( +ARM_DSP_ATTRIBUTE arm_status arm_mat_sub_f16( const arm_matrix_instance_f16 * pSrcA, const arm_matrix_instance_f16 * pSrcB, arm_matrix_instance_f16 * pDst) @@ -126,7 +126,7 @@ arm_status arm_mat_sub_f16( #else -arm_status arm_mat_sub_f16( +ARM_DSP_ATTRIBUTE arm_status arm_mat_sub_f16( const arm_matrix_instance_f16 * pSrcA, const arm_matrix_instance_f16 * pSrcB, arm_matrix_instance_f16 * pDst) diff --git a/Source/MatrixFunctions/arm_mat_sub_f32.c b/Source/MatrixFunctions/arm_mat_sub_f32.c index d6dd55438..822ed835c 100644 --- a/Source/MatrixFunctions/arm_mat_sub_f32.c +++ b/Source/MatrixFunctions/arm_mat_sub_f32.c @@ -77,7 +77,7 @@ - \ref ARM_MATH_SIZE_MISMATCH : Matrix size check failed */ #if defined(ARM_MATH_MVEF) && !defined(ARM_MATH_AUTOVECTORIZE) -arm_status arm_mat_sub_f32( +ARM_DSP_ATTRIBUTE arm_status arm_mat_sub_f32( const arm_matrix_instance_f32 * pSrcA, const arm_matrix_instance_f32 * pSrcB, arm_matrix_instance_f32 * pDst) @@ -151,7 +151,7 @@ arm_status arm_mat_sub_f32( #else #if defined(ARM_MATH_NEON) -arm_status arm_mat_sub_f32( +ARM_DSP_ATTRIBUTE arm_status arm_mat_sub_f32( const arm_matrix_instance_f32 * pSrcA, const arm_matrix_instance_f32 * pSrcB, arm_matrix_instance_f32 * pDst) @@ -230,7 +230,7 @@ arm_status arm_mat_sub_f32( return (status); } #else -arm_status arm_mat_sub_f32( +ARM_DSP_ATTRIBUTE arm_status arm_mat_sub_f32( const arm_matrix_instance_f32 * pSrcA, const arm_matrix_instance_f32 * pSrcB, arm_matrix_instance_f32 * pDst) diff --git a/Source/MatrixFunctions/arm_mat_sub_f64.c b/Source/MatrixFunctions/arm_mat_sub_f64.c index 35b4f957c..9c1101d65 100755 --- a/Source/MatrixFunctions/arm_mat_sub_f64.c +++ b/Source/MatrixFunctions/arm_mat_sub_f64.c @@ -48,7 +48,7 @@ - \ref ARM_MATH_SIZE_MISMATCH : Matrix size check failed */ -arm_status arm_mat_sub_f64( +ARM_DSP_ATTRIBUTE arm_status arm_mat_sub_f64( const arm_matrix_instance_f64 * pSrcA, const arm_matrix_instance_f64 * pSrcB, arm_matrix_instance_f64 * pDst) diff --git a/Source/MatrixFunctions/arm_mat_sub_q15.c b/Source/MatrixFunctions/arm_mat_sub_q15.c index 69d31d04c..996f3104c 100644 --- a/Source/MatrixFunctions/arm_mat_sub_q15.c +++ b/Source/MatrixFunctions/arm_mat_sub_q15.c @@ -52,7 +52,7 @@ */ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -arm_status arm_mat_sub_q15( +ARM_DSP_ATTRIBUTE arm_status arm_mat_sub_q15( const arm_matrix_instance_q15 * pSrcA, const arm_matrix_instance_q15 * pSrcB, arm_matrix_instance_q15 * pDst) @@ -125,7 +125,7 @@ arm_status arm_mat_sub_q15( } #else -arm_status arm_mat_sub_q15( +ARM_DSP_ATTRIBUTE arm_status arm_mat_sub_q15( const arm_matrix_instance_q15 * pSrcA, const arm_matrix_instance_q15 * pSrcB, arm_matrix_instance_q15 * pDst) diff --git a/Source/MatrixFunctions/arm_mat_sub_q31.c b/Source/MatrixFunctions/arm_mat_sub_q31.c index 71d3226d7..7ce1b12c9 100644 --- a/Source/MatrixFunctions/arm_mat_sub_q31.c +++ b/Source/MatrixFunctions/arm_mat_sub_q31.c @@ -51,7 +51,7 @@ Results outside of the allowable Q31 range [0x80000000 0x7FFFFFFF] are saturated. */ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -arm_status arm_mat_sub_q31( +ARM_DSP_ATTRIBUTE arm_status arm_mat_sub_q31( const arm_matrix_instance_q31 * pSrcA, const arm_matrix_instance_q31 * pSrcB, arm_matrix_instance_q31 * pDst) @@ -129,7 +129,7 @@ arm_status arm_mat_sub_q31( } #else -arm_status arm_mat_sub_q31( +ARM_DSP_ATTRIBUTE arm_status arm_mat_sub_q31( const arm_matrix_instance_q31 * pSrcA, const arm_matrix_instance_q31 * pSrcB, arm_matrix_instance_q31 * pDst) diff --git a/Source/MatrixFunctions/arm_mat_trans_f16.c b/Source/MatrixFunctions/arm_mat_trans_f16.c index 8a41ccbc1..f786e0836 100755 --- a/Source/MatrixFunctions/arm_mat_trans_f16.c +++ b/Source/MatrixFunctions/arm_mat_trans_f16.c @@ -52,7 +52,7 @@ #include "arm_helium_utils.h" -arm_status arm_mat_trans_f16( +ARM_DSP_ATTRIBUTE arm_status arm_mat_trans_f16( const arm_matrix_instance_f16 * pSrc, arm_matrix_instance_f16 * pDst) { @@ -98,7 +98,7 @@ arm_status arm_mat_trans_f16( #else -arm_status arm_mat_trans_f16( +ARM_DSP_ATTRIBUTE arm_status arm_mat_trans_f16( const arm_matrix_instance_f16 * pSrc, arm_matrix_instance_f16 * pDst) { diff --git a/Source/MatrixFunctions/arm_mat_trans_f32.c b/Source/MatrixFunctions/arm_mat_trans_f32.c index 6dd716214..f3061a874 100644 --- a/Source/MatrixFunctions/arm_mat_trans_f32.c +++ b/Source/MatrixFunctions/arm_mat_trans_f32.c @@ -74,7 +74,7 @@ #include "arm_helium_utils.h" -arm_status arm_mat_trans_f32( +ARM_DSP_ATTRIBUTE arm_status arm_mat_trans_f32( const arm_matrix_instance_f32 * pSrc, arm_matrix_instance_f32 * pDst) { @@ -113,7 +113,7 @@ arm_status arm_mat_trans_f32( #else #if defined(ARM_MATH_NEON) -arm_status arm_mat_trans_f32( +ARM_DSP_ATTRIBUTE arm_status arm_mat_trans_f32( const arm_matrix_instance_f32 * pSrc, arm_matrix_instance_f32 * pDst) { @@ -239,7 +239,7 @@ arm_status arm_mat_trans_f32( return (status); } #else -arm_status arm_mat_trans_f32( +ARM_DSP_ATTRIBUTE arm_status arm_mat_trans_f32( const arm_matrix_instance_f32 * pSrc, arm_matrix_instance_f32 * pDst) { diff --git a/Source/MatrixFunctions/arm_mat_trans_f64.c b/Source/MatrixFunctions/arm_mat_trans_f64.c index a314b15bd..e15a58a68 100755 --- a/Source/MatrixFunctions/arm_mat_trans_f64.c +++ b/Source/MatrixFunctions/arm_mat_trans_f64.c @@ -56,7 +56,7 @@ */ #if defined(ARM_MATH_NEON) && defined(__aarch64__) -arm_status arm_mat_trans_f64( +ARM_DSP_ATTRIBUTE arm_status arm_mat_trans_f64( const arm_matrix_instance_f64 * pSrc, arm_matrix_instance_f64 * pDst) { @@ -174,7 +174,7 @@ arm_status arm_mat_trans_f64( return (status); } #else -arm_status arm_mat_trans_f64( +ARM_DSP_ATTRIBUTE arm_status arm_mat_trans_f64( const arm_matrix_instance_f64 * pSrc, arm_matrix_instance_f64 * pDst) { diff --git a/Source/MatrixFunctions/arm_mat_trans_q15.c b/Source/MatrixFunctions/arm_mat_trans_q15.c index e7409222f..766b44d37 100644 --- a/Source/MatrixFunctions/arm_mat_trans_q15.c +++ b/Source/MatrixFunctions/arm_mat_trans_q15.c @@ -52,7 +52,7 @@ -arm_status arm_mat_trans_q15( +ARM_DSP_ATTRIBUTE arm_status arm_mat_trans_q15( const arm_matrix_instance_q15 * pSrc, arm_matrix_instance_q15 * pDst) { @@ -96,7 +96,7 @@ arm_status arm_mat_trans_q15( return (status); } #else -arm_status arm_mat_trans_q15( +ARM_DSP_ATTRIBUTE arm_status arm_mat_trans_q15( const arm_matrix_instance_q15 * pSrc, arm_matrix_instance_q15 * pDst) { diff --git a/Source/MatrixFunctions/arm_mat_trans_q31.c b/Source/MatrixFunctions/arm_mat_trans_q31.c index 2c7725470..e67857127 100644 --- a/Source/MatrixFunctions/arm_mat_trans_q31.c +++ b/Source/MatrixFunctions/arm_mat_trans_q31.c @@ -49,7 +49,7 @@ #include "arm_helium_utils.h" -arm_status arm_mat_trans_q31( +ARM_DSP_ATTRIBUTE arm_status arm_mat_trans_q31( const arm_matrix_instance_q31 * pSrc, arm_matrix_instance_q31 * pDst) { @@ -90,7 +90,7 @@ arm_status arm_mat_trans_q31( return (status); } #else -arm_status arm_mat_trans_q31( +ARM_DSP_ATTRIBUTE arm_status arm_mat_trans_q31( const arm_matrix_instance_q31 * pSrc, arm_matrix_instance_q31 * pDst) { diff --git a/Source/MatrixFunctions/arm_mat_trans_q7.c b/Source/MatrixFunctions/arm_mat_trans_q7.c index a500d055e..18e1d00c3 100755 --- a/Source/MatrixFunctions/arm_mat_trans_q7.c +++ b/Source/MatrixFunctions/arm_mat_trans_q7.c @@ -46,7 +46,7 @@ - \ref ARM_MATH_SIZE_MISMATCH : Matrix size check failed */ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -arm_status arm_mat_trans_q7(const arm_matrix_instance_q7 *pSrc, arm_matrix_instance_q7 *pDst) +ARM_DSP_ATTRIBUTE arm_status arm_mat_trans_q7(const arm_matrix_instance_q7 *pSrc, arm_matrix_instance_q7 *pDst) { uint16x8_t vecOffs; @@ -110,7 +110,7 @@ arm_status arm_mat_trans_q7(const arm_matrix_instance_q7 *pSrc, arm_matrix_insta return (ARM_MATH_SUCCESS); } #else -arm_status arm_mat_trans_q7(const arm_matrix_instance_q7 *pSrc, arm_matrix_instance_q7 *pDst) +ARM_DSP_ATTRIBUTE arm_status arm_mat_trans_q7(const arm_matrix_instance_q7 *pSrc, arm_matrix_instance_q7 *pDst) { q7_t *pSrcA = pSrc->pData; /* input data matrix pointer */ q7_t *pOut = pDst->pData; /* output data matrix pointer */ diff --git a/Source/MatrixFunctions/arm_mat_vec_mult_f16.c b/Source/MatrixFunctions/arm_mat_vec_mult_f16.c index cc8251928..be446f1a4 100755 --- a/Source/MatrixFunctions/arm_mat_vec_mult_f16.c +++ b/Source/MatrixFunctions/arm_mat_vec_mult_f16.c @@ -52,7 +52,7 @@ #include "arm_helium_utils.h" -void arm_mat_vec_mult_f16( +ARM_DSP_ATTRIBUTE void arm_mat_vec_mult_f16( const arm_matrix_instance_f16 *pSrcMat, const float16_t *pSrcVec, float16_t *pDstVec) @@ -282,7 +282,7 @@ void arm_mat_vec_mult_f16( } } #else -void arm_mat_vec_mult_f16(const arm_matrix_instance_f16 *pSrcMat, const float16_t *pVec, float16_t *pDst) +ARM_DSP_ATTRIBUTE void arm_mat_vec_mult_f16(const arm_matrix_instance_f16 *pSrcMat, const float16_t *pVec, float16_t *pDst) { uint32_t numRows = pSrcMat->numRows; uint32_t numCols = pSrcMat->numCols; diff --git a/Source/MatrixFunctions/arm_mat_vec_mult_f32.c b/Source/MatrixFunctions/arm_mat_vec_mult_f32.c index 9e9fb1305..3d476a9bf 100755 --- a/Source/MatrixFunctions/arm_mat_vec_mult_f32.c +++ b/Source/MatrixFunctions/arm_mat_vec_mult_f32.c @@ -56,7 +56,7 @@ #include "arm_helium_utils.h" -void arm_mat_vec_mult_f32( +ARM_DSP_ATTRIBUTE void arm_mat_vec_mult_f32( const arm_matrix_instance_f32 *pSrcMat, const float32_t *pSrcVec, float32_t *pDstVec) @@ -287,7 +287,7 @@ void arm_mat_vec_mult_f32( } #else -void arm_mat_vec_mult_f32(const arm_matrix_instance_f32 *pSrcMat, const float32_t *pVec, float32_t *pDst) +ARM_DSP_ATTRIBUTE void arm_mat_vec_mult_f32(const arm_matrix_instance_f32 *pSrcMat, const float32_t *pVec, float32_t *pDst) { uint32_t numRows = pSrcMat->numRows; uint32_t numCols = pSrcMat->numCols; diff --git a/Source/MatrixFunctions/arm_mat_vec_mult_q15.c b/Source/MatrixFunctions/arm_mat_vec_mult_q15.c index 04499f935..37d9acee0 100755 --- a/Source/MatrixFunctions/arm_mat_vec_mult_q15.c +++ b/Source/MatrixFunctions/arm_mat_vec_mult_q15.c @@ -50,7 +50,7 @@ #include "arm_helium_utils.h" -void arm_mat_vec_mult_q15( +ARM_DSP_ATTRIBUTE void arm_mat_vec_mult_q15( const arm_matrix_instance_q15 * pSrcMat, const q15_t *pSrcVec, q15_t *pDstVec) @@ -266,7 +266,7 @@ void arm_mat_vec_mult_q15( } #else -void arm_mat_vec_mult_q15(const arm_matrix_instance_q15 *pSrcMat, const q15_t *pVec, q15_t *pDst) +ARM_DSP_ATTRIBUTE void arm_mat_vec_mult_q15(const arm_matrix_instance_q15 *pSrcMat, const q15_t *pVec, q15_t *pDst) { uint32_t numRows = pSrcMat->numRows; uint32_t numCols = pSrcMat->numCols; diff --git a/Source/MatrixFunctions/arm_mat_vec_mult_q31.c b/Source/MatrixFunctions/arm_mat_vec_mult_q31.c index 9f491eab4..a121be30d 100755 --- a/Source/MatrixFunctions/arm_mat_vec_mult_q31.c +++ b/Source/MatrixFunctions/arm_mat_vec_mult_q31.c @@ -47,7 +47,7 @@ * @param[out] *pDst points to the output vector */ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_mat_vec_mult_q31( +ARM_DSP_ATTRIBUTE void arm_mat_vec_mult_q31( const arm_matrix_instance_q31 * pSrcMat, const q31_t *pSrcVec, q31_t *pDstVec) @@ -263,7 +263,7 @@ void arm_mat_vec_mult_q31( } } #else -void arm_mat_vec_mult_q31(const arm_matrix_instance_q31 *pSrcMat, const q31_t *pVec, q31_t *pDst) +ARM_DSP_ATTRIBUTE void arm_mat_vec_mult_q31(const arm_matrix_instance_q31 *pSrcMat, const q31_t *pVec, q31_t *pDst) { uint32_t numRows = pSrcMat->numRows; uint32_t numCols = pSrcMat->numCols; diff --git a/Source/MatrixFunctions/arm_mat_vec_mult_q7.c b/Source/MatrixFunctions/arm_mat_vec_mult_q7.c index e7c72816c..2c7c9328e 100755 --- a/Source/MatrixFunctions/arm_mat_vec_mult_q7.c +++ b/Source/MatrixFunctions/arm_mat_vec_mult_q7.c @@ -50,7 +50,7 @@ #include "arm_helium_utils.h" -void arm_mat_vec_mult_q7( +ARM_DSP_ATTRIBUTE void arm_mat_vec_mult_q7( const arm_matrix_instance_q7 * pSrcMat, const q7_t *pSrcVec, q7_t *pDstVec) @@ -276,7 +276,7 @@ void arm_mat_vec_mult_q7( } #else -void arm_mat_vec_mult_q7(const arm_matrix_instance_q7 *pSrcMat, const q7_t *pVec, q7_t *pDst) +ARM_DSP_ATTRIBUTE void arm_mat_vec_mult_q7(const arm_matrix_instance_q7 *pSrcMat, const q7_t *pVec, q7_t *pDst) { uint32_t numRows = pSrcMat->numRows; uint32_t numCols = pSrcMat->numCols; diff --git a/Source/QuaternionMathFunctions/arm_quaternion2rotation_f32.c b/Source/QuaternionMathFunctions/arm_quaternion2rotation_f32.c index 8a518c1ad..8535f1f9f 100755 --- a/Source/QuaternionMathFunctions/arm_quaternion2rotation_f32.c +++ b/Source/QuaternionMathFunctions/arm_quaternion2rotation_f32.c @@ -77,7 +77,7 @@ #include "arm_helium_utils.h" -void arm_quaternion2rotation_f32(const float32_t *pInputQuaternions, +ARM_DSP_ATTRIBUTE void arm_quaternion2rotation_f32(const float32_t *pInputQuaternions, float32_t *pOutputRotations, uint32_t nbQuaternions) { @@ -140,7 +140,7 @@ void arm_quaternion2rotation_f32(const float32_t *pInputQuaternions, } #else -void arm_quaternion2rotation_f32(const float32_t *pInputQuaternions, +ARM_DSP_ATTRIBUTE void arm_quaternion2rotation_f32(const float32_t *pInputQuaternions, float32_t *pOutputRotations, uint32_t nbQuaternions) { diff --git a/Source/QuaternionMathFunctions/arm_quaternion_conjugate_f32.c b/Source/QuaternionMathFunctions/arm_quaternion_conjugate_f32.c index 6ba6b9de3..a2933b26f 100755 --- a/Source/QuaternionMathFunctions/arm_quaternion_conjugate_f32.c +++ b/Source/QuaternionMathFunctions/arm_quaternion_conjugate_f32.c @@ -54,7 +54,7 @@ #if defined(ARM_MATH_MVEF) && !defined(ARM_MATH_AUTOVECTORIZE) #include "arm_helium_utils.h" -void arm_quaternion_conjugate_f32(const float32_t *pInputQuaternions, +ARM_DSP_ATTRIBUTE void arm_quaternion_conjugate_f32(const float32_t *pInputQuaternions, float32_t *pConjugateQuaternions, uint32_t nbQuaternions) { @@ -76,7 +76,7 @@ void arm_quaternion_conjugate_f32(const float32_t *pInputQuaternions, } } #else -void arm_quaternion_conjugate_f32(const float32_t *pInputQuaternions, +ARM_DSP_ATTRIBUTE void arm_quaternion_conjugate_f32(const float32_t *pInputQuaternions, float32_t *pConjugateQuaternions, uint32_t nbQuaternions) { diff --git a/Source/QuaternionMathFunctions/arm_quaternion_inverse_f32.c b/Source/QuaternionMathFunctions/arm_quaternion_inverse_f32.c index b6c24ddc3..0aeef1c6f 100755 --- a/Source/QuaternionMathFunctions/arm_quaternion_inverse_f32.c +++ b/Source/QuaternionMathFunctions/arm_quaternion_inverse_f32.c @@ -56,7 +56,7 @@ #include "arm_helium_utils.h" -void arm_quaternion_inverse_f32(const float32_t *pInputQuaternions, +ARM_DSP_ATTRIBUTE void arm_quaternion_inverse_f32(const float32_t *pInputQuaternions, float32_t *pInverseQuaternions, uint32_t nbQuaternions) { @@ -85,7 +85,7 @@ void arm_quaternion_inverse_f32(const float32_t *pInputQuaternions, } #else -void arm_quaternion_inverse_f32(const float32_t *pInputQuaternions, +ARM_DSP_ATTRIBUTE void arm_quaternion_inverse_f32(const float32_t *pInputQuaternions, float32_t *pInverseQuaternions, uint32_t nbQuaternions) { diff --git a/Source/QuaternionMathFunctions/arm_quaternion_norm_f32.c b/Source/QuaternionMathFunctions/arm_quaternion_norm_f32.c index d56651048..f003e7dea 100755 --- a/Source/QuaternionMathFunctions/arm_quaternion_norm_f32.c +++ b/Source/QuaternionMathFunctions/arm_quaternion_norm_f32.c @@ -56,7 +56,7 @@ #include "arm_helium_utils.h" -void arm_quaternion_norm_f32(const float32_t *pInputQuaternions, +ARM_DSP_ATTRIBUTE void arm_quaternion_norm_f32(const float32_t *pInputQuaternions, float32_t *pNorms, uint32_t nbQuaternions) { @@ -78,7 +78,7 @@ void arm_quaternion_norm_f32(const float32_t *pInputQuaternions, #else -void arm_quaternion_norm_f32(const float32_t *pInputQuaternions, +ARM_DSP_ATTRIBUTE void arm_quaternion_norm_f32(const float32_t *pInputQuaternions, float32_t *pNorms, uint32_t nbQuaternions) { diff --git a/Source/QuaternionMathFunctions/arm_quaternion_normalize_f32.c b/Source/QuaternionMathFunctions/arm_quaternion_normalize_f32.c index cbd234fc4..a58a961ca 100755 --- a/Source/QuaternionMathFunctions/arm_quaternion_normalize_f32.c +++ b/Source/QuaternionMathFunctions/arm_quaternion_normalize_f32.c @@ -55,7 +55,7 @@ #include "arm_helium_utils.h" -void arm_quaternion_normalize_f32(const float32_t *pInputQuaternions, +ARM_DSP_ATTRIBUTE void arm_quaternion_normalize_f32(const float32_t *pInputQuaternions, float32_t *pNormalizedQuaternions, uint32_t nbQuaternions) { @@ -78,7 +78,7 @@ void arm_quaternion_normalize_f32(const float32_t *pInputQuaternions, } #else -void arm_quaternion_normalize_f32(const float32_t *pInputQuaternions, +ARM_DSP_ATTRIBUTE void arm_quaternion_normalize_f32(const float32_t *pInputQuaternions, float32_t *pNormalizedQuaternions, uint32_t nbQuaternions) { diff --git a/Source/QuaternionMathFunctions/arm_quaternion_product_f32.c b/Source/QuaternionMathFunctions/arm_quaternion_product_f32.c index 26c136823..6a22eb6be 100755 --- a/Source/QuaternionMathFunctions/arm_quaternion_product_f32.c +++ b/Source/QuaternionMathFunctions/arm_quaternion_product_f32.c @@ -66,7 +66,7 @@ #include "arm_helium_utils.h" -void arm_quaternion_product_f32(const float32_t *qa, +ARM_DSP_ATTRIBUTE void arm_quaternion_product_f32(const float32_t *qa, const float32_t *qb, float32_t *qr, uint32_t nbQuaternions) @@ -126,7 +126,7 @@ void arm_quaternion_product_f32(const float32_t *qa, #else -void arm_quaternion_product_f32(const float32_t *qa, +ARM_DSP_ATTRIBUTE void arm_quaternion_product_f32(const float32_t *qa, const float32_t *qb, float32_t *qr, uint32_t nbQuaternions) diff --git a/Source/QuaternionMathFunctions/arm_quaternion_product_single_f32.c b/Source/QuaternionMathFunctions/arm_quaternion_product_single_f32.c index c06e8ae9b..c6fa586ac 100755 --- a/Source/QuaternionMathFunctions/arm_quaternion_product_single_f32.c +++ b/Source/QuaternionMathFunctions/arm_quaternion_product_single_f32.c @@ -55,7 +55,7 @@ #if defined(ARM_MATH_MVEF) && !defined(ARM_MATH_AUTOVECTORIZE) #include "arm_helium_utils.h" -void arm_quaternion_product_single_f32(const float32_t *qa, +ARM_DSP_ATTRIBUTE void arm_quaternion_product_single_f32(const float32_t *qa, const float32_t *qb, float32_t *qr) { @@ -90,7 +90,7 @@ void arm_quaternion_product_single_f32(const float32_t *qa, } #else -void arm_quaternion_product_single_f32(const float32_t *qa, +ARM_DSP_ATTRIBUTE void arm_quaternion_product_single_f32(const float32_t *qa, const float32_t *qb, float32_t *qr) { diff --git a/Source/QuaternionMathFunctions/arm_rotation2quaternion_f32.c b/Source/QuaternionMathFunctions/arm_rotation2quaternion_f32.c index a75c3de92..604be687a 100755 --- a/Source/QuaternionMathFunctions/arm_rotation2quaternion_f32.c +++ b/Source/QuaternionMathFunctions/arm_rotation2quaternion_f32.c @@ -72,7 +72,7 @@ #define R21 vgetq_lane(q2,3) #define R22 ro22 -void arm_rotation2quaternion_f32(const float32_t *pInputRotations, +ARM_DSP_ATTRIBUTE void arm_rotation2quaternion_f32(const float32_t *pInputRotations, float32_t *pOutputQuaternions, uint32_t nbQuaternions) { @@ -161,7 +161,7 @@ void arm_rotation2quaternion_f32(const float32_t *pInputRotations, } #else -void arm_rotation2quaternion_f32(const float32_t *pInputRotations, +ARM_DSP_ATTRIBUTE void arm_rotation2quaternion_f32(const float32_t *pInputRotations, float32_t *pOutputQuaternions, uint32_t nbQuaternions) { diff --git a/Source/SVMFunctions/arm_svm_linear_init_f16.c b/Source/SVMFunctions/arm_svm_linear_init_f16.c index 1b96e513d..fd45c2436 100755 --- a/Source/SVMFunctions/arm_svm_linear_init_f16.c +++ b/Source/SVMFunctions/arm_svm_linear_init_f16.c @@ -62,7 +62,7 @@ */ -void arm_svm_linear_init_f16(arm_svm_linear_instance_f16 *S, +ARM_DSP_ATTRIBUTE void arm_svm_linear_init_f16(arm_svm_linear_instance_f16 *S, uint32_t nbOfSupportVectors, uint32_t vectorDimension, float16_t intercept, diff --git a/Source/SVMFunctions/arm_svm_linear_init_f32.c b/Source/SVMFunctions/arm_svm_linear_init_f32.c index e6f64a16e..4e962b769 100755 --- a/Source/SVMFunctions/arm_svm_linear_init_f32.c +++ b/Source/SVMFunctions/arm_svm_linear_init_f32.c @@ -68,7 +68,7 @@ */ -void arm_svm_linear_init_f32(arm_svm_linear_instance_f32 *S, +ARM_DSP_ATTRIBUTE void arm_svm_linear_init_f32(arm_svm_linear_instance_f32 *S, uint32_t nbOfSupportVectors, uint32_t vectorDimension, float32_t intercept, diff --git a/Source/SVMFunctions/arm_svm_linear_predict_f16.c b/Source/SVMFunctions/arm_svm_linear_predict_f16.c index 07ddebe2f..ac79cd748 100755 --- a/Source/SVMFunctions/arm_svm_linear_predict_f16.c +++ b/Source/SVMFunctions/arm_svm_linear_predict_f16.c @@ -51,7 +51,7 @@ #include "arm_helium_utils.h" -void arm_svm_linear_predict_f16( +ARM_DSP_ATTRIBUTE void arm_svm_linear_predict_f16( const arm_svm_linear_instance_f16 *S, const float16_t * in, int32_t * pResult) @@ -282,7 +282,7 @@ void arm_svm_linear_predict_f16( } #else -void arm_svm_linear_predict_f16( +ARM_DSP_ATTRIBUTE void arm_svm_linear_predict_f16( const arm_svm_linear_instance_f16 *S, const float16_t * in, int32_t * pResult) diff --git a/Source/SVMFunctions/arm_svm_linear_predict_f32.c b/Source/SVMFunctions/arm_svm_linear_predict_f32.c index 54a11a336..dc4224bad 100755 --- a/Source/SVMFunctions/arm_svm_linear_predict_f32.c +++ b/Source/SVMFunctions/arm_svm_linear_predict_f32.c @@ -48,7 +48,7 @@ #include "arm_helium_utils.h" -void arm_svm_linear_predict_f32( +ARM_DSP_ATTRIBUTE void arm_svm_linear_predict_f32( const arm_svm_linear_instance_f32 *S, const float32_t * in, int32_t * pResult) @@ -282,7 +282,7 @@ void arm_svm_linear_predict_f32( #else #if defined(ARM_MATH_NEON) -void arm_svm_linear_predict_f32( +ARM_DSP_ATTRIBUTE void arm_svm_linear_predict_f32( const arm_svm_linear_instance_f32 *S, const float32_t * in, int32_t * pResult) @@ -431,7 +431,7 @@ void arm_svm_linear_predict_f32( *pResult=S->classes[STEP(sum)]; } #else -void arm_svm_linear_predict_f32( +ARM_DSP_ATTRIBUTE void arm_svm_linear_predict_f32( const arm_svm_linear_instance_f32 *S, const float32_t * in, int32_t * pResult) diff --git a/Source/SVMFunctions/arm_svm_polynomial_init_f16.c b/Source/SVMFunctions/arm_svm_polynomial_init_f16.c index 10a7f83fb..ec11fc621 100755 --- a/Source/SVMFunctions/arm_svm_polynomial_init_f16.c +++ b/Source/SVMFunctions/arm_svm_polynomial_init_f16.c @@ -64,7 +64,7 @@ */ -void arm_svm_polynomial_init_f16(arm_svm_polynomial_instance_f16 *S, +ARM_DSP_ATTRIBUTE void arm_svm_polynomial_init_f16(arm_svm_polynomial_instance_f16 *S, uint32_t nbOfSupportVectors, uint32_t vectorDimension, float16_t intercept, diff --git a/Source/SVMFunctions/arm_svm_polynomial_init_f32.c b/Source/SVMFunctions/arm_svm_polynomial_init_f32.c index f764eb549..df9ab369b 100755 --- a/Source/SVMFunctions/arm_svm_polynomial_init_f32.c +++ b/Source/SVMFunctions/arm_svm_polynomial_init_f32.c @@ -66,7 +66,7 @@ */ -void arm_svm_polynomial_init_f32(arm_svm_polynomial_instance_f32 *S, +ARM_DSP_ATTRIBUTE void arm_svm_polynomial_init_f32(arm_svm_polynomial_instance_f32 *S, uint32_t nbOfSupportVectors, uint32_t vectorDimension, float32_t intercept, diff --git a/Source/SVMFunctions/arm_svm_polynomial_predict_f16.c b/Source/SVMFunctions/arm_svm_polynomial_predict_f16.c index 67779c1c5..e2838c07d 100755 --- a/Source/SVMFunctions/arm_svm_polynomial_predict_f16.c +++ b/Source/SVMFunctions/arm_svm_polynomial_predict_f16.c @@ -76,7 +76,7 @@ __STATIC_INLINE float16_t arm_exponent_f16(float16_t x, int32_t nb) * @param[out] pResult Decision value * */ -void arm_svm_polynomial_predict_f16( +ARM_DSP_ATTRIBUTE void arm_svm_polynomial_predict_f16( const arm_svm_polynomial_instance_f16 *S, const float16_t * in, int32_t * pResult) @@ -334,7 +334,7 @@ void arm_svm_polynomial_predict_f16( * @param[out] pResult Decision value * */ -void arm_svm_polynomial_predict_f16( +ARM_DSP_ATTRIBUTE void arm_svm_polynomial_predict_f16( const arm_svm_polynomial_instance_f16 *S, const float16_t * in, int32_t * pResult) diff --git a/Source/SVMFunctions/arm_svm_polynomial_predict_f32.c b/Source/SVMFunctions/arm_svm_polynomial_predict_f32.c index aff86ff46..649d0755e 100755 --- a/Source/SVMFunctions/arm_svm_polynomial_predict_f32.c +++ b/Source/SVMFunctions/arm_svm_polynomial_predict_f32.c @@ -53,7 +53,7 @@ #include "arm_helium_utils.h" #include "arm_vec_math.h" -void arm_svm_polynomial_predict_f32( +ARM_DSP_ATTRIBUTE void arm_svm_polynomial_predict_f32( const arm_svm_polynomial_instance_f32 *S, const float32_t * in, int32_t * pResult) @@ -302,7 +302,7 @@ void arm_svm_polynomial_predict_f32( #else #if defined(ARM_MATH_NEON) -void arm_svm_polynomial_predict_f32( +ARM_DSP_ATTRIBUTE void arm_svm_polynomial_predict_f32( const arm_svm_polynomial_instance_f32 *S, const float32_t * in, int32_t * pResult) @@ -458,7 +458,7 @@ void arm_svm_polynomial_predict_f32( *pResult=S->classes[STEP(sum)]; } #else -void arm_svm_polynomial_predict_f32( +ARM_DSP_ATTRIBUTE void arm_svm_polynomial_predict_f32( const arm_svm_polynomial_instance_f32 *S, const float32_t * in, int32_t * pResult) diff --git a/Source/SVMFunctions/arm_svm_rbf_init_f16.c b/Source/SVMFunctions/arm_svm_rbf_init_f16.c index 4e64c1616..1fd9fa1ac 100755 --- a/Source/SVMFunctions/arm_svm_rbf_init_f16.c +++ b/Source/SVMFunctions/arm_svm_rbf_init_f16.c @@ -62,7 +62,7 @@ * */ -void arm_svm_rbf_init_f16(arm_svm_rbf_instance_f16 *S, +ARM_DSP_ATTRIBUTE void arm_svm_rbf_init_f16(arm_svm_rbf_instance_f16 *S, uint32_t nbOfSupportVectors, uint32_t vectorDimension, float16_t intercept, diff --git a/Source/SVMFunctions/arm_svm_rbf_init_f32.c b/Source/SVMFunctions/arm_svm_rbf_init_f32.c index 2a32cb2fe..baf7fecd1 100755 --- a/Source/SVMFunctions/arm_svm_rbf_init_f32.c +++ b/Source/SVMFunctions/arm_svm_rbf_init_f32.c @@ -64,7 +64,7 @@ * */ -void arm_svm_rbf_init_f32(arm_svm_rbf_instance_f32 *S, +ARM_DSP_ATTRIBUTE void arm_svm_rbf_init_f32(arm_svm_rbf_instance_f32 *S, uint32_t nbOfSupportVectors, uint32_t vectorDimension, float32_t intercept, diff --git a/Source/SVMFunctions/arm_svm_rbf_predict_f16.c b/Source/SVMFunctions/arm_svm_rbf_predict_f16.c index 2d9ec00c4..406dddf3b 100755 --- a/Source/SVMFunctions/arm_svm_rbf_predict_f16.c +++ b/Source/SVMFunctions/arm_svm_rbf_predict_f16.c @@ -53,7 +53,7 @@ #include "arm_helium_utils.h" #include "arm_vec_math_f16.h" -void arm_svm_rbf_predict_f16( +ARM_DSP_ATTRIBUTE void arm_svm_rbf_predict_f16( const arm_svm_rbf_instance_f16 *S, const float16_t * in, int32_t * pResult) @@ -318,7 +318,7 @@ void arm_svm_rbf_predict_f16( } #else -void arm_svm_rbf_predict_f16( +ARM_DSP_ATTRIBUTE void arm_svm_rbf_predict_f16( const arm_svm_rbf_instance_f16 *S, const float16_t * in, int32_t * pResult) diff --git a/Source/SVMFunctions/arm_svm_rbf_predict_f32.c b/Source/SVMFunctions/arm_svm_rbf_predict_f32.c index 4c111802e..d9a507081 100755 --- a/Source/SVMFunctions/arm_svm_rbf_predict_f32.c +++ b/Source/SVMFunctions/arm_svm_rbf_predict_f32.c @@ -50,7 +50,7 @@ #include "arm_helium_utils.h" #include "arm_vec_math.h" -void arm_svm_rbf_predict_f32( +ARM_DSP_ATTRIBUTE void arm_svm_rbf_predict_f32( const arm_svm_rbf_instance_f32 *S, const float32_t * in, int32_t * pResult) @@ -320,7 +320,7 @@ void arm_svm_rbf_predict_f32( #include "NEMath.h" -void arm_svm_rbf_predict_f32( +ARM_DSP_ATTRIBUTE void arm_svm_rbf_predict_f32( const arm_svm_rbf_instance_f32 *S, const float32_t * in, int32_t * pResult) @@ -491,7 +491,7 @@ void arm_svm_rbf_predict_f32( *pResult=S->classes[STEP(sum)]; } #else -void arm_svm_rbf_predict_f32( +ARM_DSP_ATTRIBUTE void arm_svm_rbf_predict_f32( const arm_svm_rbf_instance_f32 *S, const float32_t * in, int32_t * pResult) diff --git a/Source/SVMFunctions/arm_svm_sigmoid_init_f16.c b/Source/SVMFunctions/arm_svm_sigmoid_init_f16.c index b0b9c4008..de66b8e21 100755 --- a/Source/SVMFunctions/arm_svm_sigmoid_init_f16.c +++ b/Source/SVMFunctions/arm_svm_sigmoid_init_f16.c @@ -62,7 +62,7 @@ * */ -void arm_svm_sigmoid_init_f16(arm_svm_sigmoid_instance_f16 *S, +ARM_DSP_ATTRIBUTE void arm_svm_sigmoid_init_f16(arm_svm_sigmoid_instance_f16 *S, uint32_t nbOfSupportVectors, uint32_t vectorDimension, float16_t intercept, diff --git a/Source/SVMFunctions/arm_svm_sigmoid_init_f32.c b/Source/SVMFunctions/arm_svm_sigmoid_init_f32.c index 6a38be951..e8dae7b84 100755 --- a/Source/SVMFunctions/arm_svm_sigmoid_init_f32.c +++ b/Source/SVMFunctions/arm_svm_sigmoid_init_f32.c @@ -64,7 +64,7 @@ * */ -void arm_svm_sigmoid_init_f32(arm_svm_sigmoid_instance_f32 *S, +ARM_DSP_ATTRIBUTE void arm_svm_sigmoid_init_f32(arm_svm_sigmoid_instance_f32 *S, uint32_t nbOfSupportVectors, uint32_t vectorDimension, float32_t intercept, diff --git a/Source/SVMFunctions/arm_svm_sigmoid_predict_f16.c b/Source/SVMFunctions/arm_svm_sigmoid_predict_f16.c index a161c1f6c..50a668b23 100755 --- a/Source/SVMFunctions/arm_svm_sigmoid_predict_f16.c +++ b/Source/SVMFunctions/arm_svm_sigmoid_predict_f16.c @@ -53,7 +53,7 @@ #include "arm_helium_utils.h" #include "arm_vec_math_f16.h" -void arm_svm_sigmoid_predict_f16( +ARM_DSP_ATTRIBUTE void arm_svm_sigmoid_predict_f16( const arm_svm_sigmoid_instance_f16 *S, const float16_t * in, int32_t * pResult) @@ -300,7 +300,7 @@ void arm_svm_sigmoid_predict_f16( } #else -void arm_svm_sigmoid_predict_f16( +ARM_DSP_ATTRIBUTE void arm_svm_sigmoid_predict_f16( const arm_svm_sigmoid_instance_f16 *S, const float16_t * in, int32_t * pResult) diff --git a/Source/SVMFunctions/arm_svm_sigmoid_predict_f32.c b/Source/SVMFunctions/arm_svm_sigmoid_predict_f32.c index 1c93bb874..f30dfe022 100755 --- a/Source/SVMFunctions/arm_svm_sigmoid_predict_f32.c +++ b/Source/SVMFunctions/arm_svm_sigmoid_predict_f32.c @@ -50,7 +50,7 @@ #include "arm_helium_utils.h" #include "arm_vec_math.h" -void arm_svm_sigmoid_predict_f32( +ARM_DSP_ATTRIBUTE void arm_svm_sigmoid_predict_f32( const arm_svm_sigmoid_instance_f32 *S, const float32_t * in, int32_t * pResult) @@ -300,7 +300,7 @@ void arm_svm_sigmoid_predict_f32( #if defined(ARM_MATH_NEON) #include "NEMath.h" -void arm_svm_sigmoid_predict_f32( +ARM_DSP_ATTRIBUTE void arm_svm_sigmoid_predict_f32( const arm_svm_sigmoid_instance_f32 *S, const float32_t * in, int32_t * pResult) @@ -456,7 +456,7 @@ void arm_svm_sigmoid_predict_f32( *pResult=S->classes[STEP(sum)]; } #else -void arm_svm_sigmoid_predict_f32( +ARM_DSP_ATTRIBUTE void arm_svm_sigmoid_predict_f32( const arm_svm_sigmoid_instance_f32 *S, const float32_t * in, int32_t * pResult) diff --git a/Source/StatisticsFunctions/arm_absmax_f16.c b/Source/StatisticsFunctions/arm_absmax_f16.c index 07f5ac391..d5a9e8ddf 100755 --- a/Source/StatisticsFunctions/arm_absmax_f16.c +++ b/Source/StatisticsFunctions/arm_absmax_f16.c @@ -55,7 +55,7 @@ #if defined(ARM_MATH_MVE_FLOAT16) && !defined(ARM_MATH_AUTOVECTORIZE) #include "arm_helium_utils.h" -void arm_absmax_f16( +ARM_DSP_ATTRIBUTE void arm_absmax_f16( const float16_t * pSrc, uint32_t blockSize, float16_t * pResult, @@ -137,7 +137,7 @@ void arm_absmax_f16( } #else #if defined(ARM_MATH_LOOPUNROLL) -void arm_absmax_f16( +ARM_DSP_ATTRIBUTE void arm_absmax_f16( const float16_t * pSrc, uint32_t blockSize, float16_t * pResult, @@ -224,7 +224,7 @@ void arm_absmax_f16( *pIndex = outIndex; } #else -void arm_absmax_f16( +ARM_DSP_ATTRIBUTE void arm_absmax_f16( const float16_t * pSrc, uint32_t blockSize, float16_t * pResult, diff --git a/Source/StatisticsFunctions/arm_absmax_f32.c b/Source/StatisticsFunctions/arm_absmax_f32.c index 243c601e2..0abbca01e 100755 --- a/Source/StatisticsFunctions/arm_absmax_f32.c +++ b/Source/StatisticsFunctions/arm_absmax_f32.c @@ -59,7 +59,7 @@ #include "arm_helium_utils.h" -void arm_absmax_f32( +ARM_DSP_ATTRIBUTE void arm_absmax_f32( const float32_t * pSrc, uint32_t blockSize, float32_t * pResult, @@ -123,7 +123,7 @@ void arm_absmax_f32( #else #if defined(ARM_MATH_LOOPUNROLL) -void arm_absmax_f32( +ARM_DSP_ATTRIBUTE void arm_absmax_f32( const float32_t * pSrc, uint32_t blockSize, float32_t * pResult, @@ -210,7 +210,7 @@ void arm_absmax_f32( *pIndex = outIndex; } #else -void arm_absmax_f32( +ARM_DSP_ATTRIBUTE void arm_absmax_f32( const float32_t * pSrc, uint32_t blockSize, float32_t * pResult, diff --git a/Source/StatisticsFunctions/arm_absmax_f64.c b/Source/StatisticsFunctions/arm_absmax_f64.c index fa5b644ed..f2b251a4d 100644 --- a/Source/StatisticsFunctions/arm_absmax_f64.c +++ b/Source/StatisticsFunctions/arm_absmax_f64.c @@ -44,7 +44,7 @@ @param[out] pResult maximum value returned here @param[out] pIndex index of maximum value returned here */ -void arm_absmax_f64( +ARM_DSP_ATTRIBUTE void arm_absmax_f64( const float64_t * pSrc, uint32_t blockSize, float64_t * pResult, diff --git a/Source/StatisticsFunctions/arm_absmax_no_idx_f16.c b/Source/StatisticsFunctions/arm_absmax_no_idx_f16.c index eb6414a5a..482ee6496 100755 --- a/Source/StatisticsFunctions/arm_absmax_no_idx_f16.c +++ b/Source/StatisticsFunctions/arm_absmax_no_idx_f16.c @@ -54,7 +54,7 @@ #if defined(ARM_MATH_MVE_FLOAT16) && !defined(ARM_MATH_AUTOVECTORIZE) #include "arm_helium_utils.h" -void arm_absmax_no_idx_f16( +ARM_DSP_ATTRIBUTE void arm_absmax_no_idx_f16( const float16_t * pSrc, uint32_t blockSize, float16_t * pResult) @@ -106,7 +106,7 @@ void arm_absmax_no_idx_f16( } #else #if defined(ARM_MATH_LOOPUNROLL) -void arm_absmax_no_idx_f16( +ARM_DSP_ATTRIBUTE void arm_absmax_no_idx_f16( const float16_t * pSrc, uint32_t blockSize, float16_t * pResult) @@ -182,7 +182,7 @@ void arm_absmax_no_idx_f16( *pResult = out; \ } #else -void arm_absmax_no_idx_f16( +ARM_DSP_ATTRIBUTE void arm_absmax_no_idx_f16( const float16_t * pSrc, uint32_t blockSize, float16_t * pResult) diff --git a/Source/StatisticsFunctions/arm_absmax_no_idx_f32.c b/Source/StatisticsFunctions/arm_absmax_no_idx_f32.c index 3e567250c..2c9cb1f97 100755 --- a/Source/StatisticsFunctions/arm_absmax_no_idx_f32.c +++ b/Source/StatisticsFunctions/arm_absmax_no_idx_f32.c @@ -51,7 +51,7 @@ #include "arm_helium_utils.h" -void arm_absmax_no_idx_f32( +ARM_DSP_ATTRIBUTE void arm_absmax_no_idx_f32( const float32_t * pSrc, uint32_t blockSize, float32_t * pResult) @@ -105,7 +105,7 @@ void arm_absmax_no_idx_f32( #else #if defined(ARM_MATH_LOOPUNROLL) -void arm_absmax_no_idx_f32( +ARM_DSP_ATTRIBUTE void arm_absmax_no_idx_f32( const float32_t * pSrc, uint32_t blockSize, float32_t * pResult) @@ -179,7 +179,7 @@ void arm_absmax_no_idx_f32( *pResult = out; \ } #else -void arm_absmax_no_idx_f32( +ARM_DSP_ATTRIBUTE void arm_absmax_no_idx_f32( const float32_t * pSrc, uint32_t blockSize, float32_t * pResult) diff --git a/Source/StatisticsFunctions/arm_absmax_no_idx_f64.c b/Source/StatisticsFunctions/arm_absmax_no_idx_f64.c index a64184bea..c3aefdc4e 100755 --- a/Source/StatisticsFunctions/arm_absmax_no_idx_f64.c +++ b/Source/StatisticsFunctions/arm_absmax_no_idx_f64.c @@ -47,7 +47,7 @@ */ #if defined(ARM_MATH_NEON) && defined(__aarch64__) -void arm_absmax_no_idx_f64( +ARM_DSP_ATTRIBUTE void arm_absmax_no_idx_f64( const float64_t * pSrc, uint32_t blockSize, float64_t * pResult) @@ -110,7 +110,7 @@ void arm_absmax_no_idx_f64( } #else -void arm_absmax_no_idx_f64( +ARM_DSP_ATTRIBUTE void arm_absmax_no_idx_f64( const float64_t * pSrc, uint32_t blockSize, float64_t * pResult) diff --git a/Source/StatisticsFunctions/arm_absmax_no_idx_q15.c b/Source/StatisticsFunctions/arm_absmax_no_idx_q15.c index 950785235..69ea50953 100755 --- a/Source/StatisticsFunctions/arm_absmax_no_idx_q15.c +++ b/Source/StatisticsFunctions/arm_absmax_no_idx_q15.c @@ -47,7 +47,7 @@ #include "arm_helium_utils.h" -void arm_absmax_no_idx_q15( +ARM_DSP_ATTRIBUTE void arm_absmax_no_idx_q15( const q15_t * pSrc, uint32_t blockSize, q15_t * pResult) @@ -84,7 +84,7 @@ void arm_absmax_no_idx_q15( #else #if defined(ARM_MATH_DSP) -void arm_absmax_no_idx_q15( +ARM_DSP_ATTRIBUTE void arm_absmax_no_idx_q15( const q15_t * pSrc, uint32_t blockSize, q15_t * pResult) @@ -160,7 +160,7 @@ void arm_absmax_no_idx_q15( *pResult = out; \ } #else -void arm_absmax_no_idx_q15( +ARM_DSP_ATTRIBUTE void arm_absmax_no_idx_q15( const q15_t * pSrc, uint32_t blockSize, q15_t * pResult) diff --git a/Source/StatisticsFunctions/arm_absmax_no_idx_q31.c b/Source/StatisticsFunctions/arm_absmax_no_idx_q31.c index 92162575b..45ae491cf 100755 --- a/Source/StatisticsFunctions/arm_absmax_no_idx_q31.c +++ b/Source/StatisticsFunctions/arm_absmax_no_idx_q31.c @@ -47,7 +47,7 @@ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) #include "arm_helium_utils.h" -void arm_absmax_no_idx_q31( +ARM_DSP_ATTRIBUTE void arm_absmax_no_idx_q31( const q31_t * pSrc, uint32_t blockSize, q31_t * pResult) @@ -83,7 +83,7 @@ void arm_absmax_no_idx_q31( } #else #if defined(ARM_MATH_DSP) -void arm_absmax_no_idx_q31( +ARM_DSP_ATTRIBUTE void arm_absmax_no_idx_q31( const q31_t * pSrc, uint32_t blockSize, q31_t * pResult) @@ -159,7 +159,7 @@ void arm_absmax_no_idx_q31( *pResult = out; \ } #else -void arm_absmax_no_idx_q31( +ARM_DSP_ATTRIBUTE void arm_absmax_no_idx_q31( const q31_t * pSrc, uint32_t blockSize, q31_t * pResult) diff --git a/Source/StatisticsFunctions/arm_absmax_no_idx_q7.c b/Source/StatisticsFunctions/arm_absmax_no_idx_q7.c index 160c3b1f6..7fad07fac 100755 --- a/Source/StatisticsFunctions/arm_absmax_no_idx_q7.c +++ b/Source/StatisticsFunctions/arm_absmax_no_idx_q7.c @@ -52,7 +52,7 @@ -void arm_absmax_no_idx_q7( +ARM_DSP_ATTRIBUTE void arm_absmax_no_idx_q7( const q7_t * pSrc, uint32_t blockSize, q7_t * pResult) @@ -88,7 +88,7 @@ void arm_absmax_no_idx_q7( } #else #if defined(ARM_MATH_DSP) -void arm_absmax_no_idx_q7( +ARM_DSP_ATTRIBUTE void arm_absmax_no_idx_q7( const q7_t * pSrc, uint32_t blockSize, q7_t * pResult) @@ -164,7 +164,7 @@ void arm_absmax_no_idx_q7( *pResult = out; \ } #else -void arm_absmax_no_idx_q7( +ARM_DSP_ATTRIBUTE void arm_absmax_no_idx_q7( const q7_t * pSrc, uint32_t blockSize, q7_t * pResult) diff --git a/Source/StatisticsFunctions/arm_absmax_q15.c b/Source/StatisticsFunctions/arm_absmax_q15.c index 84f94626e..da8bd18d9 100755 --- a/Source/StatisticsFunctions/arm_absmax_q15.c +++ b/Source/StatisticsFunctions/arm_absmax_q15.c @@ -48,7 +48,7 @@ #include "arm_helium_utils.h" -void arm_absmax_q15( +ARM_DSP_ATTRIBUTE void arm_absmax_q15( const q15_t * pSrc, uint32_t blockSize, q15_t * pResult, @@ -101,7 +101,7 @@ void arm_absmax_q15( #else #if defined(ARM_MATH_DSP) -void arm_absmax_q15( +ARM_DSP_ATTRIBUTE void arm_absmax_q15( const q15_t * pSrc, uint32_t blockSize, q15_t * pResult, @@ -188,7 +188,7 @@ void arm_absmax_q15( *pIndex = outIndex; } #else -void arm_absmax_q15( +ARM_DSP_ATTRIBUTE void arm_absmax_q15( const q15_t * pSrc, uint32_t blockSize, q15_t * pResult, diff --git a/Source/StatisticsFunctions/arm_absmax_q31.c b/Source/StatisticsFunctions/arm_absmax_q31.c index 0c4793309..8ae4c9129 100755 --- a/Source/StatisticsFunctions/arm_absmax_q31.c +++ b/Source/StatisticsFunctions/arm_absmax_q31.c @@ -48,7 +48,7 @@ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) #include "arm_helium_utils.h" -void arm_absmax_q31( +ARM_DSP_ATTRIBUTE void arm_absmax_q31( const q31_t * pSrc, uint32_t blockSize, q31_t * pResult, @@ -100,7 +100,7 @@ void arm_absmax_q31( } #else #if defined(ARM_MATH_DSP) -void arm_absmax_q31( +ARM_DSP_ATTRIBUTE void arm_absmax_q31( const q31_t * pSrc, uint32_t blockSize, q31_t * pResult, @@ -187,7 +187,7 @@ void arm_absmax_q31( *pIndex = outIndex; } #else -void arm_absmax_q31( +ARM_DSP_ATTRIBUTE void arm_absmax_q31( const q31_t * pSrc, uint32_t blockSize, q31_t * pResult, diff --git a/Source/StatisticsFunctions/arm_absmax_q7.c b/Source/StatisticsFunctions/arm_absmax_q7.c index 87cfd5907..7efdfcf61 100755 --- a/Source/StatisticsFunctions/arm_absmax_q7.c +++ b/Source/StatisticsFunctions/arm_absmax_q7.c @@ -108,7 +108,7 @@ static void arm_small_blk_absmax_q7( *pResult = maxValue; } -void arm_absmax_q7( +ARM_DSP_ATTRIBUTE void arm_absmax_q7( const q7_t * pSrc, uint32_t blockSize, q7_t * pResult, @@ -163,7 +163,7 @@ void arm_absmax_q7( } #else #if defined(ARM_MATH_DSP) -void arm_absmax_q7( +ARM_DSP_ATTRIBUTE void arm_absmax_q7( const q7_t * pSrc, uint32_t blockSize, q7_t * pResult, @@ -250,7 +250,7 @@ void arm_absmax_q7( *pIndex = outIndex; } #else -void arm_absmax_q7( +ARM_DSP_ATTRIBUTE void arm_absmax_q7( const q7_t * pSrc, uint32_t blockSize, q7_t * pResult, diff --git a/Source/StatisticsFunctions/arm_absmin_f16.c b/Source/StatisticsFunctions/arm_absmin_f16.c index d7376efa7..10d6f2efc 100755 --- a/Source/StatisticsFunctions/arm_absmin_f16.c +++ b/Source/StatisticsFunctions/arm_absmin_f16.c @@ -56,7 +56,7 @@ #if defined(ARM_MATH_MVE_FLOAT16) && !defined(ARM_MATH_AUTOVECTORIZE) #include "arm_helium_utils.h" -void arm_absmin_f16( +ARM_DSP_ATTRIBUTE void arm_absmin_f16( const float16_t * pSrc, uint32_t blockSize, float16_t * pResult, @@ -139,7 +139,7 @@ void arm_absmin_f16( #else #if defined(ARM_MATH_LOOPUNROLL) -void arm_absmin_f16( +ARM_DSP_ATTRIBUTE void arm_absmin_f16( const float16_t * pSrc, uint32_t blockSize, float16_t * pResult, @@ -226,7 +226,7 @@ void arm_absmin_f16( *pIndex = outIndex; } #else -void arm_absmin_f16( +ARM_DSP_ATTRIBUTE void arm_absmin_f16( const float16_t * pSrc, uint32_t blockSize, float16_t * pResult, diff --git a/Source/StatisticsFunctions/arm_absmin_f32.c b/Source/StatisticsFunctions/arm_absmin_f32.c index d52d34f8a..034d9e3db 100755 --- a/Source/StatisticsFunctions/arm_absmin_f32.c +++ b/Source/StatisticsFunctions/arm_absmin_f32.c @@ -61,7 +61,7 @@ #if defined(ARM_MATH_MVEF) && !defined(ARM_MATH_AUTOVECTORIZE) #include "arm_helium_utils.h" -void arm_absmin_f32( +ARM_DSP_ATTRIBUTE void arm_absmin_f32( const float32_t * pSrc, uint32_t blockSize, float32_t * pResult, @@ -144,7 +144,7 @@ void arm_absmin_f32( #else #if defined(ARM_MATH_LOOPUNROLL) -void arm_absmin_f32( +ARM_DSP_ATTRIBUTE void arm_absmin_f32( const float32_t * pSrc, uint32_t blockSize, float32_t * pResult, @@ -231,7 +231,7 @@ void arm_absmin_f32( *pIndex = outIndex; } #else -void arm_absmin_f32( +ARM_DSP_ATTRIBUTE void arm_absmin_f32( const float32_t * pSrc, uint32_t blockSize, float32_t * pResult, diff --git a/Source/StatisticsFunctions/arm_absmin_f64.c b/Source/StatisticsFunctions/arm_absmin_f64.c index 1b61d413f..2b08a7fb2 100644 --- a/Source/StatisticsFunctions/arm_absmin_f64.c +++ b/Source/StatisticsFunctions/arm_absmin_f64.c @@ -44,7 +44,7 @@ @param[out] pResult minimum value returned here @param[out] pIndex index of minimum value returned here */ -void arm_absmin_f64( +ARM_DSP_ATTRIBUTE void arm_absmin_f64( const float64_t * pSrc, uint32_t blockSize, float64_t * pResult, diff --git a/Source/StatisticsFunctions/arm_absmin_no_idx_f16.c b/Source/StatisticsFunctions/arm_absmin_no_idx_f16.c index b4882d0c4..3f9bac14b 100755 --- a/Source/StatisticsFunctions/arm_absmin_no_idx_f16.c +++ b/Source/StatisticsFunctions/arm_absmin_no_idx_f16.c @@ -55,7 +55,7 @@ #if defined(ARM_MATH_MVE_FLOAT16) && !defined(ARM_MATH_AUTOVECTORIZE) #include "arm_helium_utils.h" -void arm_absmin_no_idx_f16( +ARM_DSP_ATTRIBUTE void arm_absmin_no_idx_f16( const float16_t * pSrc, uint32_t blockSize, float16_t * pResult) @@ -108,7 +108,7 @@ void arm_absmin_no_idx_f16( #else #if defined(ARM_MATH_LOOPUNROLL) -void arm_absmin_no_idx_f16( +ARM_DSP_ATTRIBUTE void arm_absmin_no_idx_f16( const float16_t * pSrc, uint32_t blockSize, float16_t * pResult) @@ -184,7 +184,7 @@ void arm_absmin_no_idx_f16( *pResult = out; \ } #else -void arm_absmin_no_idx_f16( +ARM_DSP_ATTRIBUTE void arm_absmin_no_idx_f16( const float16_t * pSrc, uint32_t blockSize, float16_t * pResult) diff --git a/Source/StatisticsFunctions/arm_absmin_no_idx_f32.c b/Source/StatisticsFunctions/arm_absmin_no_idx_f32.c index 9e19e9e92..5b7fc081f 100755 --- a/Source/StatisticsFunctions/arm_absmin_no_idx_f32.c +++ b/Source/StatisticsFunctions/arm_absmin_no_idx_f32.c @@ -53,7 +53,7 @@ #if defined(ARM_MATH_MVEF) && !defined(ARM_MATH_AUTOVECTORIZE) #include "arm_helium_utils.h" -void arm_absmin_no_idx_f32( +ARM_DSP_ATTRIBUTE void arm_absmin_no_idx_f32( const float32_t * pSrc, uint32_t blockSize, float32_t * pResult) @@ -106,7 +106,7 @@ void arm_absmin_no_idx_f32( #else #if defined(ARM_MATH_LOOPUNROLL) -void arm_absmin_no_idx_f32( +ARM_DSP_ATTRIBUTE void arm_absmin_no_idx_f32( const float32_t * pSrc, uint32_t blockSize, float32_t * pResult) @@ -182,7 +182,7 @@ void arm_absmin_no_idx_f32( *pResult = out; \ } #else -void arm_absmin_no_idx_f32( +ARM_DSP_ATTRIBUTE void arm_absmin_no_idx_f32( const float32_t * pSrc, uint32_t blockSize, float32_t * pResult) diff --git a/Source/StatisticsFunctions/arm_absmin_no_idx_f64.c b/Source/StatisticsFunctions/arm_absmin_no_idx_f64.c index 9a3b43656..333c3beeb 100755 --- a/Source/StatisticsFunctions/arm_absmin_no_idx_f64.c +++ b/Source/StatisticsFunctions/arm_absmin_no_idx_f64.c @@ -45,7 +45,7 @@ */ #if defined(ARM_MATH_NEON) && defined(__aarch64__) -void arm_absmin_no_idx_f64( +ARM_DSP_ATTRIBUTE void arm_absmin_no_idx_f64( const float64_t * pSrc, uint32_t blockSize, float64_t * pResult) @@ -108,7 +108,7 @@ void arm_absmin_no_idx_f64( } #else -void arm_absmin_no_idx_f64( +ARM_DSP_ATTRIBUTE void arm_absmin_no_idx_f64( const float64_t * pSrc, uint32_t blockSize, float64_t * pResult) diff --git a/Source/StatisticsFunctions/arm_absmin_no_idx_q15.c b/Source/StatisticsFunctions/arm_absmin_no_idx_q15.c index cafec315b..5a3b0ba3a 100755 --- a/Source/StatisticsFunctions/arm_absmin_no_idx_q15.c +++ b/Source/StatisticsFunctions/arm_absmin_no_idx_q15.c @@ -48,7 +48,7 @@ #include "arm_helium_utils.h" -void arm_absmin_no_idx_q15( +ARM_DSP_ATTRIBUTE void arm_absmin_no_idx_q15( const q15_t * pSrc, uint32_t blockSize, q15_t * pResult) @@ -101,7 +101,7 @@ void arm_absmin_no_idx_q15( #else #if defined(ARM_MATH_DSP) -void arm_absmin_no_idx_q15( +ARM_DSP_ATTRIBUTE void arm_absmin_no_idx_q15( const q15_t * pSrc, uint32_t blockSize, q15_t * pResult) @@ -177,7 +177,7 @@ void arm_absmin_no_idx_q15( *pResult = out; \ } #else -void arm_absmin_no_idx_q15( +ARM_DSP_ATTRIBUTE void arm_absmin_no_idx_q15( const q15_t * pSrc, uint32_t blockSize, q15_t * pResult) diff --git a/Source/StatisticsFunctions/arm_absmin_no_idx_q31.c b/Source/StatisticsFunctions/arm_absmin_no_idx_q31.c index cf7123907..d3045ae8e 100755 --- a/Source/StatisticsFunctions/arm_absmin_no_idx_q31.c +++ b/Source/StatisticsFunctions/arm_absmin_no_idx_q31.c @@ -49,7 +49,7 @@ #include "arm_helium_utils.h" -void arm_absmin_no_idx_q31( +ARM_DSP_ATTRIBUTE void arm_absmin_no_idx_q31( const q31_t * pSrc, uint32_t blockSize, q31_t * pResult) @@ -102,7 +102,7 @@ void arm_absmin_no_idx_q31( #else #if defined(ARM_MATH_DSP) -void arm_absmin_no_idx_q31( +ARM_DSP_ATTRIBUTE void arm_absmin_no_idx_q31( const q31_t * pSrc, uint32_t blockSize, q31_t * pResult) @@ -178,7 +178,7 @@ void arm_absmin_no_idx_q31( *pResult = out; \ } #else -void arm_absmin_no_idx_q31( +ARM_DSP_ATTRIBUTE void arm_absmin_no_idx_q31( const q31_t * pSrc, uint32_t blockSize, q31_t * pResult) diff --git a/Source/StatisticsFunctions/arm_absmin_no_idx_q7.c b/Source/StatisticsFunctions/arm_absmin_no_idx_q7.c index 2b5433a89..588752e57 100755 --- a/Source/StatisticsFunctions/arm_absmin_no_idx_q7.c +++ b/Source/StatisticsFunctions/arm_absmin_no_idx_q7.c @@ -51,7 +51,7 @@ -void arm_absmin_no_idx_q7( +ARM_DSP_ATTRIBUTE void arm_absmin_no_idx_q7( const q7_t * pSrc, uint32_t blockSize, q7_t * pResult) @@ -104,7 +104,7 @@ void arm_absmin_no_idx_q7( #else #if defined(ARM_MATH_DSP) -void arm_absmin_no_idx_q7( +ARM_DSP_ATTRIBUTE void arm_absmin_no_idx_q7( const q7_t * pSrc, uint32_t blockSize, q7_t * pResult) @@ -179,7 +179,7 @@ void arm_absmin_no_idx_q7( *pResult = out; \ } #else -void arm_absmin_no_idx_q7( +ARM_DSP_ATTRIBUTE void arm_absmin_no_idx_q7( const q7_t * pSrc, uint32_t blockSize, q7_t * pResult) diff --git a/Source/StatisticsFunctions/arm_absmin_q15.c b/Source/StatisticsFunctions/arm_absmin_q15.c index 8035419ce..f86f8e140 100755 --- a/Source/StatisticsFunctions/arm_absmin_q15.c +++ b/Source/StatisticsFunctions/arm_absmin_q15.c @@ -49,7 +49,7 @@ #include "arm_helium_utils.h" -void arm_absmin_q15( +ARM_DSP_ATTRIBUTE void arm_absmin_q15( const q15_t * pSrc, uint32_t blockSize, q15_t * pResult, @@ -133,7 +133,7 @@ void arm_absmin_q15( #else #if defined(ARM_MATH_DSP) -void arm_absmin_q15( +ARM_DSP_ATTRIBUTE void arm_absmin_q15( const q15_t * pSrc, uint32_t blockSize, q15_t * pResult, @@ -220,7 +220,7 @@ void arm_absmin_q15( *pIndex = outIndex; } #else -void arm_absmin_q15( +ARM_DSP_ATTRIBUTE void arm_absmin_q15( const q15_t * pSrc, uint32_t blockSize, q15_t * pResult, diff --git a/Source/StatisticsFunctions/arm_absmin_q31.c b/Source/StatisticsFunctions/arm_absmin_q31.c index 25da61dbc..eb187971b 100755 --- a/Source/StatisticsFunctions/arm_absmin_q31.c +++ b/Source/StatisticsFunctions/arm_absmin_q31.c @@ -50,7 +50,7 @@ #include "arm_helium_utils.h" -void arm_absmin_q31( +ARM_DSP_ATTRIBUTE void arm_absmin_q31( const q31_t * pSrc, uint32_t blockSize, q31_t * pResult, @@ -134,7 +134,7 @@ void arm_absmin_q31( #else #if defined(ARM_MATH_DSP) -void arm_absmin_q31( +ARM_DSP_ATTRIBUTE void arm_absmin_q31( const q31_t * pSrc, uint32_t blockSize, q31_t * pResult, @@ -221,7 +221,7 @@ void arm_absmin_q31( *pIndex = outIndex; } #else -void arm_absmin_q31( +ARM_DSP_ATTRIBUTE void arm_absmin_q31( const q31_t * pSrc, uint32_t blockSize, q31_t * pResult, diff --git a/Source/StatisticsFunctions/arm_absmin_q7.c b/Source/StatisticsFunctions/arm_absmin_q7.c index 4024318bf..4aeb4b3b6 100755 --- a/Source/StatisticsFunctions/arm_absmin_q7.c +++ b/Source/StatisticsFunctions/arm_absmin_q7.c @@ -131,7 +131,7 @@ static void arm_small_blk_absmin_q7( } -void arm_absmin_q7( +ARM_DSP_ATTRIBUTE void arm_absmin_q7( const q7_t * pSrc, uint32_t blockSize, q7_t * pResult, @@ -187,7 +187,7 @@ void arm_absmin_q7( #else #if defined(ARM_MATH_DSP) -void arm_absmin_q7( +ARM_DSP_ATTRIBUTE void arm_absmin_q7( const q7_t * pSrc, uint32_t blockSize, q7_t * pResult, @@ -274,7 +274,7 @@ void arm_absmin_q7( *pIndex = outIndex; } #else -void arm_absmin_q7( +ARM_DSP_ATTRIBUTE void arm_absmin_q7( const q7_t * pSrc, uint32_t blockSize, q7_t * pResult, diff --git a/Source/StatisticsFunctions/arm_accumulate_f16.c b/Source/StatisticsFunctions/arm_accumulate_f16.c index 68c54293e..d95a81541 100755 --- a/Source/StatisticsFunctions/arm_accumulate_f16.c +++ b/Source/StatisticsFunctions/arm_accumulate_f16.c @@ -60,7 +60,7 @@ @param[out] pResult sum of values in input vector. */ -void arm_accumulate_f16( +ARM_DSP_ATTRIBUTE void arm_accumulate_f16( const float16_t * pSrc, uint32_t blockSize, float16_t * pResult) diff --git a/Source/StatisticsFunctions/arm_accumulate_f32.c b/Source/StatisticsFunctions/arm_accumulate_f32.c index a7dc59e51..b01fe051e 100644 --- a/Source/StatisticsFunctions/arm_accumulate_f32.c +++ b/Source/StatisticsFunctions/arm_accumulate_f32.c @@ -49,7 +49,7 @@ #include "arm_helium_utils.h" -void arm_accumulate_f32( +ARM_DSP_ATTRIBUTE void arm_accumulate_f32( const float32_t * pSrc, uint32_t blockSize, float32_t * pResult) @@ -99,7 +99,7 @@ void arm_accumulate_f32( #else #if defined(ARM_MATH_NEON) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_accumulate_f32( +ARM_DSP_ATTRIBUTE void arm_accumulate_f32( const float32_t * pSrc, uint32_t blockSize, float32_t * pResult) @@ -149,7 +149,7 @@ void arm_accumulate_f32( } #else -void arm_accumulate_f32( +ARM_DSP_ATTRIBUTE void arm_accumulate_f32( const float32_t * pSrc, uint32_t blockSize, float32_t * pResult) diff --git a/Source/StatisticsFunctions/arm_accumulate_f64.c b/Source/StatisticsFunctions/arm_accumulate_f64.c index e1837a3d6..db172351b 100644 --- a/Source/StatisticsFunctions/arm_accumulate_f64.c +++ b/Source/StatisticsFunctions/arm_accumulate_f64.c @@ -45,7 +45,7 @@ @param[out] pResult sum of values in input vector. */ #if defined(ARM_MATH_NEON) && defined(__aarch64__) -void arm_accumulate_f64( +ARM_DSP_ATTRIBUTE void arm_accumulate_f64( const float64_t * pSrc, uint32_t blockSize, float64_t * pResult) @@ -93,7 +93,7 @@ void arm_accumulate_f64( *pResult = sum; } #else -void arm_accumulate_f64( +ARM_DSP_ATTRIBUTE void arm_accumulate_f64( const float64_t * pSrc, uint32_t blockSize, float64_t * pResult) diff --git a/Source/StatisticsFunctions/arm_entropy_f16.c b/Source/StatisticsFunctions/arm_entropy_f16.c index 9611fd74c..376dfbb87 100755 --- a/Source/StatisticsFunctions/arm_entropy_f16.c +++ b/Source/StatisticsFunctions/arm_entropy_f16.c @@ -64,7 +64,7 @@ #include "arm_helium_utils.h" #include "arm_vec_math_f16.h" -float16_t arm_entropy_f16(const float16_t * pSrcA,uint32_t blockSize) +ARM_DSP_ATTRIBUTE float16_t arm_entropy_f16(const float16_t * pSrcA,uint32_t blockSize) { uint32_t blkCnt; _Float16 accum=0.0f16,p; @@ -108,7 +108,7 @@ float16_t arm_entropy_f16(const float16_t * pSrcA,uint32_t blockSize) #else -float16_t arm_entropy_f16(const float16_t * pSrcA,uint32_t blockSize) +ARM_DSP_ATTRIBUTE float16_t arm_entropy_f16(const float16_t * pSrcA,uint32_t blockSize) { const float16_t *pIn; uint32_t blkCnt; diff --git a/Source/StatisticsFunctions/arm_entropy_f32.c b/Source/StatisticsFunctions/arm_entropy_f32.c index a2160c164..8bbe6f2eb 100755 --- a/Source/StatisticsFunctions/arm_entropy_f32.c +++ b/Source/StatisticsFunctions/arm_entropy_f32.c @@ -51,7 +51,7 @@ #include "arm_helium_utils.h" #include "arm_vec_math.h" -float32_t arm_entropy_f32(const float32_t * pSrcA,uint32_t blockSize) +ARM_DSP_ATTRIBUTE float32_t arm_entropy_f32(const float32_t * pSrcA,uint32_t blockSize) { uint32_t blkCnt; float32_t accum=0.0f,p; @@ -98,7 +98,7 @@ float32_t arm_entropy_f32(const float32_t * pSrcA,uint32_t blockSize) #include "NEMath.h" -float32_t arm_entropy_f32(const float32_t * pSrcA,uint32_t blockSize) +ARM_DSP_ATTRIBUTE float32_t arm_entropy_f32(const float32_t * pSrcA,uint32_t blockSize) { const float32_t *pIn; uint32_t blkCnt; @@ -144,7 +144,7 @@ float32_t arm_entropy_f32(const float32_t * pSrcA,uint32_t blockSize) } #else -float32_t arm_entropy_f32(const float32_t * pSrcA,uint32_t blockSize) +ARM_DSP_ATTRIBUTE float32_t arm_entropy_f32(const float32_t * pSrcA,uint32_t blockSize) { const float32_t *pIn; uint32_t blkCnt; diff --git a/Source/StatisticsFunctions/arm_entropy_f64.c b/Source/StatisticsFunctions/arm_entropy_f64.c index 2213ed34e..90671280a 100755 --- a/Source/StatisticsFunctions/arm_entropy_f64.c +++ b/Source/StatisticsFunctions/arm_entropy_f64.c @@ -47,7 +47,7 @@ * */ -float64_t arm_entropy_f64(const float64_t * pSrcA, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float64_t arm_entropy_f64(const float64_t * pSrcA, uint32_t blockSize) { const float64_t *pIn; uint32_t blkCnt; diff --git a/Source/StatisticsFunctions/arm_kullback_leibler_f16.c b/Source/StatisticsFunctions/arm_kullback_leibler_f16.c index 98ac097f1..dca6c35c5 100755 --- a/Source/StatisticsFunctions/arm_kullback_leibler_f16.c +++ b/Source/StatisticsFunctions/arm_kullback_leibler_f16.c @@ -71,7 +71,7 @@ #include "arm_helium_utils.h" #include "arm_vec_math_f16.h" -float16_t arm_kullback_leibler_f16(const float16_t * pSrcA,const float16_t * pSrcB,uint32_t blockSize) +ARM_DSP_ATTRIBUTE float16_t arm_kullback_leibler_f16(const float16_t * pSrcA,const float16_t * pSrcB,uint32_t blockSize) { uint32_t blkCnt; _Float16 accum, pA,pB; @@ -118,7 +118,7 @@ float16_t arm_kullback_leibler_f16(const float16_t * pSrcA,const float16_t * pSr } #else -float16_t arm_kullback_leibler_f16(const float16_t * pSrcA,const float16_t * pSrcB,uint32_t blockSize) +ARM_DSP_ATTRIBUTE float16_t arm_kullback_leibler_f16(const float16_t * pSrcA,const float16_t * pSrcB,uint32_t blockSize) { const float16_t *pInA, *pInB; uint32_t blkCnt; diff --git a/Source/StatisticsFunctions/arm_kullback_leibler_f32.c b/Source/StatisticsFunctions/arm_kullback_leibler_f32.c index 45a9624c6..d88a5be5f 100755 --- a/Source/StatisticsFunctions/arm_kullback_leibler_f32.c +++ b/Source/StatisticsFunctions/arm_kullback_leibler_f32.c @@ -57,7 +57,7 @@ #include "arm_helium_utils.h" #include "arm_vec_math.h" -float32_t arm_kullback_leibler_f32(const float32_t * pSrcA,const float32_t * pSrcB,uint32_t blockSize) +ARM_DSP_ATTRIBUTE float32_t arm_kullback_leibler_f32(const float32_t * pSrcA,const float32_t * pSrcB,uint32_t blockSize) { uint32_t blkCnt; float32_t accum, pA,pB; @@ -108,7 +108,7 @@ float32_t arm_kullback_leibler_f32(const float32_t * pSrcA,const float32_t * pSr #include "NEMath.h" -float32_t arm_kullback_leibler_f32(const float32_t * pSrcA,const float32_t * pSrcB,uint32_t blockSize) +ARM_DSP_ATTRIBUTE float32_t arm_kullback_leibler_f32(const float32_t * pSrcA,const float32_t * pSrcB,uint32_t blockSize) { const float32_t *pInA, *pInB; uint32_t blkCnt; @@ -161,7 +161,7 @@ float32_t arm_kullback_leibler_f32(const float32_t * pSrcA,const float32_t * pSr } #else -float32_t arm_kullback_leibler_f32(const float32_t * pSrcA,const float32_t * pSrcB,uint32_t blockSize) +ARM_DSP_ATTRIBUTE float32_t arm_kullback_leibler_f32(const float32_t * pSrcA,const float32_t * pSrcB,uint32_t blockSize) { const float32_t *pInA, *pInB; uint32_t blkCnt; diff --git a/Source/StatisticsFunctions/arm_kullback_leibler_f64.c b/Source/StatisticsFunctions/arm_kullback_leibler_f64.c index 72515be5f..d4aaa17d2 100755 --- a/Source/StatisticsFunctions/arm_kullback_leibler_f64.c +++ b/Source/StatisticsFunctions/arm_kullback_leibler_f64.c @@ -46,7 +46,7 @@ */ -float64_t arm_kullback_leibler_f64(const float64_t * pSrcA, const float64_t * pSrcB, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float64_t arm_kullback_leibler_f64(const float64_t * pSrcA, const float64_t * pSrcB, uint32_t blockSize) { const float64_t *pInA, *pInB; uint32_t blkCnt; diff --git a/Source/StatisticsFunctions/arm_logsumexp_dot_prod_f16.c b/Source/StatisticsFunctions/arm_logsumexp_dot_prod_f16.c index a35ac0e85..f6966d020 100755 --- a/Source/StatisticsFunctions/arm_logsumexp_dot_prod_f16.c +++ b/Source/StatisticsFunctions/arm_logsumexp_dot_prod_f16.c @@ -64,7 +64,7 @@ */ -float16_t arm_logsumexp_dot_prod_f16(const float16_t * pSrcA, +ARM_DSP_ATTRIBUTE float16_t arm_logsumexp_dot_prod_f16(const float16_t * pSrcA, const float16_t * pSrcB, uint32_t blockSize, float16_t *pTmpBuffer) diff --git a/Source/StatisticsFunctions/arm_logsumexp_dot_prod_f32.c b/Source/StatisticsFunctions/arm_logsumexp_dot_prod_f32.c index d2a94dacd..033033cfc 100755 --- a/Source/StatisticsFunctions/arm_logsumexp_dot_prod_f32.c +++ b/Source/StatisticsFunctions/arm_logsumexp_dot_prod_f32.c @@ -51,7 +51,7 @@ */ -float32_t arm_logsumexp_dot_prod_f32(const float32_t * pSrcA, +ARM_DSP_ATTRIBUTE float32_t arm_logsumexp_dot_prod_f32(const float32_t * pSrcA, const float32_t * pSrcB, uint32_t blockSize, float32_t *pTmpBuffer) diff --git a/Source/StatisticsFunctions/arm_logsumexp_f16.c b/Source/StatisticsFunctions/arm_logsumexp_f16.c index 84d4843c0..f73c710eb 100755 --- a/Source/StatisticsFunctions/arm_logsumexp_f16.c +++ b/Source/StatisticsFunctions/arm_logsumexp_f16.c @@ -69,7 +69,7 @@ #include "arm_helium_utils.h" #include "arm_vec_math_f16.h" -float16_t arm_logsumexp_f16(const float16_t *in, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float16_t arm_logsumexp_f16(const float16_t *in, uint32_t blockSize) { float16_t maxVal; const float16_t *pIn; @@ -122,7 +122,7 @@ float16_t arm_logsumexp_f16(const float16_t *in, uint32_t blockSize) } #else -float16_t arm_logsumexp_f16(const float16_t *in, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float16_t arm_logsumexp_f16(const float16_t *in, uint32_t blockSize) { _Float16 maxVal; _Float16 tmp; diff --git a/Source/StatisticsFunctions/arm_logsumexp_f32.c b/Source/StatisticsFunctions/arm_logsumexp_f32.c index 72a5d3a44..9cc1e077d 100755 --- a/Source/StatisticsFunctions/arm_logsumexp_f32.c +++ b/Source/StatisticsFunctions/arm_logsumexp_f32.c @@ -66,7 +66,7 @@ #include "arm_helium_utils.h" #include "arm_vec_math.h" -float32_t arm_logsumexp_f32(const float32_t *in, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float32_t arm_logsumexp_f32(const float32_t *in, uint32_t blockSize) { float32_t maxVal; const float32_t *pIn; @@ -122,7 +122,7 @@ float32_t arm_logsumexp_f32(const float32_t *in, uint32_t blockSize) #if defined(ARM_MATH_NEON) && !defined(ARM_MATH_AUTOVECTORIZE) #include "NEMath.h" -float32_t arm_logsumexp_f32(const float32_t *in, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float32_t arm_logsumexp_f32(const float32_t *in, uint32_t blockSize) { float32_t maxVal; float32_t tmp; @@ -229,7 +229,7 @@ float32_t arm_logsumexp_f32(const float32_t *in, uint32_t blockSize) return(accum); } #else -float32_t arm_logsumexp_f32(const float32_t *in, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float32_t arm_logsumexp_f32(const float32_t *in, uint32_t blockSize) { float32_t maxVal; float32_t tmp; diff --git a/Source/StatisticsFunctions/arm_max_f16.c b/Source/StatisticsFunctions/arm_max_f16.c index 39d74a2c9..0113e83ab 100755 --- a/Source/StatisticsFunctions/arm_max_f16.c +++ b/Source/StatisticsFunctions/arm_max_f16.c @@ -54,7 +54,7 @@ #if defined(ARM_MATH_MVE_FLOAT16) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_max_f16( +ARM_DSP_ATTRIBUTE void arm_max_f16( const float16_t * pSrc, uint32_t blockSize, float16_t * pResult, @@ -138,7 +138,7 @@ void arm_max_f16( } #else -void arm_max_f16( +ARM_DSP_ATTRIBUTE void arm_max_f16( const float16_t * pSrc, uint32_t blockSize, float16_t * pResult, diff --git a/Source/StatisticsFunctions/arm_max_f32.c b/Source/StatisticsFunctions/arm_max_f32.c index 7a19d9697..a3f461bec 100644 --- a/Source/StatisticsFunctions/arm_max_f32.c +++ b/Source/StatisticsFunctions/arm_max_f32.c @@ -57,7 +57,7 @@ */ #if defined(ARM_MATH_MVEF) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_max_f32( +ARM_DSP_ATTRIBUTE void arm_max_f32( const float32_t * pSrc, uint32_t blockSize, float32_t * pResult, @@ -142,7 +142,7 @@ void arm_max_f32( #else #if defined(ARM_MATH_NEON) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_max_f32( +ARM_DSP_ATTRIBUTE void arm_max_f32( const float32_t * pSrc, uint32_t blockSize, float32_t * pResult, @@ -259,7 +259,7 @@ void arm_max_f32( *pIndex = outIndex; } #else -void arm_max_f32( +ARM_DSP_ATTRIBUTE void arm_max_f32( const float32_t * pSrc, uint32_t blockSize, float32_t * pResult, diff --git a/Source/StatisticsFunctions/arm_max_f64.c b/Source/StatisticsFunctions/arm_max_f64.c index db47a2a1c..97a8a0cb5 100644 --- a/Source/StatisticsFunctions/arm_max_f64.c +++ b/Source/StatisticsFunctions/arm_max_f64.c @@ -44,7 +44,7 @@ @param[out] pResult maximum value returned here @param[out] pIndex index of maximum value returned here */ -void arm_max_f64( +ARM_DSP_ATTRIBUTE void arm_max_f64( const float64_t * pSrc, uint32_t blockSize, float64_t * pResult, diff --git a/Source/StatisticsFunctions/arm_max_no_idx_f16.c b/Source/StatisticsFunctions/arm_max_no_idx_f16.c index 8cf28dfcc..482715fc2 100755 --- a/Source/StatisticsFunctions/arm_max_no_idx_f16.c +++ b/Source/StatisticsFunctions/arm_max_no_idx_f16.c @@ -53,7 +53,7 @@ #if defined(ARM_MATH_MVE_FLOAT16) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_max_no_idx_f16( +ARM_DSP_ATTRIBUTE void arm_max_no_idx_f16( const float16_t *pSrc, uint32_t blockSize, float16_t *pResult) @@ -108,7 +108,7 @@ void arm_max_no_idx_f16( #else -void arm_max_no_idx_f16( +ARM_DSP_ATTRIBUTE void arm_max_no_idx_f16( const float16_t *pSrc, uint32_t blockSize, float16_t *pResult) diff --git a/Source/StatisticsFunctions/arm_max_no_idx_f32.c b/Source/StatisticsFunctions/arm_max_no_idx_f32.c index 31a8fc88c..81466155b 100755 --- a/Source/StatisticsFunctions/arm_max_no_idx_f32.c +++ b/Source/StatisticsFunctions/arm_max_no_idx_f32.c @@ -50,7 +50,7 @@ #if defined(ARM_MATH_MVEF) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_max_no_idx_f32( +ARM_DSP_ATTRIBUTE void arm_max_no_idx_f32( const float32_t *pSrc, uint32_t blockSize, float32_t *pResult) @@ -105,7 +105,7 @@ void arm_max_no_idx_f32( #else -void arm_max_no_idx_f32( +ARM_DSP_ATTRIBUTE void arm_max_no_idx_f32( const float32_t *pSrc, uint32_t blockSize, float32_t *pResult) diff --git a/Source/StatisticsFunctions/arm_max_no_idx_f64.c b/Source/StatisticsFunctions/arm_max_no_idx_f64.c index 06f44418e..115c5985a 100644 --- a/Source/StatisticsFunctions/arm_max_no_idx_f64.c +++ b/Source/StatisticsFunctions/arm_max_no_idx_f64.c @@ -45,7 +45,7 @@ @param[out] pResult maximum value returned here */ #if defined(ARM_MATH_NEON) && defined(__aarch64__) -void arm_max_no_idx_f64( +ARM_DSP_ATTRIBUTE void arm_max_no_idx_f64( const float64_t * pSrc, uint32_t blockSize, float64_t * pResult) @@ -108,7 +108,7 @@ void arm_max_no_idx_f64( } #else -void arm_max_no_idx_f64( +ARM_DSP_ATTRIBUTE void arm_max_no_idx_f64( const float64_t *pSrc, uint32_t blockSize, float64_t *pResult) diff --git a/Source/StatisticsFunctions/arm_max_no_idx_q15.c b/Source/StatisticsFunctions/arm_max_no_idx_q15.c index 612d86998..da246293f 100755 --- a/Source/StatisticsFunctions/arm_max_no_idx_q15.c +++ b/Source/StatisticsFunctions/arm_max_no_idx_q15.c @@ -49,7 +49,7 @@ #include "arm_helium_utils.h" -void arm_max_no_idx_q15( +ARM_DSP_ATTRIBUTE void arm_max_no_idx_q15( const q15_t * pSrc, uint32_t blockSize, q15_t * pResult) @@ -101,7 +101,7 @@ void arm_max_no_idx_q15( } #else -void arm_max_no_idx_q15( +ARM_DSP_ATTRIBUTE void arm_max_no_idx_q15( const q15_t * pSrc, uint32_t blockSize, q15_t * pResult) diff --git a/Source/StatisticsFunctions/arm_max_no_idx_q31.c b/Source/StatisticsFunctions/arm_max_no_idx_q31.c index 2cee4b520..cb98c85ff 100755 --- a/Source/StatisticsFunctions/arm_max_no_idx_q31.c +++ b/Source/StatisticsFunctions/arm_max_no_idx_q31.c @@ -49,7 +49,7 @@ #include "arm_helium_utils.h" -void arm_max_no_idx_q31( +ARM_DSP_ATTRIBUTE void arm_max_no_idx_q31( const q31_t * pSrc, uint32_t blockSize, q31_t * pResult) @@ -101,7 +101,7 @@ void arm_max_no_idx_q31( } #else -void arm_max_no_idx_q31( +ARM_DSP_ATTRIBUTE void arm_max_no_idx_q31( const q31_t * pSrc, uint32_t blockSize, q31_t * pResult) diff --git a/Source/StatisticsFunctions/arm_max_no_idx_q7.c b/Source/StatisticsFunctions/arm_max_no_idx_q7.c index c05bd212d..0f826a5a8 100755 --- a/Source/StatisticsFunctions/arm_max_no_idx_q7.c +++ b/Source/StatisticsFunctions/arm_max_no_idx_q7.c @@ -49,7 +49,7 @@ #include "arm_helium_utils.h" -void arm_max_no_idx_q7( +ARM_DSP_ATTRIBUTE void arm_max_no_idx_q7( const q7_t * pSrc, uint32_t blockSize, q7_t * pResult) @@ -102,7 +102,7 @@ void arm_max_no_idx_q7( #else -void arm_max_no_idx_q7( +ARM_DSP_ATTRIBUTE void arm_max_no_idx_q7( const q7_t * pSrc, uint32_t blockSize, q7_t * pResult) diff --git a/Source/StatisticsFunctions/arm_max_q15.c b/Source/StatisticsFunctions/arm_max_q15.c index 33255891f..01d64ae1a 100644 --- a/Source/StatisticsFunctions/arm_max_q15.c +++ b/Source/StatisticsFunctions/arm_max_q15.c @@ -48,7 +48,7 @@ #include "arm_helium_utils.h" -void arm_max_q15( +ARM_DSP_ATTRIBUTE void arm_max_q15( const q15_t * pSrc, uint32_t blockSize, q15_t * pResult, @@ -98,7 +98,7 @@ void arm_max_q15( } #else -void arm_max_q15( +ARM_DSP_ATTRIBUTE void arm_max_q15( const q15_t * pSrc, uint32_t blockSize, q15_t * pResult, diff --git a/Source/StatisticsFunctions/arm_max_q31.c b/Source/StatisticsFunctions/arm_max_q31.c index 52b4eb74e..0284c33f9 100644 --- a/Source/StatisticsFunctions/arm_max_q31.c +++ b/Source/StatisticsFunctions/arm_max_q31.c @@ -48,7 +48,7 @@ #include "arm_helium_utils.h" -void arm_max_q31( +ARM_DSP_ATTRIBUTE void arm_max_q31( const q31_t * pSrc, uint32_t blockSize, q31_t * pResult, @@ -98,7 +98,7 @@ void arm_max_q31( } #else -void arm_max_q31( +ARM_DSP_ATTRIBUTE void arm_max_q31( const q31_t * pSrc, uint32_t blockSize, q31_t * pResult, diff --git a/Source/StatisticsFunctions/arm_max_q7.c b/Source/StatisticsFunctions/arm_max_q7.c index a363c631c..889f0f47b 100644 --- a/Source/StatisticsFunctions/arm_max_q7.c +++ b/Source/StatisticsFunctions/arm_max_q7.c @@ -97,7 +97,7 @@ static void arm_small_blk_max_q7( *pResult = maxValue; } -void arm_max_q7( +ARM_DSP_ATTRIBUTE void arm_max_q7( const q7_t * pSrc, uint32_t blockSize, q7_t * pResult, @@ -152,7 +152,7 @@ void arm_max_q7( } } #else -void arm_max_q7( +ARM_DSP_ATTRIBUTE void arm_max_q7( const q7_t * pSrc, uint32_t blockSize, q7_t * pResult, diff --git a/Source/StatisticsFunctions/arm_mean_f16.c b/Source/StatisticsFunctions/arm_mean_f16.c index 833ac8f0a..32da38650 100755 --- a/Source/StatisticsFunctions/arm_mean_f16.c +++ b/Source/StatisticsFunctions/arm_mean_f16.c @@ -63,7 +63,7 @@ #include "arm_helium_utils.h" -void arm_mean_f16( +ARM_DSP_ATTRIBUTE void arm_mean_f16( const float16_t * pSrc, uint32_t blockSize, float16_t * pResult) @@ -90,7 +90,7 @@ void arm_mean_f16( #else -void arm_mean_f16( +ARM_DSP_ATTRIBUTE void arm_mean_f16( const float16_t * pSrc, uint32_t blockSize, float16_t * pResult) diff --git a/Source/StatisticsFunctions/arm_mean_f32.c b/Source/StatisticsFunctions/arm_mean_f32.c index 0241185d2..2d2675c12 100644 --- a/Source/StatisticsFunctions/arm_mean_f32.c +++ b/Source/StatisticsFunctions/arm_mean_f32.c @@ -48,7 +48,7 @@ #include "arm_helium_utils.h" -void arm_mean_f32( +ARM_DSP_ATTRIBUTE void arm_mean_f32( const float32_t * pSrc, uint32_t blockSize, float32_t * pResult) @@ -89,7 +89,7 @@ void arm_mean_f32( #else #if defined(ARM_MATH_NEON_EXPERIMENTAL) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_mean_f32( +ARM_DSP_ATTRIBUTE void arm_mean_f32( const float32_t * pSrc, uint32_t blockSize, float32_t * pResult) @@ -138,7 +138,7 @@ void arm_mean_f32( *pResult = sum / (float32_t) blockSize; } #else -void arm_mean_f32( +ARM_DSP_ATTRIBUTE void arm_mean_f32( const float32_t * pSrc, uint32_t blockSize, float32_t * pResult) diff --git a/Source/StatisticsFunctions/arm_mean_f64.c b/Source/StatisticsFunctions/arm_mean_f64.c index 3a05dbfc7..935a999fc 100644 --- a/Source/StatisticsFunctions/arm_mean_f64.c +++ b/Source/StatisticsFunctions/arm_mean_f64.c @@ -47,7 +47,7 @@ #if defined(ARM_MATH_NEON) && defined(__aarch64__) -void arm_mean_f64( +ARM_DSP_ATTRIBUTE void arm_mean_f64( const float64_t * pSrc, uint32_t blockSize, float64_t * pResult) @@ -87,7 +87,7 @@ void arm_mean_f64( *pResult = (sum/blockSize); } #else -void arm_mean_f64( +ARM_DSP_ATTRIBUTE void arm_mean_f64( const float64_t * pSrc, uint32_t blockSize, float64_t * pResult) diff --git a/Source/StatisticsFunctions/arm_mean_q15.c b/Source/StatisticsFunctions/arm_mean_q15.c index 60feb202b..d88aacab2 100644 --- a/Source/StatisticsFunctions/arm_mean_q15.c +++ b/Source/StatisticsFunctions/arm_mean_q15.c @@ -53,7 +53,7 @@ */ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_mean_q15( +ARM_DSP_ATTRIBUTE void arm_mean_q15( const q15_t * pSrc, uint32_t blockSize, q15_t * pResult) @@ -93,7 +93,7 @@ void arm_mean_q15( *pResult = (q15_t) (sum / (int32_t) blockSize); } #else -void arm_mean_q15( +ARM_DSP_ATTRIBUTE void arm_mean_q15( const q15_t * pSrc, uint32_t blockSize, q15_t * pResult) diff --git a/Source/StatisticsFunctions/arm_mean_q31.c b/Source/StatisticsFunctions/arm_mean_q31.c index 650874154..ea3913507 100644 --- a/Source/StatisticsFunctions/arm_mean_q31.c +++ b/Source/StatisticsFunctions/arm_mean_q31.c @@ -52,7 +52,7 @@ Finally, the accumulator is truncated to yield a result of 1.31 format. */ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_mean_q31( +ARM_DSP_ATTRIBUTE void arm_mean_q31( const q31_t * pSrc, uint32_t blockSize, q31_t * pResult) @@ -90,7 +90,7 @@ void arm_mean_q31( *pResult = arm_div_int64_to_int32(sum, blockSize); } #else -void arm_mean_q31( +ARM_DSP_ATTRIBUTE void arm_mean_q31( const q31_t * pSrc, uint32_t blockSize, q31_t * pResult) diff --git a/Source/StatisticsFunctions/arm_mean_q7.c b/Source/StatisticsFunctions/arm_mean_q7.c index b12de30c0..e405ea6ef 100644 --- a/Source/StatisticsFunctions/arm_mean_q7.c +++ b/Source/StatisticsFunctions/arm_mean_q7.c @@ -54,7 +54,7 @@ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_mean_q7( +ARM_DSP_ATTRIBUTE void arm_mean_q7( const q7_t * pSrc, uint32_t blockSize, q7_t * pResult) @@ -92,7 +92,7 @@ void arm_mean_q7( *pResult = (q7_t) (sum / (int32_t) blockSize); } #else -void arm_mean_q7( +ARM_DSP_ATTRIBUTE void arm_mean_q7( const q7_t * pSrc, uint32_t blockSize, q7_t * pResult) diff --git a/Source/StatisticsFunctions/arm_min_f16.c b/Source/StatisticsFunctions/arm_min_f16.c index 5fcc03335..0236bcf8b 100755 --- a/Source/StatisticsFunctions/arm_min_f16.c +++ b/Source/StatisticsFunctions/arm_min_f16.c @@ -55,7 +55,7 @@ #if defined(ARM_MATH_MVE_FLOAT16) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_min_f16( +ARM_DSP_ATTRIBUTE void arm_min_f16( const float16_t * pSrc, uint32_t blockSize, float16_t * pResult, @@ -132,7 +132,7 @@ void arm_min_f16( #else -void arm_min_f16( +ARM_DSP_ATTRIBUTE void arm_min_f16( const float16_t * pSrc, uint32_t blockSize, float16_t * pResult, diff --git a/Source/StatisticsFunctions/arm_min_f32.c b/Source/StatisticsFunctions/arm_min_f32.c index 0708d7ecc..0e67eca85 100644 --- a/Source/StatisticsFunctions/arm_min_f32.c +++ b/Source/StatisticsFunctions/arm_min_f32.c @@ -60,7 +60,7 @@ #if defined(ARM_MATH_MVEF) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_min_f32( +ARM_DSP_ATTRIBUTE void arm_min_f32( const float32_t * pSrc, uint32_t blockSize, float32_t * pResult, @@ -144,7 +144,7 @@ void arm_min_f32( #else #if defined(ARM_MATH_NEON) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_min_f32( +ARM_DSP_ATTRIBUTE void arm_min_f32( const float32_t * pSrc, uint32_t blockSize, float32_t * pResult, @@ -257,7 +257,7 @@ void arm_min_f32( *pIndex = outIndex; } #else -void arm_min_f32( +ARM_DSP_ATTRIBUTE void arm_min_f32( const float32_t * pSrc, uint32_t blockSize, float32_t * pResult, diff --git a/Source/StatisticsFunctions/arm_min_f64.c b/Source/StatisticsFunctions/arm_min_f64.c index 42bf68844..1df1bb57d 100644 --- a/Source/StatisticsFunctions/arm_min_f64.c +++ b/Source/StatisticsFunctions/arm_min_f64.c @@ -44,7 +44,7 @@ @param[out] pResult minimum value returned here @param[out] pIndex index of minimum value returned here */ -void arm_min_f64( +ARM_DSP_ATTRIBUTE void arm_min_f64( const float64_t * pSrc, uint32_t blockSize, float64_t * pResult, diff --git a/Source/StatisticsFunctions/arm_min_no_idx_f16.c b/Source/StatisticsFunctions/arm_min_no_idx_f16.c index 0351dd708..34a0780e3 100755 --- a/Source/StatisticsFunctions/arm_min_no_idx_f16.c +++ b/Source/StatisticsFunctions/arm_min_no_idx_f16.c @@ -53,7 +53,7 @@ #if defined(ARM_MATH_MVE_FLOAT16) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_min_no_idx_f16( +ARM_DSP_ATTRIBUTE void arm_min_no_idx_f16( const float16_t *pSrc, uint32_t blockSize, float16_t *pResult) @@ -108,7 +108,7 @@ void arm_min_no_idx_f16( #else -void arm_min_no_idx_f16( +ARM_DSP_ATTRIBUTE void arm_min_no_idx_f16( const float16_t *pSrc, uint32_t blockSize, float16_t *pResult) diff --git a/Source/StatisticsFunctions/arm_min_no_idx_f32.c b/Source/StatisticsFunctions/arm_min_no_idx_f32.c index 29d1f57d3..0a3b1adef 100755 --- a/Source/StatisticsFunctions/arm_min_no_idx_f32.c +++ b/Source/StatisticsFunctions/arm_min_no_idx_f32.c @@ -50,7 +50,7 @@ #if defined(ARM_MATH_MVEF) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_min_no_idx_f32( +ARM_DSP_ATTRIBUTE void arm_min_no_idx_f32( const float32_t *pSrc, uint32_t blockSize, float32_t *pResult) @@ -105,7 +105,7 @@ void arm_min_no_idx_f32( #else -void arm_min_no_idx_f32( +ARM_DSP_ATTRIBUTE void arm_min_no_idx_f32( const float32_t *pSrc, uint32_t blockSize, float32_t *pResult) diff --git a/Source/StatisticsFunctions/arm_min_no_idx_f64.c b/Source/StatisticsFunctions/arm_min_no_idx_f64.c index c269c216f..70153aad0 100755 --- a/Source/StatisticsFunctions/arm_min_no_idx_f64.c +++ b/Source/StatisticsFunctions/arm_min_no_idx_f64.c @@ -44,7 +44,7 @@ @param[in] blockSize number of samples in input vector @param[out] pResult minimum value returned here */ -void arm_min_no_idx_f64( +ARM_DSP_ATTRIBUTE void arm_min_no_idx_f64( const float64_t *pSrc, uint32_t blockSize, float64_t *pResult) diff --git a/Source/StatisticsFunctions/arm_min_no_idx_q15.c b/Source/StatisticsFunctions/arm_min_no_idx_q15.c index f8d0f610e..17903cab4 100755 --- a/Source/StatisticsFunctions/arm_min_no_idx_q15.c +++ b/Source/StatisticsFunctions/arm_min_no_idx_q15.c @@ -49,7 +49,7 @@ #include "arm_helium_utils.h" -void arm_min_no_idx_q15( +ARM_DSP_ATTRIBUTE void arm_min_no_idx_q15( const q15_t * pSrc, uint32_t blockSize, q15_t * pResult) @@ -101,7 +101,7 @@ void arm_min_no_idx_q15( } #else -void arm_min_no_idx_q15( +ARM_DSP_ATTRIBUTE void arm_min_no_idx_q15( const q15_t * pSrc, uint32_t blockSize, q15_t * pResult) diff --git a/Source/StatisticsFunctions/arm_min_no_idx_q31.c b/Source/StatisticsFunctions/arm_min_no_idx_q31.c index 585a15c4c..6bf7f5e73 100755 --- a/Source/StatisticsFunctions/arm_min_no_idx_q31.c +++ b/Source/StatisticsFunctions/arm_min_no_idx_q31.c @@ -48,7 +48,7 @@ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) #include "arm_helium_utils.h" -void arm_min_no_idx_q31( +ARM_DSP_ATTRIBUTE void arm_min_no_idx_q31( const q31_t * pSrc, uint32_t blockSize, q31_t * pResult) @@ -100,7 +100,7 @@ void arm_min_no_idx_q31( } #else -void arm_min_no_idx_q31( +ARM_DSP_ATTRIBUTE void arm_min_no_idx_q31( const q31_t * pSrc, uint32_t blockSize, q31_t * pResult) diff --git a/Source/StatisticsFunctions/arm_min_no_idx_q7.c b/Source/StatisticsFunctions/arm_min_no_idx_q7.c index 7799495c4..96e3f15b7 100755 --- a/Source/StatisticsFunctions/arm_min_no_idx_q7.c +++ b/Source/StatisticsFunctions/arm_min_no_idx_q7.c @@ -48,7 +48,7 @@ #include "arm_helium_utils.h" -void arm_min_no_idx_q7( +ARM_DSP_ATTRIBUTE void arm_min_no_idx_q7( const q7_t * pSrc, uint32_t blockSize, q7_t * pResult) @@ -100,7 +100,7 @@ void arm_min_no_idx_q7( } #else -void arm_min_no_idx_q7( +ARM_DSP_ATTRIBUTE void arm_min_no_idx_q7( const q7_t * pSrc, uint32_t blockSize, q7_t * pResult) diff --git a/Source/StatisticsFunctions/arm_min_q15.c b/Source/StatisticsFunctions/arm_min_q15.c index 2fe387695..878d109ee 100644 --- a/Source/StatisticsFunctions/arm_min_q15.c +++ b/Source/StatisticsFunctions/arm_min_q15.c @@ -49,7 +49,7 @@ #include "arm_helium_utils.h" -void arm_min_q15( +ARM_DSP_ATTRIBUTE void arm_min_q15( const q15_t * pSrc, uint32_t blockSize, q15_t * pResult, @@ -99,7 +99,7 @@ void arm_min_q15( } #else -void arm_min_q15( +ARM_DSP_ATTRIBUTE void arm_min_q15( const q15_t * pSrc, uint32_t blockSize, q15_t * pResult, diff --git a/Source/StatisticsFunctions/arm_min_q31.c b/Source/StatisticsFunctions/arm_min_q31.c index 187ce7116..eeea06cc9 100644 --- a/Source/StatisticsFunctions/arm_min_q31.c +++ b/Source/StatisticsFunctions/arm_min_q31.c @@ -49,7 +49,7 @@ #include "arm_helium_utils.h" -void arm_min_q31( +ARM_DSP_ATTRIBUTE void arm_min_q31( const q31_t * pSrc, uint32_t blockSize, q31_t * pResult, @@ -99,7 +99,7 @@ void arm_min_q31( } #else -void arm_min_q31( +ARM_DSP_ATTRIBUTE void arm_min_q31( const q31_t * pSrc, uint32_t blockSize, q31_t * pResult, diff --git a/Source/StatisticsFunctions/arm_min_q7.c b/Source/StatisticsFunctions/arm_min_q7.c index be4d9c631..14ec7936a 100644 --- a/Source/StatisticsFunctions/arm_min_q7.c +++ b/Source/StatisticsFunctions/arm_min_q7.c @@ -126,7 +126,7 @@ static void arm_small_blk_min_q7( *pResult = minValue; } -void arm_min_q7( +ARM_DSP_ATTRIBUTE void arm_min_q7( const q7_t * pSrc, uint32_t blockSize, q7_t * pResult, @@ -180,7 +180,7 @@ void arm_min_q7( } } #else -void arm_min_q7( +ARM_DSP_ATTRIBUTE void arm_min_q7( const q7_t * pSrc, uint32_t blockSize, q7_t * pResult, diff --git a/Source/StatisticsFunctions/arm_mse_f16.c b/Source/StatisticsFunctions/arm_mse_f16.c index 777edbd86..c76d1dd24 100755 --- a/Source/StatisticsFunctions/arm_mse_f16.c +++ b/Source/StatisticsFunctions/arm_mse_f16.c @@ -50,7 +50,7 @@ #if defined(ARM_MATH_MVE_FLOAT16) #include "arm_helium_utils.h" -void arm_mse_f16( +ARM_DSP_ATTRIBUTE void arm_mse_f16( const float16_t * pSrcA, const float16_t * pSrcB, uint32_t blockSize, @@ -112,7 +112,7 @@ void arm_mse_f16( -void arm_mse_f16( +ARM_DSP_ATTRIBUTE void arm_mse_f16( const float16_t * pSrcA, const float16_t * pSrcB, uint32_t blockSize, diff --git a/Source/StatisticsFunctions/arm_mse_f32.c b/Source/StatisticsFunctions/arm_mse_f32.c index fab632a04..b4c676159 100755 --- a/Source/StatisticsFunctions/arm_mse_f32.c +++ b/Source/StatisticsFunctions/arm_mse_f32.c @@ -50,7 +50,7 @@ #if defined(ARM_MATH_MVEF) #include "arm_helium_utils.h" -void arm_mse_f32( +ARM_DSP_ATTRIBUTE void arm_mse_f32( const float32_t * pSrcA, const float32_t * pSrcB, uint32_t blockSize, @@ -104,7 +104,7 @@ void arm_mse_f32( #endif #if defined(ARM_MATH_NEON) -void arm_mse_f32( +ARM_DSP_ATTRIBUTE void arm_mse_f32( const float32_t * pSrcA, const float32_t * pSrcB, uint32_t blockSize, @@ -174,7 +174,7 @@ void arm_mse_f32( #if (!defined(ARM_MATH_MVEF) && !defined(ARM_MATH_NEON)) || defined(ARM_MATH_AUTOVECTORIZE) -void arm_mse_f32( +ARM_DSP_ATTRIBUTE void arm_mse_f32( const float32_t * pSrcA, const float32_t * pSrcB, uint32_t blockSize, diff --git a/Source/StatisticsFunctions/arm_mse_f64.c b/Source/StatisticsFunctions/arm_mse_f64.c index 108902df8..f646249ba 100755 --- a/Source/StatisticsFunctions/arm_mse_f64.c +++ b/Source/StatisticsFunctions/arm_mse_f64.c @@ -45,7 +45,7 @@ @param[out] pResult mean square error */ -void arm_mse_f64( +ARM_DSP_ATTRIBUTE void arm_mse_f64( const float64_t * pSrcA, const float64_t * pSrcB, uint32_t blockSize, diff --git a/Source/StatisticsFunctions/arm_mse_q15.c b/Source/StatisticsFunctions/arm_mse_q15.c index 85d427903..b6d84027b 100755 --- a/Source/StatisticsFunctions/arm_mse_q15.c +++ b/Source/StatisticsFunctions/arm_mse_q15.c @@ -46,7 +46,7 @@ @param[out] pResult mean square error */ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_mse_q15( +ARM_DSP_ATTRIBUTE void arm_mse_q15( const q15_t * pSrcA, const q15_t * pSrcB, uint32_t blockSize, @@ -99,7 +99,7 @@ void arm_mse_q15( *pResult = (q15_t) __SSAT((q31_t) (sum / blockSize)>>13, 16); } #else -void arm_mse_q15( +ARM_DSP_ATTRIBUTE void arm_mse_q15( const q15_t * pSrcA, const q15_t * pSrcB, uint32_t blockSize, diff --git a/Source/StatisticsFunctions/arm_mse_q31.c b/Source/StatisticsFunctions/arm_mse_q31.c index d09a81bc0..8451bfd0d 100755 --- a/Source/StatisticsFunctions/arm_mse_q31.c +++ b/Source/StatisticsFunctions/arm_mse_q31.c @@ -46,7 +46,7 @@ @param[out] pResult mean square error */ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_mse_q31( +ARM_DSP_ATTRIBUTE void arm_mse_q31( const q31_t * pSrcA, const q31_t * pSrcB, uint32_t blockSize, @@ -101,7 +101,7 @@ void arm_mse_q31( } #else -void arm_mse_q31( +ARM_DSP_ATTRIBUTE void arm_mse_q31( const q31_t * pSrcA, const q31_t * pSrcB, uint32_t blockSize, diff --git a/Source/StatisticsFunctions/arm_mse_q7.c b/Source/StatisticsFunctions/arm_mse_q7.c index 70377ffc7..6bafb9bb6 100755 --- a/Source/StatisticsFunctions/arm_mse_q7.c +++ b/Source/StatisticsFunctions/arm_mse_q7.c @@ -52,7 +52,7 @@ @param[out] pResult mean square error */ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_mse_q7( +ARM_DSP_ATTRIBUTE void arm_mse_q7( const q7_t * pSrcA, const q7_t * pSrcB, uint32_t blockSize, @@ -104,7 +104,7 @@ void arm_mse_q7( *pResult = (q7_t) __SSAT((q15_t) (sum / blockSize)>>5, 8); } #else -void arm_mse_q7( +ARM_DSP_ATTRIBUTE void arm_mse_q7( const q7_t * pSrcA, const q7_t * pSrcB, uint32_t blockSize, diff --git a/Source/StatisticsFunctions/arm_power_f16.c b/Source/StatisticsFunctions/arm_power_f16.c index 70e3216fc..8401c0694 100755 --- a/Source/StatisticsFunctions/arm_power_f16.c +++ b/Source/StatisticsFunctions/arm_power_f16.c @@ -52,7 +52,7 @@ #include "arm_helium_utils.h" -void arm_power_f16( +ARM_DSP_ATTRIBUTE void arm_power_f16( const float16_t * pSrc, uint32_t blockSize, float16_t * pResult) @@ -81,7 +81,7 @@ void arm_power_f16( } #else -void arm_power_f16( +ARM_DSP_ATTRIBUTE void arm_power_f16( const float16_t * pSrc, uint32_t blockSize, float16_t * pResult) diff --git a/Source/StatisticsFunctions/arm_power_f32.c b/Source/StatisticsFunctions/arm_power_f32.c index 73499f0bc..0aa583138 100644 --- a/Source/StatisticsFunctions/arm_power_f32.c +++ b/Source/StatisticsFunctions/arm_power_f32.c @@ -64,7 +64,7 @@ #include "arm_helium_utils.h" -void arm_power_f32( +ARM_DSP_ATTRIBUTE void arm_power_f32( const float32_t * pSrc, uint32_t blockSize, float32_t * pResult) @@ -110,7 +110,7 @@ void arm_power_f32( } #else #if defined(ARM_MATH_NEON) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_power_f32( +ARM_DSP_ATTRIBUTE void arm_power_f32( const float32_t * pSrc, uint32_t blockSize, float32_t * pResult) @@ -160,7 +160,7 @@ void arm_power_f32( *pResult = sum; } #else -void arm_power_f32( +ARM_DSP_ATTRIBUTE void arm_power_f32( const float32_t * pSrc, uint32_t blockSize, float32_t * pResult) diff --git a/Source/StatisticsFunctions/arm_power_f64.c b/Source/StatisticsFunctions/arm_power_f64.c index 52616a817..22fb7b90d 100644 --- a/Source/StatisticsFunctions/arm_power_f64.c +++ b/Source/StatisticsFunctions/arm_power_f64.c @@ -44,7 +44,7 @@ @param[out] pResult sum of the squares value returned here */ #if defined(ARM_MATH_NEON) && defined(__aarch64__) -void arm_power_f64( +ARM_DSP_ATTRIBUTE void arm_power_f64( const float64_t * pSrc, uint32_t blockSize, float64_t * pResult) @@ -94,7 +94,7 @@ void arm_power_f64( *pResult = sum; } #else -void arm_power_f64( +ARM_DSP_ATTRIBUTE void arm_power_f64( const float64_t * pSrc, uint32_t blockSize, float64_t * pResult) diff --git a/Source/StatisticsFunctions/arm_power_q15.c b/Source/StatisticsFunctions/arm_power_q15.c index 84f08f695..8adcb6e87 100644 --- a/Source/StatisticsFunctions/arm_power_q15.c +++ b/Source/StatisticsFunctions/arm_power_q15.c @@ -54,7 +54,7 @@ */ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_power_q15( +ARM_DSP_ATTRIBUTE void arm_power_q15( const q15_t * pSrc, uint32_t blockSize, q63_t * pResult) @@ -97,7 +97,7 @@ void arm_power_q15( *pResult = sum; } #else -void arm_power_q15( +ARM_DSP_ATTRIBUTE void arm_power_q15( const q15_t * pSrc, uint32_t blockSize, q63_t * pResult) diff --git a/Source/StatisticsFunctions/arm_power_q31.c b/Source/StatisticsFunctions/arm_power_q31.c index 9d02076b8..832fade57 100644 --- a/Source/StatisticsFunctions/arm_power_q31.c +++ b/Source/StatisticsFunctions/arm_power_q31.c @@ -54,7 +54,7 @@ Finally, the return result is in 16.48 format. */ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_power_q31( +ARM_DSP_ATTRIBUTE void arm_power_q31( const q31_t * pSrc, uint32_t blockSize, q63_t * pResult) @@ -97,7 +97,7 @@ void arm_power_q31( *pResult = asrl(sum, 6); } #else -void arm_power_q31( +ARM_DSP_ATTRIBUTE void arm_power_q31( const q31_t * pSrc, uint32_t blockSize, q63_t * pResult) diff --git a/Source/StatisticsFunctions/arm_power_q7.c b/Source/StatisticsFunctions/arm_power_q7.c index 10b8b4bf5..aa08e74c6 100644 --- a/Source/StatisticsFunctions/arm_power_q7.c +++ b/Source/StatisticsFunctions/arm_power_q7.c @@ -53,7 +53,7 @@ Finally, the return result is in 18.14 format. */ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_power_q7( +ARM_DSP_ATTRIBUTE void arm_power_q7( const q7_t * pSrc, uint32_t blockSize, q31_t * pResult) @@ -96,7 +96,7 @@ void arm_power_q7( *pResult = sum; } #else -void arm_power_q7( +ARM_DSP_ATTRIBUTE void arm_power_q7( const q7_t * pSrc, uint32_t blockSize, q31_t * pResult) diff --git a/Source/StatisticsFunctions/arm_rms_f16.c b/Source/StatisticsFunctions/arm_rms_f16.c index 26b289fd9..74f91faab 100755 --- a/Source/StatisticsFunctions/arm_rms_f16.c +++ b/Source/StatisticsFunctions/arm_rms_f16.c @@ -51,7 +51,7 @@ #if defined(ARM_MATH_MVE_FLOAT16) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_rms_f16( +ARM_DSP_ATTRIBUTE void arm_rms_f16( const float16_t * pSrc, uint32_t blockSize, float16_t * pResult) @@ -65,7 +65,7 @@ void arm_rms_f16( } #else -void arm_rms_f16( +ARM_DSP_ATTRIBUTE void arm_rms_f16( const float16_t * pSrc, uint32_t blockSize, float16_t * pResult) diff --git a/Source/StatisticsFunctions/arm_rms_f32.c b/Source/StatisticsFunctions/arm_rms_f32.c index f9c75c9be..adc7fe06f 100644 --- a/Source/StatisticsFunctions/arm_rms_f32.c +++ b/Source/StatisticsFunctions/arm_rms_f32.c @@ -58,7 +58,7 @@ */ #if defined(ARM_MATH_MVEF) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_rms_f32( +ARM_DSP_ATTRIBUTE void arm_rms_f32( const float32_t * pSrc, uint32_t blockSize, float32_t * pResult) @@ -72,7 +72,7 @@ void arm_rms_f32( } #else #if defined(ARM_MATH_NEON) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_rms_f32( +ARM_DSP_ATTRIBUTE void arm_rms_f32( const float32_t * pSrc, uint32_t blockSize, float32_t * pResult) @@ -123,7 +123,7 @@ void arm_rms_f32( arm_sqrt_f32(sum / (float32_t) blockSize, pResult); } #else -void arm_rms_f32( +ARM_DSP_ATTRIBUTE void arm_rms_f32( const float32_t * pSrc, uint32_t blockSize, float32_t * pResult) diff --git a/Source/StatisticsFunctions/arm_rms_q15.c b/Source/StatisticsFunctions/arm_rms_q15.c index 0bf8169b4..ea7b41e42 100644 --- a/Source/StatisticsFunctions/arm_rms_q15.c +++ b/Source/StatisticsFunctions/arm_rms_q15.c @@ -54,7 +54,7 @@ 15 bits, and then saturated to yield a result in 1.15 format. */ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_rms_q15( +ARM_DSP_ATTRIBUTE void arm_rms_q15( const q15_t * pSrc, uint32_t blockSize, q15_t * pResult) @@ -68,7 +68,7 @@ void arm_rms_q15( arm_sqrt_q15(normalizedPower, pResult); } #else -void arm_rms_q15( +ARM_DSP_ATTRIBUTE void arm_rms_q15( const q15_t * pSrc, uint32_t blockSize, q15_t * pResult) diff --git a/Source/StatisticsFunctions/arm_rms_q31.c b/Source/StatisticsFunctions/arm_rms_q31.c index 364c164a5..93720050f 100644 --- a/Source/StatisticsFunctions/arm_rms_q31.c +++ b/Source/StatisticsFunctions/arm_rms_q31.c @@ -57,7 +57,7 @@ */ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_rms_q31( +ARM_DSP_ATTRIBUTE void arm_rms_q31( const q31_t * pSrc, uint32_t blockSize, q31_t * pResult) @@ -72,7 +72,7 @@ void arm_rms_q31( } #else -void arm_rms_q31( +ARM_DSP_ATTRIBUTE void arm_rms_q31( const q31_t * pSrc, uint32_t blockSize, q31_t * pResult) diff --git a/Source/StatisticsFunctions/arm_std_f16.c b/Source/StatisticsFunctions/arm_std_f16.c index be0a77942..398d0ca53 100755 --- a/Source/StatisticsFunctions/arm_std_f16.c +++ b/Source/StatisticsFunctions/arm_std_f16.c @@ -48,7 +48,7 @@ @param[in] blockSize number of samples in input vector @param[out] pResult standard deviation value returned here */ -void arm_std_f16( +ARM_DSP_ATTRIBUTE void arm_std_f16( const float16_t * pSrc, uint32_t blockSize, float16_t * pResult) diff --git a/Source/StatisticsFunctions/arm_std_f32.c b/Source/StatisticsFunctions/arm_std_f32.c index 05438a0dc..bce300d57 100644 --- a/Source/StatisticsFunctions/arm_std_f32.c +++ b/Source/StatisticsFunctions/arm_std_f32.c @@ -67,7 +67,7 @@ @param[in] blockSize number of samples in input vector @param[out] pResult standard deviation value returned here */ -void arm_std_f32( +ARM_DSP_ATTRIBUTE void arm_std_f32( const float32_t * pSrc, uint32_t blockSize, float32_t * pResult) diff --git a/Source/StatisticsFunctions/arm_std_f64.c b/Source/StatisticsFunctions/arm_std_f64.c index fdc7c610d..55e3e1599 100644 --- a/Source/StatisticsFunctions/arm_std_f64.c +++ b/Source/StatisticsFunctions/arm_std_f64.c @@ -43,7 +43,7 @@ @param[in] blockSize number of samples in input vector @param[out] pResult standard deviation value returned here */ -void arm_std_f64( +ARM_DSP_ATTRIBUTE void arm_std_f64( const float64_t * pSrc, uint32_t blockSize, float64_t * pResult) diff --git a/Source/StatisticsFunctions/arm_std_q15.c b/Source/StatisticsFunctions/arm_std_q15.c index a94a3e12e..11623437c 100644 --- a/Source/StatisticsFunctions/arm_std_q15.c +++ b/Source/StatisticsFunctions/arm_std_q15.c @@ -54,7 +54,7 @@ 15 bits, and then saturated to yield a result in 1.15 format. */ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_std_q15( +ARM_DSP_ATTRIBUTE void arm_std_q15( const q15_t * pSrc, uint32_t blockSize, q15_t * pResult) @@ -65,7 +65,7 @@ void arm_std_q15( arm_sqrt_q15(var,pResult); } #else -void arm_std_q15( +ARM_DSP_ATTRIBUTE void arm_std_q15( const q15_t * pSrc, uint32_t blockSize, q15_t * pResult) diff --git a/Source/StatisticsFunctions/arm_std_q31.c b/Source/StatisticsFunctions/arm_std_q31.c index 8ac868d51..abff3ff82 100644 --- a/Source/StatisticsFunctions/arm_std_q31.c +++ b/Source/StatisticsFunctions/arm_std_q31.c @@ -57,7 +57,7 @@ Finally, the 18.46 accumulator is right shifted by 15 bits to yield a 1.31 format value. */ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_std_q31( +ARM_DSP_ATTRIBUTE void arm_std_q31( const q31_t * pSrc, uint32_t blockSize, q31_t * pResult) @@ -68,7 +68,7 @@ void arm_std_q31( arm_sqrt_q31(var, pResult); } #else -void arm_std_q31( +ARM_DSP_ATTRIBUTE void arm_std_q31( const q31_t * pSrc, uint32_t blockSize, q31_t * pResult) diff --git a/Source/StatisticsFunctions/arm_var_f16.c b/Source/StatisticsFunctions/arm_var_f16.c index a40dce95d..8e74ef9ad 100755 --- a/Source/StatisticsFunctions/arm_var_f16.c +++ b/Source/StatisticsFunctions/arm_var_f16.c @@ -53,7 +53,7 @@ #include "arm_helium_utils.h" -void arm_var_f16( +ARM_DSP_ATTRIBUTE void arm_var_f16( const float16_t * pSrc, uint32_t blockSize, float16_t * pResult) @@ -92,7 +92,7 @@ void arm_var_f16( } #else -void arm_var_f16( +ARM_DSP_ATTRIBUTE void arm_var_f16( const float16_t * pSrc, uint32_t blockSize, float16_t * pResult) diff --git a/Source/StatisticsFunctions/arm_var_f32.c b/Source/StatisticsFunctions/arm_var_f32.c index e6cd45f45..c11082aaa 100644 --- a/Source/StatisticsFunctions/arm_var_f32.c +++ b/Source/StatisticsFunctions/arm_var_f32.c @@ -62,7 +62,7 @@ #include "arm_helium_utils.h" -void arm_var_f32( +ARM_DSP_ATTRIBUTE void arm_var_f32( const float32_t * pSrc, uint32_t blockSize, float32_t * pResult) @@ -117,7 +117,7 @@ void arm_var_f32( } #else #if defined(ARM_MATH_NEON_EXPERIMENTAL) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_var_f32( +ARM_DSP_ATTRIBUTE void arm_var_f32( const float32_t * pSrc, uint32_t blockSize, float32_t * pResult) @@ -178,7 +178,7 @@ void arm_var_f32( } #else -void arm_var_f32( +ARM_DSP_ATTRIBUTE void arm_var_f32( const float32_t * pSrc, uint32_t blockSize, float32_t * pResult) diff --git a/Source/StatisticsFunctions/arm_var_f64.c b/Source/StatisticsFunctions/arm_var_f64.c index f1538ef6b..bd7afa15d 100644 --- a/Source/StatisticsFunctions/arm_var_f64.c +++ b/Source/StatisticsFunctions/arm_var_f64.c @@ -43,7 +43,7 @@ @param[in] blockSize number of samples in input vector @param[out] pResult variance value returned here */ -void arm_var_f64( +ARM_DSP_ATTRIBUTE void arm_var_f64( const float64_t * pSrc, uint32_t blockSize, float64_t * pResult) diff --git a/Source/StatisticsFunctions/arm_var_q15.c b/Source/StatisticsFunctions/arm_var_q15.c index bba78963c..9ff39cd7c 100644 --- a/Source/StatisticsFunctions/arm_var_q15.c +++ b/Source/StatisticsFunctions/arm_var_q15.c @@ -54,7 +54,7 @@ 15 bits, and then saturated to yield a result in 1.15 format. */ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_var_q15( +ARM_DSP_ATTRIBUTE void arm_var_q15( const q15_t * pSrc, uint32_t blockSize, q15_t * pResult) @@ -119,7 +119,7 @@ void arm_var_q15( *pResult = (meanOfSquares - squareOfMean) >> 15; } #else -void arm_var_q15( +ARM_DSP_ATTRIBUTE void arm_var_q15( const q15_t * pSrc, uint32_t blockSize, q15_t * pResult) diff --git a/Source/StatisticsFunctions/arm_var_q31.c b/Source/StatisticsFunctions/arm_var_q31.c index 2a0b8448e..b16897b84 100644 --- a/Source/StatisticsFunctions/arm_var_q31.c +++ b/Source/StatisticsFunctions/arm_var_q31.c @@ -57,7 +57,7 @@ Finally, the 18.46 accumulator is right shifted by 15 bits to yield a 1.31 format value. */ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_var_q31( +ARM_DSP_ATTRIBUTE void arm_var_q31( const q31_t * pSrc, uint32_t blockSize, q31_t * pResult) @@ -124,7 +124,7 @@ void arm_var_q31( *pResult = asrl(meanOfSquares - squareOfMean, 15U); } #else -void arm_var_q31( +ARM_DSP_ATTRIBUTE void arm_var_q31( const q31_t * pSrc, uint32_t blockSize, q31_t * pResult) diff --git a/Source/SupportFunctions/arm_barycenter_f16.c b/Source/SupportFunctions/arm_barycenter_f16.c index 6fc6622aa..b666cca1a 100755 --- a/Source/SupportFunctions/arm_barycenter_f16.c +++ b/Source/SupportFunctions/arm_barycenter_f16.c @@ -63,7 +63,7 @@ #if defined(ARM_MATH_MVE_FLOAT16) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_barycenter_f16(const float16_t *in, +ARM_DSP_ATTRIBUTE void arm_barycenter_f16(const float16_t *in, const float16_t *weights, float16_t *out, uint32_t nbVectors, @@ -206,7 +206,7 @@ void arm_barycenter_f16(const float16_t *in, } } #else -void arm_barycenter_f16(const float16_t *in, const float16_t *weights, float16_t *out, uint32_t nbVectors,uint32_t vecDim) +ARM_DSP_ATTRIBUTE void arm_barycenter_f16(const float16_t *in, const float16_t *weights, float16_t *out, uint32_t nbVectors,uint32_t vecDim) { const float16_t *pIn,*pW; diff --git a/Source/SupportFunctions/arm_barycenter_f32.c b/Source/SupportFunctions/arm_barycenter_f32.c index 18eb52de7..7670a8cd8 100755 --- a/Source/SupportFunctions/arm_barycenter_f32.c +++ b/Source/SupportFunctions/arm_barycenter_f32.c @@ -50,7 +50,7 @@ */ #if defined(ARM_MATH_MVEF) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_barycenter_f32(const float32_t *in, +ARM_DSP_ATTRIBUTE void arm_barycenter_f32(const float32_t *in, const float32_t *weights, float32_t *out, uint32_t nbVectors, @@ -196,7 +196,7 @@ void arm_barycenter_f32(const float32_t *in, #if defined(ARM_MATH_NEON) #include "NEMath.h" -void arm_barycenter_f32(const float32_t *in, const float32_t *weights, float32_t *out, uint32_t nbVectors,uint32_t vecDim) +ARM_DSP_ATTRIBUTE void arm_barycenter_f32(const float32_t *in, const float32_t *weights, float32_t *out, uint32_t nbVectors,uint32_t vecDim) { const float32_t *pIn,*pW, *pIn1, *pIn2, *pIn3, *pIn4; @@ -349,7 +349,7 @@ void arm_barycenter_f32(const float32_t *in, const float32_t *weights, float32_t } #else -void arm_barycenter_f32(const float32_t *in, const float32_t *weights, float32_t *out, uint32_t nbVectors,uint32_t vecDim) +ARM_DSP_ATTRIBUTE void arm_barycenter_f32(const float32_t *in, const float32_t *weights, float32_t *out, uint32_t nbVectors,uint32_t vecDim) { const float32_t *pIn,*pW; diff --git a/Source/SupportFunctions/arm_bitonic_sort_f32.c b/Source/SupportFunctions/arm_bitonic_sort_f32.c index e9612b1bc..b3c60e5d7 100644 --- a/Source/SupportFunctions/arm_bitonic_sort_f32.c +++ b/Source/SupportFunctions/arm_bitonic_sort_f32.c @@ -909,8 +909,8 @@ static float32x4x2_t arm_bitonic_sort_8_f32(float32x4_t a, float32x4_t b, uint8_ * @param[out] pDst points to the block of output data * @param[in] blockSize number of samples to process. */ -void arm_bitonic_sort_f32( -const arm_sort_instance_f32 * S, +ARM_DSP_ATTRIBUTE void arm_bitonic_sort_f32( +ARM_DSP_ATTRIBUTE const arm_sort_instance_f32 * S, float32_t * pSrc, float32_t * pDst, uint32_t blockSize) diff --git a/Source/SupportFunctions/arm_bubble_sort_f32.c b/Source/SupportFunctions/arm_bubble_sort_f32.c index 640778de4..6930838ff 100644 --- a/Source/SupportFunctions/arm_bubble_sort_f32.c +++ b/Source/SupportFunctions/arm_bubble_sort_f32.c @@ -57,7 +57,7 @@ * function, a memcpy of the source vector is performed */ -void arm_bubble_sort_f32( +ARM_DSP_ATTRIBUTE void arm_bubble_sort_f32( const arm_sort_instance_f32 * S, float32_t * pSrc, float32_t * pDst, diff --git a/Source/SupportFunctions/arm_copy_f16.c b/Source/SupportFunctions/arm_copy_f16.c index 7e8e659ba..1bb6678ba 100755 --- a/Source/SupportFunctions/arm_copy_f16.c +++ b/Source/SupportFunctions/arm_copy_f16.c @@ -49,7 +49,7 @@ */ #if defined(ARM_MATH_MVE_FLOAT16) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_copy_f16( +ARM_DSP_ATTRIBUTE void arm_copy_f16( const float16_t * pSrc, float16_t * pDst, uint32_t blockSize) @@ -72,7 +72,7 @@ void arm_copy_f16( #else -void arm_copy_f16( +ARM_DSP_ATTRIBUTE void arm_copy_f16( const float16_t * pSrc, float16_t * pDst, uint32_t blockSize) diff --git a/Source/SupportFunctions/arm_copy_f32.c b/Source/SupportFunctions/arm_copy_f32.c index 44eef331c..2dd9e51a7 100644 --- a/Source/SupportFunctions/arm_copy_f32.c +++ b/Source/SupportFunctions/arm_copy_f32.c @@ -57,7 +57,7 @@ */ #if defined(ARM_MATH_MVEF) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_copy_f32( +ARM_DSP_ATTRIBUTE void arm_copy_f32( const float32_t * pSrc, float32_t * pDst, uint32_t blockSize) @@ -95,7 +95,7 @@ void arm_copy_f32( #else #if defined(ARM_MATH_NEON_EXPERIMENTAL) -void arm_copy_f32( +ARM_DSP_ATTRIBUTE void arm_copy_f32( const float32_t * pSrc, float32_t * pDst, uint32_t blockSize) @@ -136,7 +136,7 @@ void arm_copy_f32( } } #else -void arm_copy_f32( +ARM_DSP_ATTRIBUTE void arm_copy_f32( const float32_t * pSrc, float32_t * pDst, uint32_t blockSize) diff --git a/Source/SupportFunctions/arm_copy_f64.c b/Source/SupportFunctions/arm_copy_f64.c index c9312781f..976782f10 100644 --- a/Source/SupportFunctions/arm_copy_f64.c +++ b/Source/SupportFunctions/arm_copy_f64.c @@ -43,7 +43,7 @@ @param[out] pDst points to output vector @param[in] blockSize number of samples in each vector */ -void arm_copy_f64( +ARM_DSP_ATTRIBUTE void arm_copy_f64( const float64_t * pSrc, float64_t * pDst, uint32_t blockSize) diff --git a/Source/SupportFunctions/arm_copy_q15.c b/Source/SupportFunctions/arm_copy_q15.c index 19e593e36..5ccc5f736 100644 --- a/Source/SupportFunctions/arm_copy_q15.c +++ b/Source/SupportFunctions/arm_copy_q15.c @@ -44,7 +44,7 @@ @param[in] blockSize number of samples in each vector */ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_copy_q15( +ARM_DSP_ATTRIBUTE void arm_copy_q15( const q15_t * pSrc, q15_t * pDst, uint32_t blockSize) @@ -77,7 +77,7 @@ void arm_copy_q15( } } #else -void arm_copy_q15( +ARM_DSP_ATTRIBUTE void arm_copy_q15( const q15_t * pSrc, q15_t * pDst, uint32_t blockSize) diff --git a/Source/SupportFunctions/arm_copy_q31.c b/Source/SupportFunctions/arm_copy_q31.c index dba1a1b40..5fc607351 100644 --- a/Source/SupportFunctions/arm_copy_q31.c +++ b/Source/SupportFunctions/arm_copy_q31.c @@ -44,7 +44,7 @@ @param[in] blockSize number of samples in each vector */ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_copy_q31( +ARM_DSP_ATTRIBUTE void arm_copy_q31( const q31_t * pSrc, q31_t * pDst, uint32_t blockSize) @@ -80,7 +80,7 @@ void arm_copy_q31( } #else -void arm_copy_q31( +ARM_DSP_ATTRIBUTE void arm_copy_q31( const q31_t * pSrc, q31_t * pDst, uint32_t blockSize) diff --git a/Source/SupportFunctions/arm_copy_q7.c b/Source/SupportFunctions/arm_copy_q7.c index 2647e521c..491f1d8aa 100644 --- a/Source/SupportFunctions/arm_copy_q7.c +++ b/Source/SupportFunctions/arm_copy_q7.c @@ -44,7 +44,7 @@ @param[in] blockSize number of samples in each vector */ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_copy_q7( +ARM_DSP_ATTRIBUTE void arm_copy_q7( const q7_t * pSrc, q7_t * pDst, uint32_t blockSize) @@ -80,7 +80,7 @@ void arm_copy_q7( } #else -void arm_copy_q7( +ARM_DSP_ATTRIBUTE void arm_copy_q7( const q7_t * pSrc, q7_t * pDst, uint32_t blockSize) diff --git a/Source/SupportFunctions/arm_f16_to_f64.c b/Source/SupportFunctions/arm_f16_to_f64.c index 23d0973ce..e6f3b5c10 100644 --- a/Source/SupportFunctions/arm_f16_to_f64.c +++ b/Source/SupportFunctions/arm_f16_to_f64.c @@ -47,7 +47,7 @@ */ -void arm_f16_to_f64( +ARM_DSP_ATTRIBUTE void arm_f16_to_f64( const float16_t * pSrc, float64_t * pDst, uint32_t blockSize) diff --git a/Source/SupportFunctions/arm_f16_to_float.c b/Source/SupportFunctions/arm_f16_to_float.c index f9b609693..10378ab05 100755 --- a/Source/SupportFunctions/arm_f16_to_float.c +++ b/Source/SupportFunctions/arm_f16_to_float.c @@ -58,7 +58,7 @@ #if defined(ARM_MATH_MVE_FLOAT16) && !defined(ARM_MATH_AUTOVECTORIZE) && !defined(__CMSIS_GCC_H) -void arm_f16_to_float( +ARM_DSP_ATTRIBUTE void arm_f16_to_float( const float16_t * pSrc, float32_t * pDst, uint32_t blockSize) @@ -100,7 +100,7 @@ void arm_f16_to_float( } #else -void arm_f16_to_float( +ARM_DSP_ATTRIBUTE void arm_f16_to_float( const float16_t * pSrc, float32_t * pDst, uint32_t blockSize) diff --git a/Source/SupportFunctions/arm_f16_to_q15.c b/Source/SupportFunctions/arm_f16_to_q15.c index 8ecd4763b..53a3b9242 100755 --- a/Source/SupportFunctions/arm_f16_to_q15.c +++ b/Source/SupportFunctions/arm_f16_to_q15.c @@ -63,7 +63,7 @@ #if defined(ARM_MATH_MVE_FLOAT16) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_f16_to_q15( +ARM_DSP_ATTRIBUTE void arm_f16_to_q15( const float16_t * pSrc, q15_t * pDst, uint32_t blockSize) @@ -95,7 +95,7 @@ void arm_f16_to_q15( #else -void arm_f16_to_q15( +ARM_DSP_ATTRIBUTE void arm_f16_to_q15( const float16_t * pSrc, q15_t * pDst, uint32_t blockSize) diff --git a/Source/SupportFunctions/arm_f64_to_f16.c b/Source/SupportFunctions/arm_f64_to_f16.c index 6169e6c33..e3576252b 100644 --- a/Source/SupportFunctions/arm_f64_to_f16.c +++ b/Source/SupportFunctions/arm_f64_to_f16.c @@ -52,7 +52,7 @@ */ -void arm_f64_to_f16( +ARM_DSP_ATTRIBUTE void arm_f64_to_f16( const float64_t * pSrc, float16_t * pDst, uint32_t blockSize) diff --git a/Source/SupportFunctions/arm_f64_to_float.c b/Source/SupportFunctions/arm_f64_to_float.c index 0266352f4..89e6ebb49 100644 --- a/Source/SupportFunctions/arm_f64_to_float.c +++ b/Source/SupportFunctions/arm_f64_to_float.c @@ -47,7 +47,7 @@ */ -void arm_f64_to_float( +ARM_DSP_ATTRIBUTE void arm_f64_to_float( const float64_t * pSrc, float32_t * pDst, uint32_t blockSize) diff --git a/Source/SupportFunctions/arm_f64_to_q15.c b/Source/SupportFunctions/arm_f64_to_q15.c index f08067205..2a2901f57 100644 --- a/Source/SupportFunctions/arm_f64_to_q15.c +++ b/Source/SupportFunctions/arm_f64_to_q15.c @@ -58,7 +58,7 @@ defined in the preprocessor section of project options. */ -void arm_f64_to_q15( +ARM_DSP_ATTRIBUTE void arm_f64_to_q15( const float64_t * pSrc, q15_t * pDst, uint32_t blockSize) diff --git a/Source/SupportFunctions/arm_f64_to_q31.c b/Source/SupportFunctions/arm_f64_to_q31.c index e0b0ffdb3..8e09b03a5 100644 --- a/Source/SupportFunctions/arm_f64_to_q31.c +++ b/Source/SupportFunctions/arm_f64_to_q31.c @@ -60,7 +60,7 @@ */ -void arm_f64_to_q31( +ARM_DSP_ATTRIBUTE void arm_f64_to_q31( const float64_t * pSrc, q31_t * pDst, uint32_t blockSize) diff --git a/Source/SupportFunctions/arm_f64_to_q7.c b/Source/SupportFunctions/arm_f64_to_q7.c index f9f060ddd..b7839987b 100644 --- a/Source/SupportFunctions/arm_f64_to_q7.c +++ b/Source/SupportFunctions/arm_f64_to_q7.c @@ -58,7 +58,7 @@ * defined in the preprocessor section of project options. */ -void arm_f64_to_q7( +ARM_DSP_ATTRIBUTE void arm_f64_to_q7( const float64_t * pSrc, q7_t * pDst, uint32_t blockSize) diff --git a/Source/SupportFunctions/arm_fill_f16.c b/Source/SupportFunctions/arm_fill_f16.c index 2ccd268b0..38d067e14 100755 --- a/Source/SupportFunctions/arm_fill_f16.c +++ b/Source/SupportFunctions/arm_fill_f16.c @@ -49,7 +49,7 @@ */ #if defined(ARM_MATH_MVE_FLOAT16) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_fill_f16( +ARM_DSP_ATTRIBUTE void arm_fill_f16( float16_t value, float16_t * pDst, uint32_t blockSize) @@ -69,7 +69,7 @@ void arm_fill_f16( while ((int32_t) blockSize > 0); } #else -void arm_fill_f16( +ARM_DSP_ATTRIBUTE void arm_fill_f16( float16_t value, float16_t * pDst, uint32_t blockSize) diff --git a/Source/SupportFunctions/arm_fill_f32.c b/Source/SupportFunctions/arm_fill_f32.c index fb355ff51..0dc08c572 100644 --- a/Source/SupportFunctions/arm_fill_f32.c +++ b/Source/SupportFunctions/arm_fill_f32.c @@ -56,7 +56,7 @@ @param[in] blockSize number of samples in each vector */ #if defined(ARM_MATH_MVEF) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_fill_f32( +ARM_DSP_ATTRIBUTE void arm_fill_f32( float32_t value, float32_t * pDst, uint32_t blockSize) @@ -93,7 +93,7 @@ void arm_fill_f32( } #else #if defined(ARM_MATH_NEON_EXPERIMENTAL) -void arm_fill_f32( +ARM_DSP_ATTRIBUTE void arm_fill_f32( float32_t value, float32_t * pDst, uint32_t blockSize) @@ -133,7 +133,7 @@ void arm_fill_f32( } } #else -void arm_fill_f32( +ARM_DSP_ATTRIBUTE void arm_fill_f32( float32_t value, float32_t * pDst, uint32_t blockSize) diff --git a/Source/SupportFunctions/arm_fill_f64.c b/Source/SupportFunctions/arm_fill_f64.c index 0283faa89..2a37248fc 100644 --- a/Source/SupportFunctions/arm_fill_f64.c +++ b/Source/SupportFunctions/arm_fill_f64.c @@ -43,7 +43,7 @@ @param[out] pDst points to output vector @param[in] blockSize number of samples in each vector */ -void arm_fill_f64( +ARM_DSP_ATTRIBUTE void arm_fill_f64( float64_t value, float64_t * pDst, uint32_t blockSize) diff --git a/Source/SupportFunctions/arm_fill_q15.c b/Source/SupportFunctions/arm_fill_q15.c index a5c5bbc3e..7b99c8f4b 100644 --- a/Source/SupportFunctions/arm_fill_q15.c +++ b/Source/SupportFunctions/arm_fill_q15.c @@ -44,7 +44,7 @@ @param[in] blockSize number of samples in each vector */ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_fill_q15( +ARM_DSP_ATTRIBUTE void arm_fill_q15( q15_t value, q15_t * pDst, uint32_t blockSize) @@ -77,7 +77,7 @@ void arm_fill_q15( } #else -void arm_fill_q15( +ARM_DSP_ATTRIBUTE void arm_fill_q15( q15_t value, q15_t * pDst, uint32_t blockSize) diff --git a/Source/SupportFunctions/arm_fill_q31.c b/Source/SupportFunctions/arm_fill_q31.c index 06970a5ca..cad353847 100644 --- a/Source/SupportFunctions/arm_fill_q31.c +++ b/Source/SupportFunctions/arm_fill_q31.c @@ -44,7 +44,7 @@ @param[in] blockSize number of samples in each vector */ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_fill_q31( +ARM_DSP_ATTRIBUTE void arm_fill_q31( q31_t value, q31_t * pDst, uint32_t blockSize) @@ -80,7 +80,7 @@ void arm_fill_q31( } #else -void arm_fill_q31( +ARM_DSP_ATTRIBUTE void arm_fill_q31( q31_t value, q31_t * pDst, uint32_t blockSize) diff --git a/Source/SupportFunctions/arm_fill_q7.c b/Source/SupportFunctions/arm_fill_q7.c index 6cb59edaf..e6bca1f77 100644 --- a/Source/SupportFunctions/arm_fill_q7.c +++ b/Source/SupportFunctions/arm_fill_q7.c @@ -44,7 +44,7 @@ @param[in] blockSize number of samples in each vector */ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_fill_q7( +ARM_DSP_ATTRIBUTE void arm_fill_q7( q7_t value, q7_t * pDst, uint32_t blockSize) @@ -77,7 +77,7 @@ void arm_fill_q7( } } #else -void arm_fill_q7( +ARM_DSP_ATTRIBUTE void arm_fill_q7( q7_t value, q7_t * pDst, uint32_t blockSize) diff --git a/Source/SupportFunctions/arm_float_to_f16.c b/Source/SupportFunctions/arm_float_to_f16.c index 221307cb3..557673139 100755 --- a/Source/SupportFunctions/arm_float_to_f16.c +++ b/Source/SupportFunctions/arm_float_to_f16.c @@ -53,7 +53,7 @@ #if defined(ARM_MATH_MVE_FLOAT16) && !defined(ARM_MATH_AUTOVECTORIZE) && !defined(__CMSIS_GCC_H) -void arm_float_to_f16( +ARM_DSP_ATTRIBUTE void arm_float_to_f16( const float32_t * pSrc, float16_t * pDst, uint32_t blockSize) @@ -96,7 +96,7 @@ void arm_float_to_f16( #else -void arm_float_to_f16( +ARM_DSP_ATTRIBUTE void arm_float_to_f16( const float32_t * pSrc, float16_t * pDst, uint32_t blockSize) diff --git a/Source/SupportFunctions/arm_float_to_f64.c b/Source/SupportFunctions/arm_float_to_f64.c index ef4822eb8..a24d08b08 100644 --- a/Source/SupportFunctions/arm_float_to_f64.c +++ b/Source/SupportFunctions/arm_float_to_f64.c @@ -47,7 +47,7 @@ @param[in] blockSize number of samples in each vector */ -void arm_float_to_f64( +ARM_DSP_ATTRIBUTE void arm_float_to_f64( const float32_t * pSrc, float64_t * pDst, uint32_t blockSize) diff --git a/Source/SupportFunctions/arm_float_to_q15.c b/Source/SupportFunctions/arm_float_to_q15.c index 04d8bad3a..dd59c3f35 100644 --- a/Source/SupportFunctions/arm_float_to_q15.c +++ b/Source/SupportFunctions/arm_float_to_q15.c @@ -59,7 +59,7 @@ */ #if defined(ARM_MATH_MVEF) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_float_to_q15( +ARM_DSP_ATTRIBUTE void arm_float_to_q15( const float32_t * pSrc, q15_t * pDst, uint32_t blockSize) @@ -121,7 +121,7 @@ void arm_float_to_q15( #else #if defined(ARM_MATH_NEON_EXPERIMENTAL) -void arm_float_to_q15( +ARM_DSP_ATTRIBUTE void arm_float_to_q15( const float32_t * pSrc, q15_t * pDst, uint32_t blockSize) @@ -212,7 +212,7 @@ void arm_float_to_q15( } } #else -void arm_float_to_q15( +ARM_DSP_ATTRIBUTE void arm_float_to_q15( const float32_t * pSrc, q15_t * pDst, uint32_t blockSize) diff --git a/Source/SupportFunctions/arm_float_to_q31.c b/Source/SupportFunctions/arm_float_to_q31.c index 73b6fb7e2..3a88955a0 100644 --- a/Source/SupportFunctions/arm_float_to_q31.c +++ b/Source/SupportFunctions/arm_float_to_q31.c @@ -69,7 +69,7 @@ */ #if defined(ARM_MATH_MVEF) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_float_to_q31( +ARM_DSP_ATTRIBUTE void arm_float_to_q31( const float32_t * pSrc, q31_t * pDst, uint32_t blockSize) @@ -130,7 +130,7 @@ void arm_float_to_q31( } #else #if defined(ARM_MATH_NEON) -void arm_float_to_q31( +ARM_DSP_ATTRIBUTE void arm_float_to_q31( const float32_t * pSrc, q31_t * pDst, uint32_t blockSize) @@ -222,7 +222,7 @@ void arm_float_to_q31( } #else -void arm_float_to_q31( +ARM_DSP_ATTRIBUTE void arm_float_to_q31( const float32_t * pSrc, q31_t * pDst, uint32_t blockSize) diff --git a/Source/SupportFunctions/arm_float_to_q7.c b/Source/SupportFunctions/arm_float_to_q7.c index 85c4f1c67..945af6624 100644 --- a/Source/SupportFunctions/arm_float_to_q7.c +++ b/Source/SupportFunctions/arm_float_to_q7.c @@ -58,7 +58,7 @@ * defined in the preprocessor section of project options. */ #if defined(ARM_MATH_MVEF) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_float_to_q7( +ARM_DSP_ATTRIBUTE void arm_float_to_q7( const float32_t * pSrc, q7_t * pDst, uint32_t blockSize) @@ -136,7 +136,7 @@ void arm_float_to_q7( } #else #if defined(ARM_MATH_NEON) -void arm_float_to_q7( +ARM_DSP_ATTRIBUTE void arm_float_to_q7( const float32_t * pSrc, q7_t * pDst, uint32_t blockSize) @@ -236,7 +236,7 @@ void arm_float_to_q7( } #else -void arm_float_to_q7( +ARM_DSP_ATTRIBUTE void arm_float_to_q7( const float32_t * pSrc, q7_t * pDst, uint32_t blockSize) diff --git a/Source/SupportFunctions/arm_heap_sort_f32.c b/Source/SupportFunctions/arm_heap_sort_f32.c index 5a46caa3b..041ca805a 100644 --- a/Source/SupportFunctions/arm_heap_sort_f32.c +++ b/Source/SupportFunctions/arm_heap_sort_f32.c @@ -81,7 +81,7 @@ static void arm_heapify(float32_t * pSrc, uint32_t n, uint32_t i, uint8_t dir) * @par It's an in-place algorithm. In order to obtain an out-of-place * function, a memcpy of the source vector is performed. */ -void arm_heap_sort_f32( +ARM_DSP_ATTRIBUTE void arm_heap_sort_f32( const arm_sort_instance_f32 * S, float32_t * pSrc, float32_t * pDst, diff --git a/Source/SupportFunctions/arm_insertion_sort_f32.c b/Source/SupportFunctions/arm_insertion_sort_f32.c index 4e8504386..a4c3bb8d7 100644 --- a/Source/SupportFunctions/arm_insertion_sort_f32.c +++ b/Source/SupportFunctions/arm_insertion_sort_f32.c @@ -55,7 +55,7 @@ * function, a memcpy of the source vector is performed. */ -void arm_insertion_sort_f32( +ARM_DSP_ATTRIBUTE void arm_insertion_sort_f32( const arm_sort_instance_f32 * S, float32_t *pSrc, float32_t* pDst, diff --git a/Source/SupportFunctions/arm_merge_sort_f32.c b/Source/SupportFunctions/arm_merge_sort_f32.c index 5c212013b..7cd890681 100644 --- a/Source/SupportFunctions/arm_merge_sort_f32.c +++ b/Source/SupportFunctions/arm_merge_sort_f32.c @@ -100,7 +100,7 @@ static void arm_merge_sort_core_f32(float32_t * pB, uint32_t begin, uint32_t end */ -void arm_merge_sort_f32( +ARM_DSP_ATTRIBUTE void arm_merge_sort_f32( const arm_merge_sort_instance_f32 * S, float32_t *pSrc, float32_t *pDst, diff --git a/Source/SupportFunctions/arm_merge_sort_init_f32.c b/Source/SupportFunctions/arm_merge_sort_init_f32.c index bd93a00fb..efd96c84f 100644 --- a/Source/SupportFunctions/arm_merge_sort_init_f32.c +++ b/Source/SupportFunctions/arm_merge_sort_init_f32.c @@ -43,7 +43,7 @@ * @param[in] dir Sorting order. * @param[in] buffer Working buffer. */ -void arm_merge_sort_init_f32(arm_merge_sort_instance_f32 * S, arm_sort_dir dir, float32_t * buffer) +ARM_DSP_ATTRIBUTE void arm_merge_sort_init_f32(arm_merge_sort_instance_f32 * S, arm_sort_dir dir, float32_t * buffer) { S->dir = dir; S->buffer = buffer; diff --git a/Source/SupportFunctions/arm_q15_to_f16.c b/Source/SupportFunctions/arm_q15_to_f16.c index 3e32a4d25..9027ab87e 100755 --- a/Source/SupportFunctions/arm_q15_to_f16.c +++ b/Source/SupportFunctions/arm_q15_to_f16.c @@ -59,7 +59,7 @@ #if defined(ARM_MATH_MVE_FLOAT16) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_q15_to_f16( +ARM_DSP_ATTRIBUTE void arm_q15_to_f16( const q15_t * pSrc, float16_t * pDst, uint32_t blockSize) @@ -95,7 +95,7 @@ void arm_q15_to_f16( } #else -void arm_q15_to_f16( +ARM_DSP_ATTRIBUTE void arm_q15_to_f16( const q15_t * pSrc, float16_t * pDst, uint32_t blockSize) diff --git a/Source/SupportFunctions/arm_q15_to_f64.c b/Source/SupportFunctions/arm_q15_to_f64.c index 98306a2bd..20d802ea3 100644 --- a/Source/SupportFunctions/arm_q15_to_f64.c +++ b/Source/SupportFunctions/arm_q15_to_f64.c @@ -54,7 +54,7 @@ */ -void arm_q15_to_f64( +ARM_DSP_ATTRIBUTE void arm_q15_to_f64( const q15_t * pSrc, float64_t * pDst, uint32_t blockSize) diff --git a/Source/SupportFunctions/arm_q15_to_float.c b/Source/SupportFunctions/arm_q15_to_float.c index 0043ad5c0..558a4a271 100644 --- a/Source/SupportFunctions/arm_q15_to_float.c +++ b/Source/SupportFunctions/arm_q15_to_float.c @@ -55,7 +55,7 @@ */ #if defined(ARM_MATH_MVEF) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_q15_to_float( +ARM_DSP_ATTRIBUTE void arm_q15_to_float( const q15_t * pSrc, float32_t * pDst, uint32_t blockSize) @@ -95,7 +95,7 @@ void arm_q15_to_float( } #else #if defined(ARM_MATH_NEON_EXPERIMENTAL) -void arm_q15_to_float( +ARM_DSP_ATTRIBUTE void arm_q15_to_float( const q15_t * pSrc, float32_t * pDst, uint32_t blockSize) @@ -149,7 +149,7 @@ void arm_q15_to_float( } } #else -void arm_q15_to_float( +ARM_DSP_ATTRIBUTE void arm_q15_to_float( const q15_t * pSrc, float32_t * pDst, uint32_t blockSize) diff --git a/Source/SupportFunctions/arm_q15_to_q31.c b/Source/SupportFunctions/arm_q15_to_q31.c index c90cabd2b..b54a36cfe 100644 --- a/Source/SupportFunctions/arm_q15_to_q31.c +++ b/Source/SupportFunctions/arm_q15_to_q31.c @@ -50,7 +50,7 @@ */ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_q15_to_q31( +ARM_DSP_ATTRIBUTE void arm_q15_to_q31( const q15_t * pSrc, q31_t * pDst, uint32_t blockSize) @@ -93,7 +93,7 @@ void arm_q15_to_q31( } } #else -void arm_q15_to_q31( +ARM_DSP_ATTRIBUTE void arm_q15_to_q31( const q15_t * pSrc, q31_t * pDst, uint32_t blockSize) diff --git a/Source/SupportFunctions/arm_q15_to_q7.c b/Source/SupportFunctions/arm_q15_to_q7.c index 49b2e5fad..85381ad6c 100644 --- a/Source/SupportFunctions/arm_q15_to_q7.c +++ b/Source/SupportFunctions/arm_q15_to_q7.c @@ -50,7 +50,7 @@ */ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_q15_to_q7( +ARM_DSP_ATTRIBUTE void arm_q15_to_q7( const q15_t * pSrc, q7_t * pDst, uint32_t blockSize) @@ -93,7 +93,7 @@ void arm_q15_to_q7( } } #else -void arm_q15_to_q7( +ARM_DSP_ATTRIBUTE void arm_q15_to_q7( const q15_t * pSrc, q7_t * pDst, uint32_t blockSize) diff --git a/Source/SupportFunctions/arm_q31_to_f64.c b/Source/SupportFunctions/arm_q31_to_f64.c index 7bca3840e..8111b8ddc 100644 --- a/Source/SupportFunctions/arm_q31_to_f64.c +++ b/Source/SupportFunctions/arm_q31_to_f64.c @@ -54,7 +54,7 @@ */ -void arm_q31_to_f64( +ARM_DSP_ATTRIBUTE void arm_q31_to_f64( const q31_t * pSrc, float64_t * pDst, uint32_t blockSize) diff --git a/Source/SupportFunctions/arm_q31_to_float.c b/Source/SupportFunctions/arm_q31_to_float.c index 1d0de7788..bcbd530f9 100644 --- a/Source/SupportFunctions/arm_q31_to_float.c +++ b/Source/SupportFunctions/arm_q31_to_float.c @@ -54,7 +54,7 @@ */ #if defined(ARM_MATH_MVEF) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_q31_to_float( +ARM_DSP_ATTRIBUTE void arm_q31_to_float( const q31_t * pSrc, float32_t * pDst, uint32_t blockSize) @@ -97,7 +97,7 @@ void arm_q31_to_float( #else #if defined(ARM_MATH_NEON_EXPERIMENTAL) -void arm_q31_to_float( +ARM_DSP_ATTRIBUTE void arm_q31_to_float( const q31_t * pSrc, float32_t * pDst, uint32_t blockSize) @@ -144,7 +144,7 @@ void arm_q31_to_float( } } #else -void arm_q31_to_float( +ARM_DSP_ATTRIBUTE void arm_q31_to_float( const q31_t * pSrc, float32_t * pDst, uint32_t blockSize) diff --git a/Source/SupportFunctions/arm_q31_to_q15.c b/Source/SupportFunctions/arm_q31_to_q15.c index 160d229f3..0ce4a2029 100644 --- a/Source/SupportFunctions/arm_q31_to_q15.c +++ b/Source/SupportFunctions/arm_q31_to_q15.c @@ -50,7 +50,7 @@ */ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_q31_to_q15( +ARM_DSP_ATTRIBUTE void arm_q31_to_q15( const q31_t * pSrc, q15_t * pDst, uint32_t blockSize) @@ -96,7 +96,7 @@ void arm_q31_to_q15( } #else -void arm_q31_to_q15( +ARM_DSP_ATTRIBUTE void arm_q31_to_q15( const q31_t * pSrc, q15_t * pDst, uint32_t blockSize) diff --git a/Source/SupportFunctions/arm_q31_to_q7.c b/Source/SupportFunctions/arm_q31_to_q7.c index 9b6346135..c08612c20 100644 --- a/Source/SupportFunctions/arm_q31_to_q7.c +++ b/Source/SupportFunctions/arm_q31_to_q7.c @@ -50,7 +50,7 @@ */ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_q31_to_q7( +ARM_DSP_ATTRIBUTE void arm_q31_to_q7( const q31_t * pSrc, q7_t * pDst, uint32_t blockSize) @@ -108,7 +108,7 @@ void arm_q31_to_q7( } } #else -void arm_q31_to_q7( +ARM_DSP_ATTRIBUTE void arm_q31_to_q7( const q31_t * pSrc, q7_t * pDst, uint32_t blockSize) diff --git a/Source/SupportFunctions/arm_q7_to_f64.c b/Source/SupportFunctions/arm_q7_to_f64.c index 5985f8a4a..aa878ab75 100644 --- a/Source/SupportFunctions/arm_q7_to_f64.c +++ b/Source/SupportFunctions/arm_q7_to_f64.c @@ -53,7 +53,7 @@ pDst[n] = (float64_t) pSrc[n] / 128; 0 <= n < blockSize. */ -void arm_q7_to_f64( +ARM_DSP_ATTRIBUTE void arm_q7_to_f64( const q7_t * pSrc, float64_t * pDst, uint32_t blockSize) diff --git a/Source/SupportFunctions/arm_q7_to_float.c b/Source/SupportFunctions/arm_q7_to_float.c index 0c6db533f..6850461b6 100644 --- a/Source/SupportFunctions/arm_q7_to_float.c +++ b/Source/SupportFunctions/arm_q7_to_float.c @@ -54,7 +54,7 @@ */ #if defined(ARM_MATH_MVEF) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_q7_to_float( +ARM_DSP_ATTRIBUTE void arm_q7_to_float( const q7_t * pSrc, float32_t * pDst, uint32_t blockSize) @@ -93,7 +93,7 @@ void arm_q7_to_float( } #else #if defined(ARM_MATH_NEON) -void arm_q7_to_float( +ARM_DSP_ATTRIBUTE void arm_q7_to_float( const q7_t * pSrc, float32_t * pDst, uint32_t blockSize) @@ -160,7 +160,7 @@ void arm_q7_to_float( } } #else -void arm_q7_to_float( +ARM_DSP_ATTRIBUTE void arm_q7_to_float( const q7_t * pSrc, float32_t * pDst, uint32_t blockSize) diff --git a/Source/SupportFunctions/arm_q7_to_q15.c b/Source/SupportFunctions/arm_q7_to_q15.c index 54d577fb4..84b7b0fd2 100644 --- a/Source/SupportFunctions/arm_q7_to_q15.c +++ b/Source/SupportFunctions/arm_q7_to_q15.c @@ -51,7 +51,7 @@ */ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_q7_to_q15( +ARM_DSP_ATTRIBUTE void arm_q7_to_q15( const q7_t * pSrc, q15_t * pDst, uint32_t blockSize) @@ -94,7 +94,7 @@ void arm_q7_to_q15( } #else -void arm_q7_to_q15( +ARM_DSP_ATTRIBUTE void arm_q7_to_q15( const q7_t * pSrc, q15_t * pDst, uint32_t blockSize) diff --git a/Source/SupportFunctions/arm_q7_to_q31.c b/Source/SupportFunctions/arm_q7_to_q31.c index eb1bdb19b..eab4fd0d1 100644 --- a/Source/SupportFunctions/arm_q7_to_q31.c +++ b/Source/SupportFunctions/arm_q7_to_q31.c @@ -50,7 +50,7 @@ */ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_q7_to_q31( +ARM_DSP_ATTRIBUTE void arm_q7_to_q31( const q7_t * pSrc, q31_t * pDst, uint32_t blockSize) @@ -92,7 +92,7 @@ void arm_q7_to_q31( } #else -void arm_q7_to_q31( +ARM_DSP_ATTRIBUTE void arm_q7_to_q31( const q7_t * pSrc, q31_t * pDst, uint32_t blockSize) diff --git a/Source/SupportFunctions/arm_quick_sort_f32.c b/Source/SupportFunctions/arm_quick_sort_f32.c index c6c44d966..ddeee3e24 100644 --- a/Source/SupportFunctions/arm_quick_sort_f32.c +++ b/Source/SupportFunctions/arm_quick_sort_f32.c @@ -154,7 +154,7 @@ static void arm_quick_sort_core_f32(float32_t *pSrc, int32_t first, int32_t last * function, a memcpy of the source vector is performed. */ -void arm_quick_sort_f32( +ARM_DSP_ATTRIBUTE void arm_quick_sort_f32( const arm_sort_instance_f32 * S, float32_t * pSrc, float32_t * pDst, diff --git a/Source/SupportFunctions/arm_selection_sort_f32.c b/Source/SupportFunctions/arm_selection_sort_f32.c index ad534bc0a..57915994f 100644 --- a/Source/SupportFunctions/arm_selection_sort_f32.c +++ b/Source/SupportFunctions/arm_selection_sort_f32.c @@ -56,7 +56,7 @@ * function, a memcpy of the source vector is performed. */ -void arm_selection_sort_f32( +ARM_DSP_ATTRIBUTE void arm_selection_sort_f32( const arm_sort_instance_f32 * S, float32_t * pSrc, float32_t * pDst, diff --git a/Source/SupportFunctions/arm_sort_f32.c b/Source/SupportFunctions/arm_sort_f32.c index 43786dcbd..cbdac92f5 100644 --- a/Source/SupportFunctions/arm_sort_f32.c +++ b/Source/SupportFunctions/arm_sort_f32.c @@ -47,7 +47,7 @@ * @param[in] blockSize number of samples to process. */ -void arm_sort_f32( +ARM_DSP_ATTRIBUTE void arm_sort_f32( const arm_sort_instance_f32 * S, float32_t * pSrc, float32_t * pDst, diff --git a/Source/SupportFunctions/arm_sort_init_f32.c b/Source/SupportFunctions/arm_sort_init_f32.c index 72ad9c557..9e40eb0a1 100644 --- a/Source/SupportFunctions/arm_sort_init_f32.c +++ b/Source/SupportFunctions/arm_sort_init_f32.c @@ -43,7 +43,7 @@ * @param[in] alg Selected algorithm. * @param[in] dir Sorting order. */ -void arm_sort_init_f32(arm_sort_instance_f32 * S, arm_sort_alg alg, arm_sort_dir dir) +ARM_DSP_ATTRIBUTE void arm_sort_init_f32(arm_sort_instance_f32 * S, arm_sort_alg alg, arm_sort_dir dir) { S->alg = alg; S->dir = dir; diff --git a/Source/SupportFunctions/arm_weighted_sum_f16.c b/Source/SupportFunctions/arm_weighted_sum_f16.c index f9aae6b03..7be607a83 100755 --- a/Source/SupportFunctions/arm_weighted_sum_f16.c +++ b/Source/SupportFunctions/arm_weighted_sum_f16.c @@ -65,7 +65,7 @@ #include "arm_helium_utils.h" -float16_t arm_weighted_sum_f16(const float16_t *in,const float16_t *weigths, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float16_t arm_weighted_sum_f16(const float16_t *in,const float16_t *weigths, uint32_t blockSize) { _Float16 accum1, accum2; float16x8_t accum1V, accum2V; @@ -112,7 +112,7 @@ float16_t arm_weighted_sum_f16(const float16_t *in,const float16_t *weigths, uin #else -float16_t arm_weighted_sum_f16(const float16_t *in, const float16_t *weigths, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float16_t arm_weighted_sum_f16(const float16_t *in, const float16_t *weigths, uint32_t blockSize) { _Float16 accum1, accum2; diff --git a/Source/SupportFunctions/arm_weighted_sum_f32.c b/Source/SupportFunctions/arm_weighted_sum_f32.c index dd3786152..8154214db 100755 --- a/Source/SupportFunctions/arm_weighted_sum_f32.c +++ b/Source/SupportFunctions/arm_weighted_sum_f32.c @@ -52,7 +52,7 @@ #include "arm_helium_utils.h" -float32_t arm_weighted_sum_f32(const float32_t *in,const float32_t *weigths, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float32_t arm_weighted_sum_f32(const float32_t *in,const float32_t *weigths, uint32_t blockSize) { float32_t accum1, accum2; f32x4_t accum1V, accum2V; @@ -101,7 +101,7 @@ float32_t arm_weighted_sum_f32(const float32_t *in,const float32_t *weigths, uin #if defined(ARM_MATH_NEON) #include "NEMath.h" -float32_t arm_weighted_sum_f32(const float32_t *in,const float32_t *weigths, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float32_t arm_weighted_sum_f32(const float32_t *in,const float32_t *weigths, uint32_t blockSize) { float32_t accum1, accum2; @@ -155,7 +155,7 @@ float32_t arm_weighted_sum_f32(const float32_t *in,const float32_t *weigths, uin return(accum1 / accum2); } #else -float32_t arm_weighted_sum_f32(const float32_t *in, const float32_t *weigths, uint32_t blockSize) +ARM_DSP_ATTRIBUTE float32_t arm_weighted_sum_f32(const float32_t *in, const float32_t *weigths, uint32_t blockSize) { float32_t accum1, accum2; diff --git a/Source/TransformFunctions/arm_bitreversal.c b/Source/TransformFunctions/arm_bitreversal.c index 2bbabf426..e71935cf0 100644 --- a/Source/TransformFunctions/arm_bitreversal.c +++ b/Source/TransformFunctions/arm_bitreversal.c @@ -38,7 +38,7 @@ @param[in] pBitRevTab points to bit reversal table */ -void arm_bitreversal_f32( +ARM_DSP_ATTRIBUTE void arm_bitreversal_f32( float32_t * pSrc, uint16_t fftSize, uint16_t bitRevFactor, @@ -108,7 +108,7 @@ void arm_bitreversal_f32( @param[in] pBitRevTab points to bit reversal table */ -void arm_bitreversal_q31( +ARM_DSP_ATTRIBUTE void arm_bitreversal_q31( q31_t * pSrc, uint32_t fftLen, uint16_t bitRevFactor, @@ -178,7 +178,7 @@ void arm_bitreversal_q31( @param[in] pBitRevTab points to bit reversal table */ -void arm_bitreversal_q15( +ARM_DSP_ATTRIBUTE void arm_bitreversal_q15( q15_t * pSrc16, uint32_t fftLen, uint16_t bitRevFactor, diff --git a/Source/TransformFunctions/arm_bitreversal2.c b/Source/TransformFunctions/arm_bitreversal2.c index eb797a458..5c47d3333 100644 --- a/Source/TransformFunctions/arm_bitreversal2.c +++ b/Source/TransformFunctions/arm_bitreversal2.c @@ -37,7 +37,7 @@ @param[in] pBitRevTab points to bit reversal table */ -void arm_bitreversal_64( +ARM_DSP_ATTRIBUTE void arm_bitreversal_64( uint64_t *pSrc, const uint16_t bitRevLen, const uint16_t *pBitRevTab) @@ -71,7 +71,7 @@ void arm_bitreversal_64( @param[in] pBitRevTab points to bit reversal table */ -void arm_bitreversal_32( +ARM_DSP_ATTRIBUTE void arm_bitreversal_32( uint32_t *pSrc, const uint16_t bitRevLen, const uint16_t *pBitRevTab) @@ -105,7 +105,7 @@ void arm_bitreversal_32( @param[in] pBitRevTab points to bit reversal table */ -void arm_bitreversal_16( +ARM_DSP_ATTRIBUTE void arm_bitreversal_16( uint16_t *pSrc, const uint16_t bitRevLen, const uint16_t *pBitRevTab) diff --git a/Source/TransformFunctions/arm_bitreversal_f16.c b/Source/TransformFunctions/arm_bitreversal_f16.c index 481014840..04718b3f9 100755 --- a/Source/TransformFunctions/arm_bitreversal_f16.c +++ b/Source/TransformFunctions/arm_bitreversal_f16.c @@ -38,7 +38,7 @@ #if defined(ARM_FLOAT16_SUPPORTED) -void arm_bitreversal_f16( +ARM_DSP_ATTRIBUTE void arm_bitreversal_f16( float16_t * pSrc, uint16_t fftSize, uint16_t bitRevFactor, diff --git a/Source/TransformFunctions/arm_cfft_f16.c b/Source/TransformFunctions/arm_cfft_f16.c index 4e4020357..f838dae44 100755 --- a/Source/TransformFunctions/arm_cfft_f16.c +++ b/Source/TransformFunctions/arm_cfft_f16.c @@ -524,7 +524,7 @@ static void arm_cfft_radix4by2_inverse_f16_mve(const arm_cfft_instance_f16 * S,f */ -void arm_cfft_f16( +ARM_DSP_ATTRIBUTE void arm_cfft_f16( const arm_cfft_instance_f16 * S, float16_t * pSrc, uint8_t ifftFlag, @@ -616,7 +616,7 @@ extern void arm_radix4_butterfly_f16( - value = 1: enables bit reversal of output */ -void arm_cfft_f16( +ARM_DSP_ATTRIBUTE void arm_cfft_f16( const arm_cfft_instance_f16 * S, float16_t * p1, uint8_t ifftFlag, diff --git a/Source/TransformFunctions/arm_cfft_f32.c b/Source/TransformFunctions/arm_cfft_f32.c index c64a12460..17627a45a 100755 --- a/Source/TransformFunctions/arm_cfft_f32.c +++ b/Source/TransformFunctions/arm_cfft_f32.c @@ -527,7 +527,7 @@ static void arm_cfft_radix4by2_inverse_f32_mve(const arm_cfft_instance_f32 * S,f */ -void arm_cfft_f32( +ARM_DSP_ATTRIBUTE void arm_cfft_f32( const arm_cfft_instance_f32 * S, float32_t * pSrc, uint8_t ifftFlag, @@ -754,7 +754,7 @@ extern void arm_bitreversal_32( */ -void arm_cfft_radix8by2_f32 (arm_cfft_instance_f32 * S, float32_t * p1) +ARM_DSP_ATTRIBUTE void arm_cfft_radix8by2_f32 (arm_cfft_instance_f32 * S, float32_t * p1) { uint32_t L = S->fftLen; float32_t * pCol1, * pCol2, * pMid1, * pMid2; @@ -868,7 +868,7 @@ void arm_cfft_radix8by2_f32 (arm_cfft_instance_f32 * S, float32_t * p1) arm_radix8_butterfly_f32 (pCol2, L, (float32_t *) S->pTwiddle, 2U); } -void arm_cfft_radix8by4_f32 (arm_cfft_instance_f32 * S, float32_t * p1) +ARM_DSP_ATTRIBUTE void arm_cfft_radix8by4_f32 (arm_cfft_instance_f32 * S, float32_t * p1) { uint32_t L = S->fftLen >> 1; float32_t * pCol1, *pCol2, *pCol3, *pCol4, *pEnd1, *pEnd2, *pEnd3, *pEnd4; @@ -1128,7 +1128,7 @@ void arm_cfft_radix8by4_f32 (arm_cfft_instance_f32 * S, float32_t * p1) - value = 1: enables bit reversal of output */ -void arm_cfft_f32( +ARM_DSP_ATTRIBUTE void arm_cfft_f32( const arm_cfft_instance_f32 * S, float32_t * p1, uint8_t ifftFlag, diff --git a/Source/TransformFunctions/arm_cfft_f64.c b/Source/TransformFunctions/arm_cfft_f64.c index 2c95097dd..9f7fbfa61 100644 --- a/Source/TransformFunctions/arm_cfft_f64.c +++ b/Source/TransformFunctions/arm_cfft_f64.c @@ -53,7 +53,7 @@ extern void arm_bitreversal_64( * @param[in] twidCoefModifier twiddle coefficient modifier that supports different size FFTs with the same twiddle factor table. */ -void arm_radix4_butterfly_f64( +ARM_DSP_ATTRIBUTE void arm_radix4_butterfly_f64( float64_t * pSrc, uint16_t fftLen, const float64_t * pCoef, @@ -186,7 +186,7 @@ void arm_radix4_butterfly_f64( * @param[in] twidCoefModifier twiddle coefficient modifier that supports different size FFTs with the same twiddle factor table. */ -void arm_cfft_radix4by2_f64( +ARM_DSP_ATTRIBUTE void arm_cfft_radix4by2_f64( float64_t * pSrc, uint32_t fftLen, const float64_t * pCoef) @@ -250,7 +250,7 @@ void arm_cfft_radix4by2_f64( - value = 1: enables bit reversal of output */ -void arm_cfft_f64( +ARM_DSP_ATTRIBUTE void arm_cfft_f64( const arm_cfft_instance_f64 * S, float64_t * p1, uint8_t ifftFlag, diff --git a/Source/TransformFunctions/arm_cfft_init_f16.c b/Source/TransformFunctions/arm_cfft_init_f16.c index df3520dab..6a8237d97 100755 --- a/Source/TransformFunctions/arm_cfft_init_f16.c +++ b/Source/TransformFunctions/arm_cfft_init_f16.c @@ -279,7 +279,7 @@ CFFTINIT_F16(16,16) that you need at build time, then it is better to use the initialization functions defined for each FFT size. */ -arm_status arm_cfft_init_f16( +ARM_DSP_ATTRIBUTE arm_status arm_cfft_init_f16( arm_cfft_instance_f16 * S, uint16_t fftLen) { diff --git a/Source/TransformFunctions/arm_cfft_init_f32.c b/Source/TransformFunctions/arm_cfft_init_f32.c index 0e249215a..fc28ad3e6 100755 --- a/Source/TransformFunctions/arm_cfft_init_f32.c +++ b/Source/TransformFunctions/arm_cfft_init_f32.c @@ -76,7 +76,7 @@ CFFT_RADIX4BY2_REARRANGE_TWIDDLES_F32(16); #define CFFTINIT_F32(LEN,LENTWIDDLE) \ -arm_status arm_cfft_init_##LEN##_f32( \ +ARM_DSP_ATTRIBUTE arm_status arm_cfft_init_##LEN##_f32( \ arm_cfft_instance_f32 * S) \ { \ /* Initialise the default arm status */ \ @@ -105,7 +105,7 @@ arm_status arm_cfft_init_##LEN##_f32( S->pTwiddle = arm_cfft_sR_##EXT##_len##SIZE.pTwiddle; #define CFFTINIT_F32(LEN,LENTWIDDLE) \ -arm_status arm_cfft_init_##LEN##_f32(arm_cfft_instance_f32 * S)\ +ARM_DSP_ATTRIBUTE arm_status arm_cfft_init_##LEN##_f32(arm_cfft_instance_f32 * S)\ { \ /* Initialise the default arm status */ \ arm_status status = ARM_MATH_SUCCESS; \ @@ -273,7 +273,7 @@ CFFTINIT_F32(16,16) that you need at build time, then it is better to use the initialization functions defined for each FFT size. */ -arm_status arm_cfft_init_f32( +ARM_DSP_ATTRIBUTE arm_status arm_cfft_init_f32( arm_cfft_instance_f32 * S, uint16_t fftLen) { diff --git a/Source/TransformFunctions/arm_cfft_init_f64.c b/Source/TransformFunctions/arm_cfft_init_f64.c index 6d16d3fea..742a4e2cc 100755 --- a/Source/TransformFunctions/arm_cfft_init_f64.c +++ b/Source/TransformFunctions/arm_cfft_init_f64.c @@ -212,7 +212,7 @@ CFFTINIT_F64(16) functions defined for each FFT size. */ -arm_status arm_cfft_init_f64( +ARM_DSP_ATTRIBUTE arm_status arm_cfft_init_f64( arm_cfft_instance_f64 * S, uint16_t fftLen) { diff --git a/Source/TransformFunctions/arm_cfft_init_q15.c b/Source/TransformFunctions/arm_cfft_init_q15.c index 59c0b0fec..68cd1a99f 100755 --- a/Source/TransformFunctions/arm_cfft_init_q15.c +++ b/Source/TransformFunctions/arm_cfft_init_q15.c @@ -75,7 +75,7 @@ CFFT_RADIX4BY2_REARRANGE_TWIDDLES_Q15(16); #define CFFTINIT_Q15(LEN,LENTWIDDLE) \ -arm_status arm_cfft_init_##LEN##_q15( \ +ARM_DSP_ATTRIBUTE arm_status arm_cfft_init_##LEN##_q15( \ arm_cfft_instance_q15 * S) \ { \ /* Initialise the default arm status */ \ @@ -105,7 +105,7 @@ arm_status arm_cfft_init_##LEN##_q15( \ S->pTwiddle = arm_cfft_sR_##EXT##_len##SIZE.pTwiddle; #define CFFTINIT_Q15(LEN,LENTWIDDLE) \ -arm_status arm_cfft_init_##LEN##_q15(arm_cfft_instance_q15 * S)\ +ARM_DSP_ATTRIBUTE arm_status arm_cfft_init_##LEN##_q15(arm_cfft_instance_q15 * S)\ { \ /* Initialise the default arm status */ \ arm_status status = ARM_MATH_SUCCESS; \ @@ -265,7 +265,7 @@ CFFTINIT_Q15(16,16) that you need at build time, then it is better to use the initialization functions defined for each FFT size. */ -arm_status arm_cfft_init_q15( +ARM_DSP_ATTRIBUTE arm_status arm_cfft_init_q15( arm_cfft_instance_q15 * S, uint16_t fftLen) { diff --git a/Source/TransformFunctions/arm_cfft_init_q31.c b/Source/TransformFunctions/arm_cfft_init_q31.c index 142d4bbb8..f863c8ec1 100755 --- a/Source/TransformFunctions/arm_cfft_init_q31.c +++ b/Source/TransformFunctions/arm_cfft_init_q31.c @@ -76,7 +76,7 @@ CFFT_RADIX4BY2_REARRANGE_TWIDDLES_Q31(16); #define CFFTINIT_Q31(LEN,LENTWIDDLE) \ -arm_status arm_cfft_init_##LEN##_q31( \ +ARM_DSP_ATTRIBUTE arm_status arm_cfft_init_##LEN##_q31( \ arm_cfft_instance_q31 * S) \ { \ /* Initialise the default arm status */ \ @@ -107,7 +107,7 @@ arm_status arm_cfft_init_##LEN##_q31( \ S->pTwiddle = arm_cfft_sR_##EXT##_len##SIZE.pTwiddle; #define CFFTINIT_Q31(LEN,LENTWIDDLE) \ -arm_status arm_cfft_init_##LEN##_q31(arm_cfft_instance_q31 * S)\ +ARM_DSP_ATTRIBUTE arm_status arm_cfft_init_##LEN##_q31(arm_cfft_instance_q31 * S)\ { \ /* Initialise the default arm status */ \ arm_status status = ARM_MATH_SUCCESS; \ @@ -266,7 +266,7 @@ CFFTINIT_Q31(16,16) that you need at build time, then it is better to use the initialization functions defined for each FFT size. */ -arm_status arm_cfft_init_q31( +ARM_DSP_ATTRIBUTE arm_status arm_cfft_init_q31( arm_cfft_instance_q31 * S, uint16_t fftLen) { diff --git a/Source/TransformFunctions/arm_cfft_q15.c b/Source/TransformFunctions/arm_cfft_q15.c index 79ab798bd..ea091389e 100644 --- a/Source/TransformFunctions/arm_cfft_q15.c +++ b/Source/TransformFunctions/arm_cfft_q15.c @@ -526,7 +526,7 @@ static void arm_cfft_radix4by2_inverse_q15_mve(const arm_cfft_instance_q15 *S, q - value = 0: disables bit reversal of output - value = 1: enables bit reversal of output */ -void arm_cfft_q15( +ARM_DSP_ATTRIBUTE void arm_cfft_q15( const arm_cfft_instance_q15 * S, q15_t * pSrc, uint8_t ifftFlag, @@ -599,12 +599,12 @@ extern void arm_bitreversal_16( const uint16_t bitRevLen, const uint16_t * pBitRevTable); -void arm_cfft_radix4by2_q15( +ARM_DSP_ATTRIBUTE void arm_cfft_radix4by2_q15( q15_t * pSrc, uint32_t fftLen, const q15_t * pCoef); -void arm_cfft_radix4by2_inverse_q15( +ARM_DSP_ATTRIBUTE void arm_cfft_radix4by2_inverse_q15( q15_t * pSrc, uint32_t fftLen, const q15_t * pCoef); @@ -628,7 +628,7 @@ void arm_cfft_radix4by2_inverse_q15( - value = 1: enables bit reversal of output */ -void arm_cfft_q15( +ARM_DSP_ATTRIBUTE void arm_cfft_q15( const arm_cfft_instance_q15 * S, q15_t * p1, uint8_t ifftFlag, @@ -685,7 +685,7 @@ void arm_cfft_q15( @} end of ComplexFFTQ15 group */ -void arm_cfft_radix4by2_q15( +ARM_DSP_ATTRIBUTE void arm_cfft_radix4by2_q15( q15_t * pSrc, uint32_t fftLen, const q15_t * pCoef) @@ -784,7 +784,7 @@ void arm_cfft_radix4by2_q15( } -void arm_cfft_radix4by2_inverse_q15( +ARM_DSP_ATTRIBUTE void arm_cfft_radix4by2_inverse_q15( q15_t * pSrc, uint32_t fftLen, const q15_t * pCoef) diff --git a/Source/TransformFunctions/arm_cfft_q31.c b/Source/TransformFunctions/arm_cfft_q31.c index 59cba99c7..02dccac26 100644 --- a/Source/TransformFunctions/arm_cfft_q31.c +++ b/Source/TransformFunctions/arm_cfft_q31.c @@ -560,7 +560,7 @@ static void arm_cfft_radix4by2_inverse_q31_mve(const arm_cfft_instance_q31 *S, q - value = 0: disables bit reversal of output - value = 1: enables bit reversal of output */ -void arm_cfft_q31( +ARM_DSP_ATTRIBUTE void arm_cfft_q31( const arm_cfft_instance_q31 * S, q31_t * pSrc, uint8_t ifftFlag, @@ -632,12 +632,12 @@ extern void arm_bitreversal_32( const uint16_t bitRevLen, const uint16_t * pBitRevTable); -void arm_cfft_radix4by2_q31( +ARM_DSP_ATTRIBUTE void arm_cfft_radix4by2_q31( q31_t * pSrc, uint32_t fftLen, const q31_t * pCoef); -void arm_cfft_radix4by2_inverse_q31( +ARM_DSP_ATTRIBUTE void arm_cfft_radix4by2_inverse_q31( q31_t * pSrc, uint32_t fftLen, const q31_t * pCoef); @@ -659,7 +659,7 @@ void arm_cfft_radix4by2_inverse_q31( - value = 0: disables bit reversal of output - value = 1: enables bit reversal of output */ -void arm_cfft_q31( +ARM_DSP_ATTRIBUTE void arm_cfft_q31( const arm_cfft_instance_q31 * S, q31_t * p1, uint8_t ifftFlag, @@ -716,7 +716,7 @@ void arm_cfft_q31( @} end of ComplexFFTQ31 group */ -void arm_cfft_radix4by2_q31( +ARM_DSP_ATTRIBUTE void arm_cfft_radix4by2_q31( q31_t * pSrc, uint32_t fftLen, const q31_t * pCoef) @@ -777,7 +777,7 @@ void arm_cfft_radix4by2_q31( } -void arm_cfft_radix4by2_inverse_q31( +ARM_DSP_ATTRIBUTE void arm_cfft_radix4by2_inverse_q31( q31_t * pSrc, uint32_t fftLen, const q31_t * pCoef) diff --git a/Source/TransformFunctions/arm_cfft_radix2_f16.c b/Source/TransformFunctions/arm_cfft_radix2_f16.c index 268426859..c6d4d58eb 100755 --- a/Source/TransformFunctions/arm_cfft_radix2_f16.c +++ b/Source/TransformFunctions/arm_cfft_radix2_f16.c @@ -34,13 +34,13 @@ #if defined(ARM_FLOAT16_SUPPORTED) -void arm_radix2_butterfly_f16( +ARM_DSP_ATTRIBUTE void arm_radix2_butterfly_f16( float16_t * pSrc, uint32_t fftLen, const float16_t * pCoef, uint16_t twidCoefModifier); -void arm_radix2_butterfly_inverse_f16( +ARM_DSP_ATTRIBUTE void arm_radix2_butterfly_inverse_f16( float16_t * pSrc, uint32_t fftLen, const float16_t * pCoef, @@ -69,8 +69,8 @@ extern void arm_bitreversal_f16( @param[in,out] pSrc points to the complex data buffer of size 2*fftLen. Processing occurs in-place */ -void arm_cfft_radix2_f16( -const arm_cfft_radix2_instance_f16 * S, +ARM_DSP_ATTRIBUTE void arm_cfft_radix2_f16( +ARM_DSP_ATTRIBUTE const arm_cfft_radix2_instance_f16 * S, float16_t * pSrc) { @@ -114,7 +114,7 @@ const arm_cfft_radix2_instance_f16 * S, * @param[in] twidCoefModifier twiddle coefficient modifier that supports different size FFTs with the same twiddle factor table. */ -void arm_radix2_butterfly_f16( +ARM_DSP_ATTRIBUTE void arm_radix2_butterfly_f16( float16_t * pSrc, uint32_t fftLen, const float16_t * pCoef, @@ -282,7 +282,7 @@ uint16_t twidCoefModifier) } -void arm_radix2_butterfly_inverse_f16( +ARM_DSP_ATTRIBUTE void arm_radix2_butterfly_inverse_f16( float16_t * pSrc, uint32_t fftLen, const float16_t * pCoef, diff --git a/Source/TransformFunctions/arm_cfft_radix2_f32.c b/Source/TransformFunctions/arm_cfft_radix2_f32.c index 48591089b..a19a031bf 100644 --- a/Source/TransformFunctions/arm_cfft_radix2_f32.c +++ b/Source/TransformFunctions/arm_cfft_radix2_f32.c @@ -28,13 +28,13 @@ #include "dsp/transform_functions.h" -void arm_radix2_butterfly_f32( +ARM_DSP_ATTRIBUTE void arm_radix2_butterfly_f32( float32_t * pSrc, uint32_t fftLen, const float32_t * pCoef, uint16_t twidCoefModifier); -void arm_radix2_butterfly_inverse_f32( +ARM_DSP_ATTRIBUTE void arm_radix2_butterfly_inverse_f32( float32_t * pSrc, uint32_t fftLen, const float32_t * pCoef, @@ -61,8 +61,8 @@ extern void arm_bitreversal_f32( @param[in,out] pSrc points to the complex data buffer of size 2*fftLen. Processing occurs in-place */ -void arm_cfft_radix2_f32( -const arm_cfft_radix2_instance_f32 * S, +ARM_DSP_ATTRIBUTE void arm_cfft_radix2_f32( +ARM_DSP_ATTRIBUTE const arm_cfft_radix2_instance_f32 * S, float32_t * pSrc) { @@ -107,7 +107,7 @@ const arm_cfft_radix2_instance_f32 * S, return none */ -void arm_radix2_butterfly_f32( +ARM_DSP_ATTRIBUTE void arm_radix2_butterfly_f32( float32_t * pSrc, uint32_t fftLen, const float32_t * pCoef, @@ -275,7 +275,7 @@ void arm_radix2_butterfly_f32( } -void arm_radix2_butterfly_inverse_f32( +ARM_DSP_ATTRIBUTE void arm_radix2_butterfly_inverse_f32( float32_t * pSrc, uint32_t fftLen, const float32_t * pCoef, diff --git a/Source/TransformFunctions/arm_cfft_radix2_init_f16.c b/Source/TransformFunctions/arm_cfft_radix2_init_f16.c index a08879409..1f8e9f839 100755 --- a/Source/TransformFunctions/arm_cfft_radix2_init_f16.c +++ b/Source/TransformFunctions/arm_cfft_radix2_init_f16.c @@ -65,7 +65,7 @@ #if defined(ARM_FLOAT16_SUPPORTED) -arm_status arm_cfft_radix2_init_f16( +ARM_DSP_ATTRIBUTE arm_status arm_cfft_radix2_init_f16( arm_cfft_radix2_instance_f16 * S, uint16_t fftLen, uint8_t ifftFlag, diff --git a/Source/TransformFunctions/arm_cfft_radix2_init_f32.c b/Source/TransformFunctions/arm_cfft_radix2_init_f32.c index ac7a76a71..84ba8a3ec 100644 --- a/Source/TransformFunctions/arm_cfft_radix2_init_f32.c +++ b/Source/TransformFunctions/arm_cfft_radix2_init_f32.c @@ -61,7 +61,7 @@ This Function also initializes Twiddle factor table pointer and Bit reversal table pointer. */ -arm_status arm_cfft_radix2_init_f32( +ARM_DSP_ATTRIBUTE arm_status arm_cfft_radix2_init_f32( arm_cfft_radix2_instance_f32 * S, uint16_t fftLen, uint8_t ifftFlag, diff --git a/Source/TransformFunctions/arm_cfft_radix2_init_q15.c b/Source/TransformFunctions/arm_cfft_radix2_init_q15.c index eb59a6ed7..19e3b7b92 100644 --- a/Source/TransformFunctions/arm_cfft_radix2_init_q15.c +++ b/Source/TransformFunctions/arm_cfft_radix2_init_q15.c @@ -62,7 +62,7 @@ This Function also initializes Twiddle factor table pointer and Bit reversal table pointer. */ -arm_status arm_cfft_radix2_init_q15( +ARM_DSP_ATTRIBUTE arm_status arm_cfft_radix2_init_q15( arm_cfft_radix2_instance_q15 * S, uint16_t fftLen, uint8_t ifftFlag, diff --git a/Source/TransformFunctions/arm_cfft_radix2_init_q31.c b/Source/TransformFunctions/arm_cfft_radix2_init_q31.c index c31539e67..cac6c6469 100644 --- a/Source/TransformFunctions/arm_cfft_radix2_init_q31.c +++ b/Source/TransformFunctions/arm_cfft_radix2_init_q31.c @@ -61,7 +61,7 @@ This Function also initializes Twiddle factor table pointer and Bit reversal table pointer. */ -arm_status arm_cfft_radix2_init_q31( +ARM_DSP_ATTRIBUTE arm_status arm_cfft_radix2_init_q31( arm_cfft_radix2_instance_q31 * S, uint16_t fftLen, uint8_t ifftFlag, diff --git a/Source/TransformFunctions/arm_cfft_radix2_q15.c b/Source/TransformFunctions/arm_cfft_radix2_q15.c index eca3bb1f6..17dbe6b23 100644 --- a/Source/TransformFunctions/arm_cfft_radix2_q15.c +++ b/Source/TransformFunctions/arm_cfft_radix2_q15.c @@ -28,19 +28,19 @@ #include "dsp/transform_functions.h" -void arm_radix2_butterfly_q15( +ARM_DSP_ATTRIBUTE void arm_radix2_butterfly_q15( q15_t * pSrc, uint32_t fftLen, const q15_t * pCoef, uint16_t twidCoefModifier); -void arm_radix2_butterfly_inverse_q15( +ARM_DSP_ATTRIBUTE void arm_radix2_butterfly_inverse_q15( q15_t * pSrc, uint32_t fftLen, const q15_t * pCoef, uint16_t twidCoefModifier); -void arm_bitreversal_q15( +ARM_DSP_ATTRIBUTE void arm_bitreversal_q15( q15_t * pSrc, uint32_t fftLen, uint16_t bitRevFactor, @@ -59,7 +59,7 @@ void arm_bitreversal_q15( @param[in,out] pSrc points to the complex data buffer of size 2*fftLen. Processing occurs in-place */ -void arm_cfft_radix2_q15( +ARM_DSP_ATTRIBUTE void arm_cfft_radix2_q15( const arm_cfft_radix2_instance_q15 * S, q15_t * pSrc) { @@ -80,7 +80,7 @@ void arm_cfft_radix2_q15( @} end of ComplexFFTDeprecated group */ -void arm_radix2_butterfly_q15( +ARM_DSP_ATTRIBUTE void arm_radix2_butterfly_q15( q15_t * pSrc, uint32_t fftLen, const q15_t * pCoef, @@ -390,7 +390,7 @@ void arm_radix2_butterfly_q15( } -void arm_radix2_butterfly_inverse_q15( +ARM_DSP_ATTRIBUTE void arm_radix2_butterfly_inverse_q15( q15_t * pSrc, uint32_t fftLen, const q15_t * pCoef, diff --git a/Source/TransformFunctions/arm_cfft_radix2_q31.c b/Source/TransformFunctions/arm_cfft_radix2_q31.c index bac8027f2..ce452f2b5 100644 --- a/Source/TransformFunctions/arm_cfft_radix2_q31.c +++ b/Source/TransformFunctions/arm_cfft_radix2_q31.c @@ -28,19 +28,19 @@ #include "dsp/transform_functions.h" -void arm_radix2_butterfly_q31( +ARM_DSP_ATTRIBUTE void arm_radix2_butterfly_q31( q31_t * pSrc, uint32_t fftLen, const q31_t * pCoef, uint16_t twidCoefModifier); -void arm_radix2_butterfly_inverse_q31( +ARM_DSP_ATTRIBUTE void arm_radix2_butterfly_inverse_q31( q31_t * pSrc, uint32_t fftLen, const q31_t * pCoef, uint16_t twidCoefModifier); -void arm_bitreversal_q31( +ARM_DSP_ATTRIBUTE void arm_bitreversal_q31( q31_t * pSrc, uint32_t fftLen, uint16_t bitRevFactor, @@ -59,7 +59,7 @@ void arm_bitreversal_q31( @param[in,out] pSrc points to the complex data buffer of size 2*fftLen. Processing occurs in-place */ -void arm_cfft_radix2_q31( +ARM_DSP_ATTRIBUTE void arm_cfft_radix2_q31( const arm_cfft_radix2_instance_q31 * S, q31_t * pSrc) { @@ -82,7 +82,7 @@ void arm_cfft_radix2_q31( @} end of ComplexFFTDeprecated group */ -void arm_radix2_butterfly_q31( +ARM_DSP_ATTRIBUTE void arm_radix2_butterfly_q31( q31_t * pSrc, uint32_t fftLen, const q31_t * pCoef, @@ -210,7 +210,7 @@ void arm_radix2_butterfly_q31( } -void arm_radix2_butterfly_inverse_q31( +ARM_DSP_ATTRIBUTE void arm_radix2_butterfly_inverse_q31( q31_t * pSrc, uint32_t fftLen, const q31_t * pCoef, diff --git a/Source/TransformFunctions/arm_cfft_radix4_f16.c b/Source/TransformFunctions/arm_cfft_radix4_f16.c index 4c4ed8ca4..a66661ba1 100755 --- a/Source/TransformFunctions/arm_cfft_radix4_f16.c +++ b/Source/TransformFunctions/arm_cfft_radix4_f16.c @@ -36,13 +36,13 @@ extern void arm_bitreversal_f16( uint16_t bitRevFactor, const uint16_t * pBitRevTab); -void arm_radix4_butterfly_f16( +ARM_DSP_ATTRIBUTE void arm_radix4_butterfly_f16( float16_t * pSrc, uint16_t fftLen, const float16_t * pCoef, uint16_t twidCoefModifier); -void arm_radix4_butterfly_inverse_f16( +ARM_DSP_ATTRIBUTE void arm_radix4_butterfly_inverse_f16( float16_t * pSrc, uint16_t fftLen, const float16_t * pCoef, @@ -50,7 +50,7 @@ void arm_radix4_butterfly_inverse_f16( float16_t onebyfftLen); -void arm_cfft_radix4by2_f16( +ARM_DSP_ATTRIBUTE void arm_cfft_radix4by2_f16( float16_t * pSrc, uint32_t fftLen, const float16_t * pCoef); @@ -69,7 +69,7 @@ void arm_cfft_radix4by2_f16( * @param[in] twidCoefModifier twiddle coefficient modifier that supports different size FFTs with the same twiddle factor table. */ -void arm_cfft_radix4by2_f16( +ARM_DSP_ATTRIBUTE void arm_cfft_radix4by2_f16( float16_t * pSrc, uint32_t fftLen, const float16_t * pCoef) @@ -124,7 +124,7 @@ void arm_cfft_radix4by2_f16( @param[in,out] pSrc points to the complex data buffer of size 2*fftLen. Processing occurs in-place */ -void arm_cfft_radix4_f16( +ARM_DSP_ATTRIBUTE void arm_cfft_radix4_f16( const arm_cfft_radix4_instance_f16 * S, float16_t * pSrc) { @@ -163,7 +163,7 @@ void arm_cfft_radix4_f16( * @param[in] twidCoefModifier twiddle coefficient modifier that supports different size FFTs with the same twiddle factor table. */ -void arm_radix4_butterfly_f16( +ARM_DSP_ATTRIBUTE void arm_radix4_butterfly_f16( float16_t * pSrc, uint16_t fftLen, const float16_t * pCoef, @@ -666,7 +666,7 @@ uint16_t twidCoefModifier) * @param[in] onebyfftLen value of 1/fftLen. */ -void arm_radix4_butterfly_inverse_f16( +ARM_DSP_ATTRIBUTE void arm_radix4_butterfly_inverse_f16( float16_t * pSrc, uint16_t fftLen, const float16_t * pCoef, diff --git a/Source/TransformFunctions/arm_cfft_radix4_f32.c b/Source/TransformFunctions/arm_cfft_radix4_f32.c index f3e600f06..817968755 100644 --- a/Source/TransformFunctions/arm_cfft_radix4_f32.c +++ b/Source/TransformFunctions/arm_cfft_radix4_f32.c @@ -34,13 +34,13 @@ extern void arm_bitreversal_f32( uint16_t bitRevFactor, const uint16_t * pBitRevTab); -void arm_radix4_butterfly_f32( +ARM_DSP_ATTRIBUTE void arm_radix4_butterfly_f32( float32_t * pSrc, uint16_t fftLen, const float32_t * pCoef, uint16_t twidCoefModifier); -void arm_radix4_butterfly_inverse_f32( +ARM_DSP_ATTRIBUTE void arm_radix4_butterfly_inverse_f32( float32_t * pSrc, uint16_t fftLen, const float32_t * pCoef, @@ -63,7 +63,7 @@ void arm_radix4_butterfly_inverse_f32( @param[in,out] pSrc points to the complex data buffer of size 2*fftLen. Processing occurs in-place */ -void arm_cfft_radix4_f32( +ARM_DSP_ATTRIBUTE void arm_cfft_radix4_f32( const arm_cfft_radix4_instance_f32 * S, float32_t * pSrc) { @@ -103,7 +103,7 @@ void arm_cfft_radix4_f32( return none */ -void arm_radix4_butterfly_f32( +ARM_DSP_ATTRIBUTE void arm_radix4_butterfly_f32( float32_t * pSrc, uint16_t fftLen, const float32_t * pCoef, @@ -602,7 +602,7 @@ void arm_radix4_butterfly_f32( return none */ -void arm_radix4_butterfly_inverse_f32( +ARM_DSP_ATTRIBUTE void arm_radix4_butterfly_inverse_f32( float32_t * pSrc, uint16_t fftLen, const float32_t * pCoef, diff --git a/Source/TransformFunctions/arm_cfft_radix4_init_f16.c b/Source/TransformFunctions/arm_cfft_radix4_init_f16.c index ab0a9fa9e..24b5b37a5 100755 --- a/Source/TransformFunctions/arm_cfft_radix4_init_f16.c +++ b/Source/TransformFunctions/arm_cfft_radix4_init_f16.c @@ -65,7 +65,7 @@ #if defined(ARM_FLOAT16_SUPPORTED) -arm_status arm_cfft_radix4_init_f16( +ARM_DSP_ATTRIBUTE arm_status arm_cfft_radix4_init_f16( arm_cfft_radix4_instance_f16 * S, uint16_t fftLen, uint8_t ifftFlag, diff --git a/Source/TransformFunctions/arm_cfft_radix4_init_f32.c b/Source/TransformFunctions/arm_cfft_radix4_init_f32.c index d80faffaf..bbd046de5 100644 --- a/Source/TransformFunctions/arm_cfft_radix4_init_f32.c +++ b/Source/TransformFunctions/arm_cfft_radix4_init_f32.c @@ -62,7 +62,7 @@ This Function also initializes Twiddle factor table pointer and Bit reversal table pointer. */ -arm_status arm_cfft_radix4_init_f32( +ARM_DSP_ATTRIBUTE arm_status arm_cfft_radix4_init_f32( arm_cfft_radix4_instance_f32 * S, uint16_t fftLen, uint8_t ifftFlag, diff --git a/Source/TransformFunctions/arm_cfft_radix4_init_q15.c b/Source/TransformFunctions/arm_cfft_radix4_init_q15.c index 7e19f803b..e7565307b 100644 --- a/Source/TransformFunctions/arm_cfft_radix4_init_q15.c +++ b/Source/TransformFunctions/arm_cfft_radix4_init_q15.c @@ -63,7 +63,7 @@ This Function also initializes Twiddle factor table pointer and Bit reversal table pointer. */ -arm_status arm_cfft_radix4_init_q15( +ARM_DSP_ATTRIBUTE arm_status arm_cfft_radix4_init_q15( arm_cfft_radix4_instance_q15 * S, uint16_t fftLen, uint8_t ifftFlag, diff --git a/Source/TransformFunctions/arm_cfft_radix4_init_q31.c b/Source/TransformFunctions/arm_cfft_radix4_init_q31.c index 4c63d2866..d651715a9 100644 --- a/Source/TransformFunctions/arm_cfft_radix4_init_q31.c +++ b/Source/TransformFunctions/arm_cfft_radix4_init_q31.c @@ -62,7 +62,7 @@ This Function also initializes Twiddle factor table pointer and Bit reversal table pointer. */ -arm_status arm_cfft_radix4_init_q31( +ARM_DSP_ATTRIBUTE arm_status arm_cfft_radix4_init_q31( arm_cfft_radix4_instance_q31 * S, uint16_t fftLen, uint8_t ifftFlag, diff --git a/Source/TransformFunctions/arm_cfft_radix4_q15.c b/Source/TransformFunctions/arm_cfft_radix4_q15.c index ea8013063..2a5f499b5 100644 --- a/Source/TransformFunctions/arm_cfft_radix4_q15.c +++ b/Source/TransformFunctions/arm_cfft_radix4_q15.c @@ -30,19 +30,19 @@ #include "dsp/transform_functions.h" -void arm_radix4_butterfly_q15( +ARM_DSP_ATTRIBUTE void arm_radix4_butterfly_q15( q15_t * pSrc16, uint32_t fftLen, const q15_t * pCoef16, uint32_t twidCoefModifier); -void arm_radix4_butterfly_inverse_q15( +ARM_DSP_ATTRIBUTE void arm_radix4_butterfly_inverse_q15( q15_t * pSrc16, uint32_t fftLen, const q15_t * pCoef16, uint32_t twidCoefModifier); -void arm_bitreversal_q15( +ARM_DSP_ATTRIBUTE void arm_bitreversal_q15( q15_t * pSrc, uint32_t fftLen, uint16_t bitRevFactor, @@ -82,7 +82,7 @@ void arm_bitreversal_q15( */ -void arm_cfft_radix4_q15( +ARM_DSP_ATTRIBUTE void arm_cfft_radix4_q15( const arm_cfft_radix4_instance_q15 * S, q15_t * pSrc) { @@ -151,7 +151,7 @@ void arm_cfft_radix4_q15( @param[in] twidCoefModifier twiddle coefficient modifier that supports different size FFTs with the same twiddle factor table */ -void arm_radix4_butterfly_q15( +ARM_DSP_ATTRIBUTE void arm_radix4_butterfly_q15( q15_t * pSrc16, uint32_t fftLen, const q15_t * pCoef16, @@ -1020,7 +1020,7 @@ void arm_radix4_butterfly_q15( * */ -void arm_radix4_butterfly_inverse_q15( +ARM_DSP_ATTRIBUTE void arm_radix4_butterfly_inverse_q15( q15_t * pSrc16, uint32_t fftLen, const q15_t * pCoef16, diff --git a/Source/TransformFunctions/arm_cfft_radix4_q31.c b/Source/TransformFunctions/arm_cfft_radix4_q31.c index 4bc2c0dbd..6b90b3e98 100644 --- a/Source/TransformFunctions/arm_cfft_radix4_q31.c +++ b/Source/TransformFunctions/arm_cfft_radix4_q31.c @@ -29,19 +29,19 @@ #include "dsp/transform_functions.h" -void arm_radix4_butterfly_inverse_q31( +ARM_DSP_ATTRIBUTE void arm_radix4_butterfly_inverse_q31( q31_t * pSrc, uint32_t fftLen, const q31_t * pCoef, uint32_t twidCoefModifier); -void arm_radix4_butterfly_q31( +ARM_DSP_ATTRIBUTE void arm_radix4_butterfly_q31( q31_t * pSrc, uint32_t fftLen, const q31_t * pCoef, uint32_t twidCoefModifier); -void arm_bitreversal_q31( +ARM_DSP_ATTRIBUTE void arm_bitreversal_q31( q31_t * pSrc, uint32_t fftLen, uint16_t bitRevFactor, @@ -81,7 +81,7 @@ void arm_bitreversal_q31( */ -void arm_cfft_radix4_q31( +ARM_DSP_ATTRIBUTE void arm_cfft_radix4_q31( const arm_cfft_radix4_instance_q31 * S, q31_t * pSrc) { @@ -150,7 +150,7 @@ void arm_cfft_radix4_q31( @param[in] twidCoefModifier twiddle coefficient modifier that supports different size FFTs with the same twiddle factor table. */ -void arm_radix4_butterfly_q31( +ARM_DSP_ATTRIBUTE void arm_radix4_butterfly_q31( q31_t * pSrc, uint32_t fftLen, const q31_t * pCoef, @@ -521,7 +521,7 @@ void arm_radix4_butterfly_q31( * */ -void arm_radix4_butterfly_inverse_q31( +ARM_DSP_ATTRIBUTE void arm_radix4_butterfly_inverse_q31( q31_t * pSrc, uint32_t fftLen, const q31_t * pCoef, diff --git a/Source/TransformFunctions/arm_cfft_radix8_f16.c b/Source/TransformFunctions/arm_cfft_radix8_f16.c index b7eb37aaa..877153bb7 100755 --- a/Source/TransformFunctions/arm_cfft_radix8_f16.c +++ b/Source/TransformFunctions/arm_cfft_radix8_f16.c @@ -44,7 +44,7 @@ return none */ -void arm_radix8_butterfly_f16( +ARM_DSP_ATTRIBUTE void arm_radix8_butterfly_f16( float16_t * pSrc, uint16_t fftLen, const float16_t * pCoef, diff --git a/Source/TransformFunctions/arm_cfft_radix8_f32.c b/Source/TransformFunctions/arm_cfft_radix8_f32.c index 7990d4797..2c2ca675e 100644 --- a/Source/TransformFunctions/arm_cfft_radix8_f32.c +++ b/Source/TransformFunctions/arm_cfft_radix8_f32.c @@ -42,7 +42,7 @@ return none */ -void arm_radix8_butterfly_f32( +ARM_DSP_ATTRIBUTE void arm_radix8_butterfly_f32( float32_t * pSrc, uint16_t fftLen, const float32_t * pCoef, diff --git a/Source/TransformFunctions/arm_dct4_f32.c b/Source/TransformFunctions/arm_dct4_f32.c index 66cfce256..e27b72fe4 100644 --- a/Source/TransformFunctions/arm_dct4_f32.c +++ b/Source/TransformFunctions/arm_dct4_f32.c @@ -128,7 +128,7 @@ @param[in,out] pInlineBuffer points to the in-place input and output buffer */ -void arm_dct4_f32( +ARM_DSP_ATTRIBUTE void arm_dct4_f32( const arm_dct4_instance_f32 * S, float32_t * pState, float32_t * pInlineBuffer) diff --git a/Source/TransformFunctions/arm_dct4_init_f32.c b/Source/TransformFunctions/arm_dct4_init_f32.c index e089a69e5..5bae9027d 100644 --- a/Source/TransformFunctions/arm_dct4_init_f32.c +++ b/Source/TransformFunctions/arm_dct4_init_f32.c @@ -68,7 +68,7 @@ */ -arm_status arm_dct4_init_f32( +ARM_DSP_ATTRIBUTE arm_status arm_dct4_init_f32( arm_dct4_instance_f32 * S, arm_rfft_instance_f32 * S_RFFT, arm_cfft_radix4_instance_f32 * S_CFFT, diff --git a/Source/TransformFunctions/arm_dct4_init_q15.c b/Source/TransformFunctions/arm_dct4_init_q15.c index b9489b04b..7614c4963 100644 --- a/Source/TransformFunctions/arm_dct4_init_q15.c +++ b/Source/TransformFunctions/arm_dct4_init_q15.c @@ -67,7 +67,7 @@ */ -arm_status arm_dct4_init_q15( +ARM_DSP_ATTRIBUTE arm_status arm_dct4_init_q15( arm_dct4_instance_q15 * S, arm_rfft_instance_q15 * S_RFFT, arm_cfft_radix4_instance_q15 * S_CFFT, diff --git a/Source/TransformFunctions/arm_dct4_init_q31.c b/Source/TransformFunctions/arm_dct4_init_q31.c index 7930b710a..d1af74217 100644 --- a/Source/TransformFunctions/arm_dct4_init_q31.c +++ b/Source/TransformFunctions/arm_dct4_init_q31.c @@ -67,7 +67,7 @@ */ -arm_status arm_dct4_init_q31( +ARM_DSP_ATTRIBUTE arm_status arm_dct4_init_q31( arm_dct4_instance_q31 * S, arm_rfft_instance_q31 * S_RFFT, arm_cfft_radix4_instance_q31 * S_CFFT, diff --git a/Source/TransformFunctions/arm_dct4_q15.c b/Source/TransformFunctions/arm_dct4_q15.c index cd2a0aec8..a442e2cf4 100644 --- a/Source/TransformFunctions/arm_dct4_q15.c +++ b/Source/TransformFunctions/arm_dct4_q15.c @@ -54,7 +54,7 @@ */ -void arm_dct4_q15( +ARM_DSP_ATTRIBUTE void arm_dct4_q15( const arm_dct4_instance_q15 * S, q15_t * pState, q15_t * pInlineBuffer) diff --git a/Source/TransformFunctions/arm_dct4_q31.c b/Source/TransformFunctions/arm_dct4_q31.c index c7fac3417..3a82369af 100644 --- a/Source/TransformFunctions/arm_dct4_q31.c +++ b/Source/TransformFunctions/arm_dct4_q31.c @@ -56,7 +56,7 @@ */ -void arm_dct4_q31( +ARM_DSP_ATTRIBUTE void arm_dct4_q31( const arm_dct4_instance_q31 * S, q31_t * pState, q31_t * pInlineBuffer) diff --git a/Source/TransformFunctions/arm_mfcc_f16.c b/Source/TransformFunctions/arm_mfcc_f16.c index 1aa2284f7..c7c4e7134 100755 --- a/Source/TransformFunctions/arm_mfcc_f16.c +++ b/Source/TransformFunctions/arm_mfcc_f16.c @@ -75,7 +75,7 @@ The source buffer is modified by this function. */ -void arm_mfcc_f16( +ARM_DSP_ATTRIBUTE void arm_mfcc_f16( const arm_mfcc_instance_f16 * S, float16_t *pSrc, float16_t *pDst, diff --git a/Source/TransformFunctions/arm_mfcc_f32.c b/Source/TransformFunctions/arm_mfcc_f32.c index 3cfe464cd..a0d06419f 100755 --- a/Source/TransformFunctions/arm_mfcc_f32.c +++ b/Source/TransformFunctions/arm_mfcc_f32.c @@ -65,7 +65,7 @@ The source buffer is modified by this function. */ -void arm_mfcc_f32( +ARM_DSP_ATTRIBUTE void arm_mfcc_f32( const arm_mfcc_instance_f32 * S, float32_t *pSrc, float32_t *pDst, diff --git a/Source/TransformFunctions/arm_mfcc_init_f16.c b/Source/TransformFunctions/arm_mfcc_init_f16.c index a3f5750af..b372b04c1 100755 --- a/Source/TransformFunctions/arm_mfcc_init_f16.c +++ b/Source/TransformFunctions/arm_mfcc_init_f16.c @@ -87,7 +87,7 @@ */ -arm_status arm_mfcc_init_f16( +ARM_DSP_ATTRIBUTE arm_status arm_mfcc_init_f16( arm_mfcc_instance_f16 * S, uint32_t fftLen, uint32_t nbMelFilters, @@ -121,7 +121,7 @@ arm_status arm_mfcc_init_f16( #if defined(ARM_MFCC_CFFT_BASED) #define MFCC_INIT_F16(LEN) \ -arm_status arm_mfcc_init_##LEN##_f16( \ +ARM_DSP_ATTRIBUTE arm_status arm_mfcc_init_##LEN##_f16( \ arm_mfcc_instance_f16 * S, \ uint32_t nbMelFilters, \ uint32_t nbDctOutputs, \ @@ -149,7 +149,7 @@ arm_status arm_mfcc_init_##LEN##_f16( \ } #else #define MFCC_INIT_F16(LEN) \ -arm_status arm_mfcc_init_##LEN##_f16( \ +ARM_DSP_ATTRIBUTE arm_status arm_mfcc_init_##LEN##_f16( \ arm_mfcc_instance_f16 * S, \ uint32_t nbMelFilters, \ uint32_t nbDctOutputs, \ diff --git a/Source/TransformFunctions/arm_mfcc_init_f32.c b/Source/TransformFunctions/arm_mfcc_init_f32.c index 13ce2caa9..e6a3f3eec 100755 --- a/Source/TransformFunctions/arm_mfcc_init_f32.c +++ b/Source/TransformFunctions/arm_mfcc_init_f32.c @@ -87,7 +87,7 @@ */ -arm_status arm_mfcc_init_f32( +ARM_DSP_ATTRIBUTE arm_status arm_mfcc_init_f32( arm_mfcc_instance_f32 * S, uint32_t fftLen, uint32_t nbMelFilters, @@ -121,7 +121,7 @@ arm_status arm_mfcc_init_f32( #if defined(ARM_MFCC_CFFT_BASED) #define MFCC_INIT_F32(LEN) \ -arm_status arm_mfcc_init_##LEN##_f32( \ +ARM_DSP_ATTRIBUTE arm_status arm_mfcc_init_##LEN##_f32( \ arm_mfcc_instance_f32 * S, \ uint32_t nbMelFilters, \ uint32_t nbDctOutputs, \ @@ -149,7 +149,7 @@ arm_status arm_mfcc_init_##LEN##_f32( \ } #else #define MFCC_INIT_F32(LEN) \ -arm_status arm_mfcc_init_##LEN##_f32( \ +ARM_DSP_ATTRIBUTE arm_status arm_mfcc_init_##LEN##_f32( \ arm_mfcc_instance_f32 * S, \ uint32_t nbMelFilters, \ uint32_t nbDctOutputs, \ diff --git a/Source/TransformFunctions/arm_mfcc_init_q15.c b/Source/TransformFunctions/arm_mfcc_init_q15.c index 0de7b2c01..e7b969c03 100755 --- a/Source/TransformFunctions/arm_mfcc_init_q15.c +++ b/Source/TransformFunctions/arm_mfcc_init_q15.c @@ -86,7 +86,7 @@ */ -arm_status arm_mfcc_init_q15( +ARM_DSP_ATTRIBUTE arm_status arm_mfcc_init_q15( arm_mfcc_instance_q15 * S, uint32_t fftLen, uint32_t nbMelFilters, @@ -120,7 +120,7 @@ arm_status arm_mfcc_init_q15( #if defined(ARM_MFCC_CFFT_BASED) #define MFCC_INIT_Q15(LEN) \ -arm_status arm_mfcc_init_##LEN##_q15( \ +ARM_DSP_ATTRIBUTE arm_status arm_mfcc_init_##LEN##_q15( \ arm_mfcc_instance_q15 * S, \ uint32_t nbMelFilters, \ uint32_t nbDctOutputs, \ @@ -148,7 +148,7 @@ arm_status arm_mfcc_init_##LEN##_q15( \ } #else #define MFCC_INIT_Q15(LEN) \ -arm_status arm_mfcc_init_##LEN##_q15( \ +ARM_DSP_ATTRIBUTE arm_status arm_mfcc_init_##LEN##_q15( \ arm_mfcc_instance_q15 * S, \ uint32_t nbMelFilters, \ uint32_t nbDctOutputs, \ diff --git a/Source/TransformFunctions/arm_mfcc_init_q31.c b/Source/TransformFunctions/arm_mfcc_init_q31.c index 65a82d675..ae4a7a00a 100755 --- a/Source/TransformFunctions/arm_mfcc_init_q31.c +++ b/Source/TransformFunctions/arm_mfcc_init_q31.c @@ -88,7 +88,7 @@ */ -arm_status arm_mfcc_init_q31( +ARM_DSP_ATTRIBUTE arm_status arm_mfcc_init_q31( arm_mfcc_instance_q31 * S, uint32_t fftLen, uint32_t nbMelFilters, @@ -122,7 +122,7 @@ arm_status arm_mfcc_init_q31( #if defined(ARM_MFCC_CFFT_BASED) #define MFCC_INIT_Q31(LEN) \ -arm_status arm_mfcc_init_##LEN##_q31( \ +ARM_DSP_ATTRIBUTE arm_status arm_mfcc_init_##LEN##_q31( \ arm_mfcc_instance_q31 * S, \ uint32_t nbMelFilters, \ uint32_t nbDctOutputs, \ @@ -150,7 +150,7 @@ arm_status arm_mfcc_init_##LEN##_q31( \ } #else #define MFCC_INIT_Q31(LEN) \ -arm_status arm_mfcc_init_##LEN##_q31( \ +ARM_DSP_ATTRIBUTE arm_status arm_mfcc_init_##LEN##_q31( \ arm_mfcc_instance_q31 * S, \ uint32_t nbMelFilters, \ uint32_t nbDctOutputs, \ diff --git a/Source/TransformFunctions/arm_mfcc_q15.c b/Source/TransformFunctions/arm_mfcc_q15.c index 899bfd231..f88e0ac53 100755 --- a/Source/TransformFunctions/arm_mfcc_q15.c +++ b/Source/TransformFunctions/arm_mfcc_q15.c @@ -71,7 +71,7 @@ point computations may saturate. */ -arm_status arm_mfcc_q15( +ARM_DSP_ATTRIBUTE arm_status arm_mfcc_q15( const arm_mfcc_instance_q15 * S, q15_t *pSrc, q15_t *pDst, diff --git a/Source/TransformFunctions/arm_mfcc_q31.c b/Source/TransformFunctions/arm_mfcc_q31.c index 4be35f26e..796a5a2ad 100755 --- a/Source/TransformFunctions/arm_mfcc_q31.c +++ b/Source/TransformFunctions/arm_mfcc_q31.c @@ -72,7 +72,7 @@ */ -arm_status arm_mfcc_q31( +ARM_DSP_ATTRIBUTE arm_status arm_mfcc_q31( const arm_mfcc_instance_q31 * S, q31_t *pSrc, q31_t *pDst, diff --git a/Source/TransformFunctions/arm_rfft_f32.c b/Source/TransformFunctions/arm_rfft_f32.c index e5bf43eda..1ef9b7be2 100644 --- a/Source/TransformFunctions/arm_rfft_f32.c +++ b/Source/TransformFunctions/arm_rfft_f32.c @@ -51,7 +51,7 @@ extern void arm_bitreversal_f32( uint16_t bitRevFactor, const uint16_t * pBitRevTab); -void arm_split_rfft_f32( +ARM_DSP_ATTRIBUTE void arm_split_rfft_f32( float32_t * pSrc, uint32_t fftLen, const float32_t * pATable, @@ -59,7 +59,7 @@ void arm_split_rfft_f32( float32_t * pDst, uint32_t modifier); -void arm_split_rifft_f32( +ARM_DSP_ATTRIBUTE void arm_split_rifft_f32( float32_t * pSrc, uint32_t fftLen, const float32_t * pATable, @@ -85,7 +85,7 @@ void arm_split_rifft_f32( */ -void arm_rfft_f32( +ARM_DSP_ATTRIBUTE void arm_rfft_f32( const arm_rfft_instance_f32 * S, float32_t * pSrc, float32_t * pDst) @@ -141,7 +141,7 @@ void arm_rfft_f32( @param[in] modifier twiddle coefficient modifier that supports different size FFTs with the same twiddle factor table */ -void arm_split_rfft_f32( +ARM_DSP_ATTRIBUTE void arm_split_rfft_f32( float32_t * pSrc, uint32_t fftLen, const float32_t * pATable, @@ -236,7 +236,7 @@ void arm_split_rfft_f32( @param[in] modifier twiddle coefficient modifier that supports different size FFTs with the same twiddle factor table */ -void arm_split_rifft_f32( +ARM_DSP_ATTRIBUTE void arm_split_rifft_f32( float32_t * pSrc, uint32_t fftLen, const float32_t * pATable, diff --git a/Source/TransformFunctions/arm_rfft_fast_f16.c b/Source/TransformFunctions/arm_rfft_fast_f16.c index bea35aed4..7e33fad29 100755 --- a/Source/TransformFunctions/arm_rfft_fast_f16.c +++ b/Source/TransformFunctions/arm_rfft_fast_f16.c @@ -486,7 +486,7 @@ void merge_rfft_f16( - value = 1: RIFFT */ -void arm_rfft_fast_f16( +ARM_DSP_ATTRIBUTE void arm_rfft_fast_f16( const arm_rfft_fast_instance_f16 * S, float16_t * p, float16_t * pOut, diff --git a/Source/TransformFunctions/arm_rfft_fast_f32.c b/Source/TransformFunctions/arm_rfft_fast_f32.c index a74c751ec..882c503b0 100644 --- a/Source/TransformFunctions/arm_rfft_fast_f32.c +++ b/Source/TransformFunctions/arm_rfft_fast_f32.c @@ -593,7 +593,7 @@ void merge_rfft_f32( - value = 1: RIFFT */ -void arm_rfft_fast_f32( +ARM_DSP_ATTRIBUTE void arm_rfft_fast_f32( const arm_rfft_fast_instance_f32 * S, float32_t * p, float32_t * pOut, diff --git a/Source/TransformFunctions/arm_rfft_fast_f64.c b/Source/TransformFunctions/arm_rfft_fast_f64.c index a25ab8948..908e46301 100755 --- a/Source/TransformFunctions/arm_rfft_fast_f64.c +++ b/Source/TransformFunctions/arm_rfft_fast_f64.c @@ -197,7 +197,7 @@ void merge_rfft_f64( - value = 1: RIFFT */ -void arm_rfft_fast_f64( +ARM_DSP_ATTRIBUTE void arm_rfft_fast_f64( arm_rfft_fast_instance_f64 * S, float64_t * p, float64_t * pOut, diff --git a/Source/TransformFunctions/arm_rfft_fast_init_f16.c b/Source/TransformFunctions/arm_rfft_fast_init_f16.c index fce511258..6c691c3b8 100755 --- a/Source/TransformFunctions/arm_rfft_fast_init_f16.c +++ b/Source/TransformFunctions/arm_rfft_fast_init_f16.c @@ -50,7 +50,7 @@ - \ref ARM_MATH_ARGUMENT_ERROR : an error is detected */ -arm_status arm_rfft_fast_init_32_f16( arm_rfft_fast_instance_f16 * S ) { +ARM_DSP_ATTRIBUTE arm_status arm_rfft_fast_init_32_f16( arm_rfft_fast_instance_f16 * S ) { arm_status status; @@ -76,7 +76,7 @@ arm_status arm_rfft_fast_init_32_f16( arm_rfft_fast_instance_f16 * S ) { - \ref ARM_MATH_ARGUMENT_ERROR : an error is detected */ -arm_status arm_rfft_fast_init_64_f16( arm_rfft_fast_instance_f16 * S ) { +ARM_DSP_ATTRIBUTE arm_status arm_rfft_fast_init_64_f16( arm_rfft_fast_instance_f16 * S ) { arm_status status; @@ -102,7 +102,7 @@ arm_status arm_rfft_fast_init_64_f16( arm_rfft_fast_instance_f16 * S ) { - \ref ARM_MATH_ARGUMENT_ERROR : an error is detected */ -arm_status arm_rfft_fast_init_128_f16( arm_rfft_fast_instance_f16 * S ) { +ARM_DSP_ATTRIBUTE arm_status arm_rfft_fast_init_128_f16( arm_rfft_fast_instance_f16 * S ) { arm_status status; @@ -128,7 +128,7 @@ arm_status arm_rfft_fast_init_128_f16( arm_rfft_fast_instance_f16 * S ) { - \ref ARM_MATH_ARGUMENT_ERROR : an error is detected */ -arm_status arm_rfft_fast_init_256_f16( arm_rfft_fast_instance_f16 * S ) { +ARM_DSP_ATTRIBUTE arm_status arm_rfft_fast_init_256_f16( arm_rfft_fast_instance_f16 * S ) { arm_status status; @@ -154,7 +154,7 @@ arm_status arm_rfft_fast_init_256_f16( arm_rfft_fast_instance_f16 * S ) { - \ref ARM_MATH_ARGUMENT_ERROR : an error is detected */ -arm_status arm_rfft_fast_init_512_f16( arm_rfft_fast_instance_f16 * S ) { +ARM_DSP_ATTRIBUTE arm_status arm_rfft_fast_init_512_f16( arm_rfft_fast_instance_f16 * S ) { arm_status status; @@ -180,7 +180,7 @@ arm_status arm_rfft_fast_init_512_f16( arm_rfft_fast_instance_f16 * S ) { - \ref ARM_MATH_ARGUMENT_ERROR : an error is detected */ -arm_status arm_rfft_fast_init_1024_f16( arm_rfft_fast_instance_f16 * S ) { +ARM_DSP_ATTRIBUTE arm_status arm_rfft_fast_init_1024_f16( arm_rfft_fast_instance_f16 * S ) { arm_status status; @@ -205,7 +205,7 @@ arm_status arm_rfft_fast_init_1024_f16( arm_rfft_fast_instance_f16 * S ) { - \ref ARM_MATH_SUCCESS : Operation successful - \ref ARM_MATH_ARGUMENT_ERROR : an error is detected */ -arm_status arm_rfft_fast_init_2048_f16( arm_rfft_fast_instance_f16 * S ) { +ARM_DSP_ATTRIBUTE arm_status arm_rfft_fast_init_2048_f16( arm_rfft_fast_instance_f16 * S ) { arm_status status; @@ -231,7 +231,7 @@ arm_status arm_rfft_fast_init_2048_f16( arm_rfft_fast_instance_f16 * S ) { - \ref ARM_MATH_ARGUMENT_ERROR : an error is detected */ -arm_status arm_rfft_fast_init_4096_f16( arm_rfft_fast_instance_f16 * S ) { +ARM_DSP_ATTRIBUTE arm_status arm_rfft_fast_init_4096_f16( arm_rfft_fast_instance_f16 * S ) { arm_status status; @@ -277,7 +277,7 @@ arm_status arm_rfft_fast_init_4096_f16( arm_rfft_fast_instance_f16 * S ) { */ -arm_status arm_rfft_fast_init_f16( +ARM_DSP_ATTRIBUTE arm_status arm_rfft_fast_init_f16( arm_rfft_fast_instance_f16 * S, uint16_t fftLen) { diff --git a/Source/TransformFunctions/arm_rfft_fast_init_f32.c b/Source/TransformFunctions/arm_rfft_fast_init_f32.c index f4e140b2f..680f9ba6d 100644 --- a/Source/TransformFunctions/arm_rfft_fast_init_f32.c +++ b/Source/TransformFunctions/arm_rfft_fast_init_f32.c @@ -47,7 +47,7 @@ - \ref ARM_MATH_ARGUMENT_ERROR : an error is detected */ -arm_status arm_rfft_fast_init_32_f32( arm_rfft_fast_instance_f32 * S ) { +ARM_DSP_ATTRIBUTE arm_status arm_rfft_fast_init_32_f32( arm_rfft_fast_instance_f32 * S ) { arm_status status; @@ -73,7 +73,7 @@ arm_status arm_rfft_fast_init_32_f32( arm_rfft_fast_instance_f32 * S ) { - \ref ARM_MATH_ARGUMENT_ERROR : an error is detected */ -arm_status arm_rfft_fast_init_64_f32( arm_rfft_fast_instance_f32 * S ) { +ARM_DSP_ATTRIBUTE arm_status arm_rfft_fast_init_64_f32( arm_rfft_fast_instance_f32 * S ) { arm_status status; @@ -99,7 +99,7 @@ arm_status arm_rfft_fast_init_64_f32( arm_rfft_fast_instance_f32 * S ) { - \ref ARM_MATH_ARGUMENT_ERROR : an error is detected */ -arm_status arm_rfft_fast_init_128_f32( arm_rfft_fast_instance_f32 * S ) { +ARM_DSP_ATTRIBUTE arm_status arm_rfft_fast_init_128_f32( arm_rfft_fast_instance_f32 * S ) { arm_status status; @@ -125,7 +125,7 @@ arm_status arm_rfft_fast_init_128_f32( arm_rfft_fast_instance_f32 * S ) { - \ref ARM_MATH_ARGUMENT_ERROR : an error is detected */ -arm_status arm_rfft_fast_init_256_f32( arm_rfft_fast_instance_f32 * S ) { +ARM_DSP_ATTRIBUTE arm_status arm_rfft_fast_init_256_f32( arm_rfft_fast_instance_f32 * S ) { arm_status status; @@ -151,7 +151,7 @@ arm_status arm_rfft_fast_init_256_f32( arm_rfft_fast_instance_f32 * S ) { - \ref ARM_MATH_ARGUMENT_ERROR : an error is detected */ -arm_status arm_rfft_fast_init_512_f32( arm_rfft_fast_instance_f32 * S ) { +ARM_DSP_ATTRIBUTE arm_status arm_rfft_fast_init_512_f32( arm_rfft_fast_instance_f32 * S ) { arm_status status; @@ -177,7 +177,7 @@ arm_status arm_rfft_fast_init_512_f32( arm_rfft_fast_instance_f32 * S ) { - \ref ARM_MATH_ARGUMENT_ERROR : an error is detected */ -arm_status arm_rfft_fast_init_1024_f32( arm_rfft_fast_instance_f32 * S ) { +ARM_DSP_ATTRIBUTE arm_status arm_rfft_fast_init_1024_f32( arm_rfft_fast_instance_f32 * S ) { arm_status status; @@ -202,7 +202,7 @@ arm_status arm_rfft_fast_init_1024_f32( arm_rfft_fast_instance_f32 * S ) { - \ref ARM_MATH_SUCCESS : Operation successful - \ref ARM_MATH_ARGUMENT_ERROR : an error is detected */ -arm_status arm_rfft_fast_init_2048_f32( arm_rfft_fast_instance_f32 * S ) { +ARM_DSP_ATTRIBUTE arm_status arm_rfft_fast_init_2048_f32( arm_rfft_fast_instance_f32 * S ) { arm_status status; @@ -228,7 +228,7 @@ arm_status arm_rfft_fast_init_2048_f32( arm_rfft_fast_instance_f32 * S ) { - \ref ARM_MATH_ARGUMENT_ERROR : an error is detected */ -arm_status arm_rfft_fast_init_4096_f32( arm_rfft_fast_instance_f32 * S ) { +ARM_DSP_ATTRIBUTE arm_status arm_rfft_fast_init_4096_f32( arm_rfft_fast_instance_f32 * S ) { arm_status status; @@ -274,7 +274,7 @@ arm_status arm_rfft_fast_init_4096_f32( arm_rfft_fast_instance_f32 * S ) { */ -arm_status arm_rfft_fast_init_f32( +ARM_DSP_ATTRIBUTE arm_status arm_rfft_fast_init_f32( arm_rfft_fast_instance_f32 * S, uint16_t fftLen) { diff --git a/Source/TransformFunctions/arm_rfft_fast_init_f64.c b/Source/TransformFunctions/arm_rfft_fast_init_f64.c index 37a0a8e4f..76a99b86b 100755 --- a/Source/TransformFunctions/arm_rfft_fast_init_f64.c +++ b/Source/TransformFunctions/arm_rfft_fast_init_f64.c @@ -47,7 +47,7 @@ - \ref ARM_MATH_ARGUMENT_ERROR : an error is detected */ -arm_status arm_rfft_fast_init_32_f64( arm_rfft_fast_instance_f64 * S ) { +ARM_DSP_ATTRIBUTE arm_status arm_rfft_fast_init_32_f64( arm_rfft_fast_instance_f64 * S ) { arm_cfft_instance_f64 * Sint; @@ -74,7 +74,7 @@ arm_status arm_rfft_fast_init_32_f64( arm_rfft_fast_instance_f64 * S ) { - \ref ARM_MATH_ARGUMENT_ERROR : an error is detected */ -arm_status arm_rfft_fast_init_64_f64( arm_rfft_fast_instance_f64 * S ) { +ARM_DSP_ATTRIBUTE arm_status arm_rfft_fast_init_64_f64( arm_rfft_fast_instance_f64 * S ) { arm_cfft_instance_f64 * Sint; @@ -101,7 +101,7 @@ arm_status arm_rfft_fast_init_64_f64( arm_rfft_fast_instance_f64 * S ) { - \ref ARM_MATH_ARGUMENT_ERROR : an error is detected */ -arm_status arm_rfft_fast_init_128_f64( arm_rfft_fast_instance_f64 * S ) { +ARM_DSP_ATTRIBUTE arm_status arm_rfft_fast_init_128_f64( arm_rfft_fast_instance_f64 * S ) { arm_cfft_instance_f64 * Sint; @@ -128,7 +128,7 @@ arm_status arm_rfft_fast_init_128_f64( arm_rfft_fast_instance_f64 * S ) { - \ref ARM_MATH_ARGUMENT_ERROR : an error is detected */ -arm_status arm_rfft_fast_init_256_f64( arm_rfft_fast_instance_f64 * S ) { +ARM_DSP_ATTRIBUTE arm_status arm_rfft_fast_init_256_f64( arm_rfft_fast_instance_f64 * S ) { arm_cfft_instance_f64 * Sint; @@ -155,7 +155,7 @@ arm_status arm_rfft_fast_init_256_f64( arm_rfft_fast_instance_f64 * S ) { - \ref ARM_MATH_ARGUMENT_ERROR : an error is detected */ -arm_status arm_rfft_fast_init_512_f64( arm_rfft_fast_instance_f64 * S ) { +ARM_DSP_ATTRIBUTE arm_status arm_rfft_fast_init_512_f64( arm_rfft_fast_instance_f64 * S ) { arm_cfft_instance_f64 * Sint; @@ -181,7 +181,7 @@ arm_status arm_rfft_fast_init_512_f64( arm_rfft_fast_instance_f64 * S ) { - \ref ARM_MATH_ARGUMENT_ERROR : an error is detected */ -arm_status arm_rfft_fast_init_1024_f64( arm_rfft_fast_instance_f64 * S ) { +ARM_DSP_ATTRIBUTE arm_status arm_rfft_fast_init_1024_f64( arm_rfft_fast_instance_f64 * S ) { arm_cfft_instance_f64 * Sint; @@ -206,7 +206,7 @@ arm_status arm_rfft_fast_init_1024_f64( arm_rfft_fast_instance_f64 * S ) { - \ref ARM_MATH_SUCCESS : Operation successful - \ref ARM_MATH_ARGUMENT_ERROR : an error is detected */ -arm_status arm_rfft_fast_init_2048_f64( arm_rfft_fast_instance_f64 * S ) { +ARM_DSP_ATTRIBUTE arm_status arm_rfft_fast_init_2048_f64( arm_rfft_fast_instance_f64 * S ) { arm_cfft_instance_f64 * Sint; @@ -232,7 +232,7 @@ arm_status arm_rfft_fast_init_2048_f64( arm_rfft_fast_instance_f64 * S ) { - \ref ARM_MATH_ARGUMENT_ERROR : an error is detected */ -arm_status arm_rfft_fast_init_4096_f64( arm_rfft_fast_instance_f64 * S ) { +ARM_DSP_ATTRIBUTE arm_status arm_rfft_fast_init_4096_f64( arm_rfft_fast_instance_f64 * S ) { arm_cfft_instance_f64 * Sint; @@ -278,7 +278,7 @@ arm_status arm_rfft_fast_init_4096_f64( arm_rfft_fast_instance_f64 * S ) { */ -arm_status arm_rfft_fast_init_f64( +ARM_DSP_ATTRIBUTE arm_status arm_rfft_fast_init_f64( arm_rfft_fast_instance_f64 * S, uint16_t fftLen) { diff --git a/Source/TransformFunctions/arm_rfft_init_f32.c b/Source/TransformFunctions/arm_rfft_init_f32.c index 408548d5d..2be9387be 100644 --- a/Source/TransformFunctions/arm_rfft_init_f32.c +++ b/Source/TransformFunctions/arm_rfft_init_f32.c @@ -68,7 +68,7 @@ This function also initializes Twiddle factor table. */ -arm_status arm_rfft_init_f32( +ARM_DSP_ATTRIBUTE arm_status arm_rfft_init_f32( arm_rfft_instance_f32 * S, arm_cfft_radix4_instance_f32 * S_CFFT, uint32_t fftLenReal, diff --git a/Source/TransformFunctions/arm_rfft_init_q15.c b/Source/TransformFunctions/arm_rfft_init_q15.c index 60e19fc52..94510230e 100644 --- a/Source/TransformFunctions/arm_rfft_init_q15.c +++ b/Source/TransformFunctions/arm_rfft_init_q15.c @@ -46,7 +46,7 @@ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) #define RFFTINIT_Q15(LEN,CFFTLEN,TWIDMOD) \ -arm_status arm_rfft_init_##LEN##_q15( arm_rfft_instance_q15 * S, \ +ARM_DSP_ATTRIBUTE arm_status arm_rfft_init_##LEN##_q15( arm_rfft_instance_q15 * S, \ uint32_t ifftFlagR, \ uint32_t bitReverseFlag ) \ { \ @@ -78,7 +78,7 @@ arm_status arm_rfft_init_##LEN##_q15( arm_rfft_instance_q15 * S, \ } #else #define RFFTINIT_Q15(LEN,CFFTLEN,TWIDMOD) \ -arm_status arm_rfft_init_##LEN##_q15( arm_rfft_instance_q15 * S, \ +ARM_DSP_ATTRIBUTE arm_status arm_rfft_init_##LEN##_q15( arm_rfft_instance_q15 * S, \ uint32_t ifftFlagR, \ uint32_t bitReverseFlag ) \ { \ @@ -362,7 +362,7 @@ RFFTINIT_Q15(32,16,256) */ -arm_status arm_rfft_init_q15( +ARM_DSP_ATTRIBUTE arm_status arm_rfft_init_q15( arm_rfft_instance_q15 * S, uint32_t fftLenReal, uint32_t ifftFlagR, diff --git a/Source/TransformFunctions/arm_rfft_init_q31.c b/Source/TransformFunctions/arm_rfft_init_q31.c index 085fea144..c81681243 100644 --- a/Source/TransformFunctions/arm_rfft_init_q31.c +++ b/Source/TransformFunctions/arm_rfft_init_q31.c @@ -46,7 +46,7 @@ #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) #define RFFTINIT_Q31(LEN,CFFTLEN,TWIDMOD) \ -arm_status arm_rfft_init_##LEN##_q31( arm_rfft_instance_q31 * S, \ +ARM_DSP_ATTRIBUTE arm_status arm_rfft_init_##LEN##_q31( arm_rfft_instance_q31 * S, \ uint32_t ifftFlagR, \ uint32_t bitReverseFlag ) \ { \ @@ -77,7 +77,7 @@ arm_status arm_rfft_init_##LEN##_q31( arm_rfft_instance_q31 * S, \ } #else #define RFFTINIT_Q31(LEN,CFFTLEN,TWIDMOD) \ -arm_status arm_rfft_init_##LEN##_q31( arm_rfft_instance_q31 * S, \ +ARM_DSP_ATTRIBUTE arm_status arm_rfft_init_##LEN##_q31( arm_rfft_instance_q31 * S, \ uint32_t ifftFlagR, \ uint32_t bitReverseFlag ) \ { \ @@ -360,7 +360,7 @@ RFFTINIT_Q31(32,16,256) */ -arm_status arm_rfft_init_q31( +ARM_DSP_ATTRIBUTE arm_status arm_rfft_init_q31( arm_rfft_instance_q31 * S, uint32_t fftLenReal, uint32_t ifftFlagR, diff --git a/Source/TransformFunctions/arm_rfft_q15.c b/Source/TransformFunctions/arm_rfft_q15.c index 2704a457c..9e8d40df3 100644 --- a/Source/TransformFunctions/arm_rfft_q15.c +++ b/Source/TransformFunctions/arm_rfft_q15.c @@ -32,7 +32,7 @@ * Internal functions prototypes * -------------------------------------------------------------------- */ -void arm_split_rfft_q15( +ARM_DSP_ATTRIBUTE void arm_split_rfft_q15( q15_t * pSrc, uint32_t fftLen, const q15_t * pATable, @@ -40,7 +40,7 @@ void arm_split_rfft_q15( q15_t * pDst, uint32_t modifier); -void arm_split_rifft_q15( +ARM_DSP_ATTRIBUTE void arm_split_rifft_q15( q15_t * pSrc, uint32_t fftLen, const q15_t * pATable, @@ -101,7 +101,7 @@ void arm_split_rifft_q15( It is not using the packing trick of the float version. */ -void arm_rfft_q15( +ARM_DSP_ATTRIBUTE void arm_rfft_q15( const arm_rfft_instance_q15 * S, q15_t * pSrc, q15_t * pDst) @@ -165,7 +165,7 @@ void arm_rfft_q15( #endif -void arm_split_rfft_q15( +ARM_DSP_ATTRIBUTE void arm_split_rfft_q15( q15_t * pSrc, uint32_t fftLen, const q15_t * pATable, @@ -228,7 +228,7 @@ void arm_split_rfft_q15( pDst[1] = 0; } #else -void arm_split_rfft_q15( +ARM_DSP_ATTRIBUTE void arm_split_rfft_q15( q15_t * pSrc, uint32_t fftLen, const q15_t * pATable, @@ -390,7 +390,7 @@ void arm_split_rfft_q15( #include "arm_helium_utils.h" #include "arm_vec_fft.h" -void arm_split_rifft_q15( +ARM_DSP_ATTRIBUTE void arm_split_rifft_q15( q15_t * pSrc, uint32_t fftLen, const q15_t * pATable, @@ -447,7 +447,7 @@ void arm_split_rifft_q15( } } #else -void arm_split_rifft_q15( +ARM_DSP_ATTRIBUTE void arm_split_rifft_q15( q15_t * pSrc, uint32_t fftLen, const q15_t * pATable, diff --git a/Source/TransformFunctions/arm_rfft_q31.c b/Source/TransformFunctions/arm_rfft_q31.c index 410976633..43174e617 100644 --- a/Source/TransformFunctions/arm_rfft_q31.c +++ b/Source/TransformFunctions/arm_rfft_q31.c @@ -32,7 +32,7 @@ * Internal functions prototypes * -------------------------------------------------------------------- */ -void arm_split_rfft_q31( +ARM_DSP_ATTRIBUTE void arm_split_rfft_q31( q31_t * pSrc, uint32_t fftLen, const q31_t * pATable, @@ -40,7 +40,7 @@ void arm_split_rfft_q31( q31_t * pDst, uint32_t modifier); -void arm_split_rifft_q31( +ARM_DSP_ATTRIBUTE void arm_split_rifft_q31( q31_t * pSrc, uint32_t fftLen, const q31_t * pATable, @@ -102,7 +102,7 @@ void arm_split_rifft_q31( */ -void arm_rfft_q31( +ARM_DSP_ATTRIBUTE void arm_rfft_q31( const arm_rfft_instance_q31 * S, q31_t * pSrc, q31_t * pDst) @@ -164,7 +164,7 @@ void arm_rfft_q31( #endif -void arm_split_rfft_q31( +ARM_DSP_ATTRIBUTE void arm_split_rfft_q31( q31_t *pSrc, uint32_t fftLen, const q31_t *pATable, @@ -222,7 +222,7 @@ void arm_split_rfft_q31( pDst[1] = 0; } #else -void arm_split_rfft_q31( +ARM_DSP_ATTRIBUTE void arm_split_rfft_q31( q31_t * pSrc, uint32_t fftLen, const q31_t * pATable, @@ -321,7 +321,7 @@ void arm_split_rfft_q31( #if defined(ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE) -void arm_split_rifft_q31( +ARM_DSP_ATTRIBUTE void arm_split_rifft_q31( q31_t * pSrc, uint32_t fftLen, const q31_t * pATable, @@ -375,7 +375,7 @@ void arm_split_rifft_q31( } } #else -void arm_split_rifft_q31( +ARM_DSP_ATTRIBUTE void arm_split_rifft_q31( q31_t * pSrc, uint32_t fftLen, const q31_t * pATable, diff --git a/Source/WindowFunctions/arm_bartlett_f32.c b/Source/WindowFunctions/arm_bartlett_f32.c index 352a563a6..0a4d859a1 100644 --- a/Source/WindowFunctions/arm_bartlett_f32.c +++ b/Source/WindowFunctions/arm_bartlett_f32.c @@ -68,7 +68,7 @@ -void arm_bartlett_f32( +ARM_DSP_ATTRIBUTE void arm_bartlett_f32( float32_t * pDst, uint32_t blockSize) { diff --git a/Source/WindowFunctions/arm_bartlett_f64.c b/Source/WindowFunctions/arm_bartlett_f64.c index b0f9b79b1..cf88c0853 100644 --- a/Source/WindowFunctions/arm_bartlett_f64.c +++ b/Source/WindowFunctions/arm_bartlett_f64.c @@ -64,7 +64,7 @@ -void arm_bartlett_f64( +ARM_DSP_ATTRIBUTE void arm_bartlett_f64( float64_t * pDst, uint32_t blockSize) { diff --git a/Source/WindowFunctions/arm_blackman_harris_92db_f32.c b/Source/WindowFunctions/arm_blackman_harris_92db_f32.c index 3440c5db4..312e96fc3 100644 --- a/Source/WindowFunctions/arm_blackman_harris_92db_f32.c +++ b/Source/WindowFunctions/arm_blackman_harris_92db_f32.c @@ -69,7 +69,7 @@ -void arm_blackman_harris_92db_f32( +ARM_DSP_ATTRIBUTE void arm_blackman_harris_92db_f32( float32_t * pDst, uint32_t blockSize) { diff --git a/Source/WindowFunctions/arm_blackman_harris_92db_f64.c b/Source/WindowFunctions/arm_blackman_harris_92db_f64.c index 5126a1fc3..cea7c871d 100644 --- a/Source/WindowFunctions/arm_blackman_harris_92db_f64.c +++ b/Source/WindowFunctions/arm_blackman_harris_92db_f64.c @@ -65,7 +65,7 @@ -void arm_blackman_harris_92db_f64( +ARM_DSP_ATTRIBUTE void arm_blackman_harris_92db_f64( float64_t * pDst, uint32_t blockSize) { diff --git a/Source/WindowFunctions/arm_hamming_f32.c b/Source/WindowFunctions/arm_hamming_f32.c index a14cbe073..9ff0c9247 100644 --- a/Source/WindowFunctions/arm_hamming_f32.c +++ b/Source/WindowFunctions/arm_hamming_f32.c @@ -69,7 +69,7 @@ -void arm_hamming_f32( +ARM_DSP_ATTRIBUTE void arm_hamming_f32( float32_t * pDst, uint32_t blockSize) { diff --git a/Source/WindowFunctions/arm_hamming_f64.c b/Source/WindowFunctions/arm_hamming_f64.c index d3b0a406d..b0f0d5f5d 100644 --- a/Source/WindowFunctions/arm_hamming_f64.c +++ b/Source/WindowFunctions/arm_hamming_f64.c @@ -65,7 +65,7 @@ -void arm_hamming_f64( +ARM_DSP_ATTRIBUTE void arm_hamming_f64( float64_t * pDst, uint32_t blockSize) { diff --git a/Source/WindowFunctions/arm_hanning_f32.c b/Source/WindowFunctions/arm_hanning_f32.c index ce4c7a810..b3291f644 100644 --- a/Source/WindowFunctions/arm_hanning_f32.c +++ b/Source/WindowFunctions/arm_hanning_f32.c @@ -70,7 +70,7 @@ -void arm_hanning_f32( +ARM_DSP_ATTRIBUTE void arm_hanning_f32( float32_t * pDst, uint32_t blockSize) { diff --git a/Source/WindowFunctions/arm_hanning_f64.c b/Source/WindowFunctions/arm_hanning_f64.c index 0612365ae..405c68531 100644 --- a/Source/WindowFunctions/arm_hanning_f64.c +++ b/Source/WindowFunctions/arm_hanning_f64.c @@ -66,7 +66,7 @@ -void arm_hanning_f64( +ARM_DSP_ATTRIBUTE void arm_hanning_f64( float64_t * pDst, uint32_t blockSize) { diff --git a/Source/WindowFunctions/arm_hft116d_f32.c b/Source/WindowFunctions/arm_hft116d_f32.c index c956ba980..78f1ace35 100644 --- a/Source/WindowFunctions/arm_hft116d_f32.c +++ b/Source/WindowFunctions/arm_hft116d_f32.c @@ -84,7 +84,7 @@ Teilinstitut Hannover -void arm_hft116d_f32( +ARM_DSP_ATTRIBUTE void arm_hft116d_f32( float32_t * pDst, uint32_t blockSize) { diff --git a/Source/WindowFunctions/arm_hft116d_f64.c b/Source/WindowFunctions/arm_hft116d_f64.c index 8729946f9..b9fb59bdb 100644 --- a/Source/WindowFunctions/arm_hft116d_f64.c +++ b/Source/WindowFunctions/arm_hft116d_f64.c @@ -80,7 +80,7 @@ Teilinstitut Hannover -void arm_hft116d_f64( +ARM_DSP_ATTRIBUTE void arm_hft116d_f64( float64_t * pDst, uint32_t blockSize) { diff --git a/Source/WindowFunctions/arm_hft144d_f32.c b/Source/WindowFunctions/arm_hft144d_f32.c index 5de643044..44912fb81 100644 --- a/Source/WindowFunctions/arm_hft144d_f32.c +++ b/Source/WindowFunctions/arm_hft144d_f32.c @@ -83,7 +83,7 @@ Teilinstitut Hannover -void arm_hft144d_f32( +ARM_DSP_ATTRIBUTE void arm_hft144d_f32( float32_t * pDst, uint32_t blockSize) { diff --git a/Source/WindowFunctions/arm_hft144d_f64.c b/Source/WindowFunctions/arm_hft144d_f64.c index d56be82af..06a4d738a 100644 --- a/Source/WindowFunctions/arm_hft144d_f64.c +++ b/Source/WindowFunctions/arm_hft144d_f64.c @@ -79,7 +79,7 @@ Teilinstitut Hannover -void arm_hft144d_f64( +ARM_DSP_ATTRIBUTE void arm_hft144d_f64( float64_t * pDst, uint32_t blockSize) { diff --git a/Source/WindowFunctions/arm_hft169d_f32.c b/Source/WindowFunctions/arm_hft169d_f32.c index 160fcb562..43bee496d 100644 --- a/Source/WindowFunctions/arm_hft169d_f32.c +++ b/Source/WindowFunctions/arm_hft169d_f32.c @@ -83,7 +83,7 @@ Teilinstitut Hannover -void arm_hft169d_f32( +ARM_DSP_ATTRIBUTE void arm_hft169d_f32( float32_t * pDst, uint32_t blockSize) { diff --git a/Source/WindowFunctions/arm_hft169d_f64.c b/Source/WindowFunctions/arm_hft169d_f64.c index 474de850b..2d6263d8d 100644 --- a/Source/WindowFunctions/arm_hft169d_f64.c +++ b/Source/WindowFunctions/arm_hft169d_f64.c @@ -79,7 +79,7 @@ Teilinstitut Hannover -void arm_hft169d_f64( +ARM_DSP_ATTRIBUTE void arm_hft169d_f64( float64_t * pDst, uint32_t blockSize) { diff --git a/Source/WindowFunctions/arm_hft196d_f32.c b/Source/WindowFunctions/arm_hft196d_f32.c index 85a4ad38b..6190e462b 100644 --- a/Source/WindowFunctions/arm_hft196d_f32.c +++ b/Source/WindowFunctions/arm_hft196d_f32.c @@ -83,7 +83,7 @@ Teilinstitut Hannover -void arm_hft196d_f32( +ARM_DSP_ATTRIBUTE void arm_hft196d_f32( float32_t * pDst, uint32_t blockSize) { diff --git a/Source/WindowFunctions/arm_hft196d_f64.c b/Source/WindowFunctions/arm_hft196d_f64.c index 9ad520bb6..001e24de3 100644 --- a/Source/WindowFunctions/arm_hft196d_f64.c +++ b/Source/WindowFunctions/arm_hft196d_f64.c @@ -79,7 +79,7 @@ Teilinstitut Hannover -void arm_hft196d_f64( +ARM_DSP_ATTRIBUTE void arm_hft196d_f64( float64_t * pDst, uint32_t blockSize) { diff --git a/Source/WindowFunctions/arm_hft223d_f32.c b/Source/WindowFunctions/arm_hft223d_f32.c index 23bc5beaa..0f587cf2d 100644 --- a/Source/WindowFunctions/arm_hft223d_f32.c +++ b/Source/WindowFunctions/arm_hft223d_f32.c @@ -83,7 +83,7 @@ Teilinstitut Hannover -void arm_hft223d_f32( +ARM_DSP_ATTRIBUTE void arm_hft223d_f32( float32_t * pDst, uint32_t blockSize) { diff --git a/Source/WindowFunctions/arm_hft223d_f64.c b/Source/WindowFunctions/arm_hft223d_f64.c index 1c4141cb1..9f1e3efa7 100644 --- a/Source/WindowFunctions/arm_hft223d_f64.c +++ b/Source/WindowFunctions/arm_hft223d_f64.c @@ -79,7 +79,7 @@ Teilinstitut Hannover -void arm_hft223d_f64( +ARM_DSP_ATTRIBUTE void arm_hft223d_f64( float64_t * pDst, uint32_t blockSize) { diff --git a/Source/WindowFunctions/arm_hft248d_f32.c b/Source/WindowFunctions/arm_hft248d_f32.c index 1a0cd47da..c9fad10ed 100644 --- a/Source/WindowFunctions/arm_hft248d_f32.c +++ b/Source/WindowFunctions/arm_hft248d_f32.c @@ -83,7 +83,7 @@ Teilinstitut Hannover -void arm_hft248d_f32( +ARM_DSP_ATTRIBUTE void arm_hft248d_f32( float32_t * pDst, uint32_t blockSize) { diff --git a/Source/WindowFunctions/arm_hft248d_f64.c b/Source/WindowFunctions/arm_hft248d_f64.c index d6f768194..8111f356a 100644 --- a/Source/WindowFunctions/arm_hft248d_f64.c +++ b/Source/WindowFunctions/arm_hft248d_f64.c @@ -79,7 +79,7 @@ Teilinstitut Hannover -void arm_hft248d_f64( +ARM_DSP_ATTRIBUTE void arm_hft248d_f64( float64_t * pDst, uint32_t blockSize) { diff --git a/Source/WindowFunctions/arm_hft90d_f32.c b/Source/WindowFunctions/arm_hft90d_f32.c index f8b38b002..bab2ed52b 100644 --- a/Source/WindowFunctions/arm_hft90d_f32.c +++ b/Source/WindowFunctions/arm_hft90d_f32.c @@ -84,7 +84,7 @@ Teilinstitut Hannover -void arm_hft90d_f32( +ARM_DSP_ATTRIBUTE void arm_hft90d_f32( float32_t * pDst, uint32_t blockSize) { diff --git a/Source/WindowFunctions/arm_hft90d_f64.c b/Source/WindowFunctions/arm_hft90d_f64.c index 40d07d3c6..a58af7e03 100644 --- a/Source/WindowFunctions/arm_hft90d_f64.c +++ b/Source/WindowFunctions/arm_hft90d_f64.c @@ -91,7 +91,7 @@ Teilinstitut Hannover -void arm_hft90d_f64( +ARM_DSP_ATTRIBUTE void arm_hft90d_f64( float64_t * pDst, uint32_t blockSize) { diff --git a/Source/WindowFunctions/arm_hft95_f32.c b/Source/WindowFunctions/arm_hft95_f32.c index cef48d666..3ceac5daa 100644 --- a/Source/WindowFunctions/arm_hft95_f32.c +++ b/Source/WindowFunctions/arm_hft95_f32.c @@ -83,7 +83,7 @@ Teilinstitut Hannover -void arm_hft95_f32( +ARM_DSP_ATTRIBUTE void arm_hft95_f32( float32_t * pDst, uint32_t blockSize) { diff --git a/Source/WindowFunctions/arm_hft95_f64.c b/Source/WindowFunctions/arm_hft95_f64.c index 2c508a544..88b446de9 100644 --- a/Source/WindowFunctions/arm_hft95_f64.c +++ b/Source/WindowFunctions/arm_hft95_f64.c @@ -79,7 +79,7 @@ Teilinstitut Hannover -void arm_hft95_f64( +ARM_DSP_ATTRIBUTE void arm_hft95_f64( float64_t * pDst, uint32_t blockSize) { diff --git a/Source/WindowFunctions/arm_nuttall3_f32.c b/Source/WindowFunctions/arm_nuttall3_f32.c index 87a2052b2..c0bee3abc 100644 --- a/Source/WindowFunctions/arm_nuttall3_f32.c +++ b/Source/WindowFunctions/arm_nuttall3_f32.c @@ -69,7 +69,7 @@ -void arm_nuttall3_f32( +ARM_DSP_ATTRIBUTE void arm_nuttall3_f32( float32_t * pDst, uint32_t blockSize) { diff --git a/Source/WindowFunctions/arm_nuttall3_f64.c b/Source/WindowFunctions/arm_nuttall3_f64.c index cbc414b2e..6d57d22d7 100644 --- a/Source/WindowFunctions/arm_nuttall3_f64.c +++ b/Source/WindowFunctions/arm_nuttall3_f64.c @@ -65,7 +65,7 @@ -void arm_nuttall3_f64( +ARM_DSP_ATTRIBUTE void arm_nuttall3_f64( float64_t * pDst, uint32_t blockSize) { diff --git a/Source/WindowFunctions/arm_nuttall3a_f32.c b/Source/WindowFunctions/arm_nuttall3a_f32.c index b500c3eb1..e23e4ecba 100644 --- a/Source/WindowFunctions/arm_nuttall3a_f32.c +++ b/Source/WindowFunctions/arm_nuttall3a_f32.c @@ -70,7 +70,7 @@ -void arm_nuttall3a_f32( +ARM_DSP_ATTRIBUTE void arm_nuttall3a_f32( float32_t * pDst, uint32_t blockSize) { diff --git a/Source/WindowFunctions/arm_nuttall3a_f64.c b/Source/WindowFunctions/arm_nuttall3a_f64.c index 115aa8409..d567d7cba 100644 --- a/Source/WindowFunctions/arm_nuttall3a_f64.c +++ b/Source/WindowFunctions/arm_nuttall3a_f64.c @@ -66,7 +66,7 @@ -void arm_nuttall3a_f64( +ARM_DSP_ATTRIBUTE void arm_nuttall3a_f64( float64_t * pDst, uint32_t blockSize) { diff --git a/Source/WindowFunctions/arm_nuttall3b_f32.c b/Source/WindowFunctions/arm_nuttall3b_f32.c index 14b7b007d..da30b5235 100644 --- a/Source/WindowFunctions/arm_nuttall3b_f32.c +++ b/Source/WindowFunctions/arm_nuttall3b_f32.c @@ -70,7 +70,7 @@ -void arm_nuttall3b_f32( +ARM_DSP_ATTRIBUTE void arm_nuttall3b_f32( float32_t * pDst, uint32_t blockSize) { diff --git a/Source/WindowFunctions/arm_nuttall3b_f64.c b/Source/WindowFunctions/arm_nuttall3b_f64.c index c6df9ee90..3956eb149 100644 --- a/Source/WindowFunctions/arm_nuttall3b_f64.c +++ b/Source/WindowFunctions/arm_nuttall3b_f64.c @@ -66,7 +66,7 @@ -void arm_nuttall3b_f64( +ARM_DSP_ATTRIBUTE void arm_nuttall3b_f64( float64_t * pDst, uint32_t blockSize) { diff --git a/Source/WindowFunctions/arm_nuttall4_f32.c b/Source/WindowFunctions/arm_nuttall4_f32.c index 0d78f3cfd..be8bd95a9 100644 --- a/Source/WindowFunctions/arm_nuttall4_f32.c +++ b/Source/WindowFunctions/arm_nuttall4_f32.c @@ -69,7 +69,7 @@ -void arm_nuttall4_f32( +ARM_DSP_ATTRIBUTE void arm_nuttall4_f32( float32_t * pDst, uint32_t blockSize) { diff --git a/Source/WindowFunctions/arm_nuttall4_f64.c b/Source/WindowFunctions/arm_nuttall4_f64.c index e232b2a13..2a3bfef7d 100644 --- a/Source/WindowFunctions/arm_nuttall4_f64.c +++ b/Source/WindowFunctions/arm_nuttall4_f64.c @@ -65,7 +65,7 @@ -void arm_nuttall4_f64( +ARM_DSP_ATTRIBUTE void arm_nuttall4_f64( float64_t * pDst, uint32_t blockSize) { diff --git a/Source/WindowFunctions/arm_nuttall4a_f32.c b/Source/WindowFunctions/arm_nuttall4a_f32.c index f2fdb0376..1d889baa2 100644 --- a/Source/WindowFunctions/arm_nuttall4a_f32.c +++ b/Source/WindowFunctions/arm_nuttall4a_f32.c @@ -70,7 +70,7 @@ -void arm_nuttall4a_f32( +ARM_DSP_ATTRIBUTE void arm_nuttall4a_f32( float32_t * pDst, uint32_t blockSize) { diff --git a/Source/WindowFunctions/arm_nuttall4a_f64.c b/Source/WindowFunctions/arm_nuttall4a_f64.c index ba1c8d8a4..080a8adf1 100644 --- a/Source/WindowFunctions/arm_nuttall4a_f64.c +++ b/Source/WindowFunctions/arm_nuttall4a_f64.c @@ -66,7 +66,7 @@ -void arm_nuttall4a_f64( +ARM_DSP_ATTRIBUTE void arm_nuttall4a_f64( float64_t * pDst, uint32_t blockSize) { diff --git a/Source/WindowFunctions/arm_nuttall4b_f32.c b/Source/WindowFunctions/arm_nuttall4b_f32.c index fb37593bf..44cf3ed76 100644 --- a/Source/WindowFunctions/arm_nuttall4b_f32.c +++ b/Source/WindowFunctions/arm_nuttall4b_f32.c @@ -70,7 +70,7 @@ -void arm_nuttall4b_f32( +ARM_DSP_ATTRIBUTE void arm_nuttall4b_f32( float32_t * pDst, uint32_t blockSize) { diff --git a/Source/WindowFunctions/arm_nuttall4b_f64.c b/Source/WindowFunctions/arm_nuttall4b_f64.c index 5ccaa4189..b3ef4acdc 100644 --- a/Source/WindowFunctions/arm_nuttall4b_f64.c +++ b/Source/WindowFunctions/arm_nuttall4b_f64.c @@ -66,7 +66,7 @@ -void arm_nuttall4b_f64( +ARM_DSP_ATTRIBUTE void arm_nuttall4b_f64( float64_t * pDst, uint32_t blockSize) { diff --git a/Source/WindowFunctions/arm_nuttall4c_f32.c b/Source/WindowFunctions/arm_nuttall4c_f32.c index f3db93dde..23e0f78a1 100644 --- a/Source/WindowFunctions/arm_nuttall4c_f32.c +++ b/Source/WindowFunctions/arm_nuttall4c_f32.c @@ -69,7 +69,7 @@ -void arm_nuttall4c_f32( +ARM_DSP_ATTRIBUTE void arm_nuttall4c_f32( float32_t * pDst, uint32_t blockSize) { diff --git a/Source/WindowFunctions/arm_nuttall4c_f64.c b/Source/WindowFunctions/arm_nuttall4c_f64.c index 8c918a0ff..11bb8cc3d 100644 --- a/Source/WindowFunctions/arm_nuttall4c_f64.c +++ b/Source/WindowFunctions/arm_nuttall4c_f64.c @@ -65,7 +65,7 @@ -void arm_nuttall4c_f64( +ARM_DSP_ATTRIBUTE void arm_nuttall4c_f64( float64_t * pDst, uint32_t blockSize) { diff --git a/Source/WindowFunctions/arm_welch_f32.c b/Source/WindowFunctions/arm_welch_f32.c index f30b580c7..812b47be1 100644 --- a/Source/WindowFunctions/arm_welch_f32.c +++ b/Source/WindowFunctions/arm_welch_f32.c @@ -68,7 +68,7 @@ -void arm_welch_f32( +ARM_DSP_ATTRIBUTE void arm_welch_f32( float32_t * pDst, uint32_t blockSize) { diff --git a/Source/WindowFunctions/arm_welch_f64.c b/Source/WindowFunctions/arm_welch_f64.c index 11d69c4a2..224e6e45b 100644 --- a/Source/WindowFunctions/arm_welch_f64.c +++ b/Source/WindowFunctions/arm_welch_f64.c @@ -73,7 +73,7 @@ -void arm_welch_f64( +ARM_DSP_ATTRIBUTE void arm_welch_f64( float64_t * pDst, uint32_t blockSize) { diff --git a/Testing/cmsis_build/cdefault.yml b/Testing/cmsis_build/cdefault.yml index 81eb557c2..f8eb36fec 100644 --- a/Testing/cmsis_build/cdefault.yml +++ b/Testing/cmsis_build/cdefault.yml @@ -28,6 +28,8 @@ default: - -Wno-parentheses-equality - -Wno-reserved-identifier - -ffunction-sections + - -DARM_DSP_ATTRIBUTE="__attribute__((weak))" + - -DARM_DSP_TABLE_ATTRIBUTE="__attribute__((section (\"dsp_table\")))" CPP: - -fno-rtti - -DNDEBUG @@ -68,6 +70,8 @@ default: - -Wno-maybe-uninitialized - -fdata-sections - -mfp16-format=ieee + - -DARM_DSP_ATTRIBUTE="__attribute__((weak))" + - -DARM_DSP_TABLE_ATTRIBUTE="__attribute__((section (\"dsp_table\")))" CPP: - -fno-rtti - -DNDEBUG @@ -116,6 +120,8 @@ default: - -Wno-parentheses-equality - -Wno-reserved-identifier - -ffunction-sections + - -DARM_DSP_ATTRIBUTE="__attribute__((weak))" + - -DARM_DSP_TABLE_ATTRIBUTE="__attribute__((section (\"dsp_table\")))" CPP: - -fno-rtti - -DNDEBUG