• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1cmake_minimum_required (VERSION 3.14)
2
3
4set(SRCF64 BasicMathFunctions/arm_abs_f64.c
5BasicMathFunctions/arm_add_f64.c
6BasicMathFunctions/arm_dot_prod_f64.c
7BasicMathFunctions/arm_mult_f64.c
8BasicMathFunctions/arm_negate_f64.c
9BasicMathFunctions/arm_offset_f64.c
10BasicMathFunctions/arm_scale_f64.c
11BasicMathFunctions/arm_sub_f64.c
12)
13
14set(SRCF32 BasicMathFunctions/arm_abs_f32.c
15BasicMathFunctions/arm_add_f32.c
16BasicMathFunctions/arm_clip_f32.c
17BasicMathFunctions/arm_dot_prod_f32.c
18BasicMathFunctions/arm_mult_f32.c
19BasicMathFunctions/arm_negate_f32.c
20BasicMathFunctions/arm_offset_f32.c
21BasicMathFunctions/arm_scale_f32.c
22BasicMathFunctions/arm_sub_f32.c
23)
24
25set(SRCF16 BasicMathFunctions/arm_abs_f16.c
26BasicMathFunctions/arm_add_f16.c
27BasicMathFunctions/arm_clip_f16.c
28BasicMathFunctions/arm_dot_prod_f16.c
29BasicMathFunctions/arm_mult_f16.c
30BasicMathFunctions/arm_negate_f16.c
31BasicMathFunctions/arm_offset_f16.c
32BasicMathFunctions/arm_scale_f16.c
33BasicMathFunctions/arm_sub_f16.c
34)
35
36set(SRCQ31 BasicMathFunctions/arm_abs_q31.c
37BasicMathFunctions/arm_add_q31.c
38BasicMathFunctions/arm_clip_q31.c
39BasicMathFunctions/arm_dot_prod_q31.c
40BasicMathFunctions/arm_mult_q31.c
41BasicMathFunctions/arm_negate_q31.c
42BasicMathFunctions/arm_offset_q31.c
43BasicMathFunctions/arm_scale_q31.c
44BasicMathFunctions/arm_shift_q31.c
45BasicMathFunctions/arm_sub_q31.c
46)
47
48set(SRCQ15 BasicMathFunctions/arm_abs_q15.c
49BasicMathFunctions/arm_add_q15.c
50BasicMathFunctions/arm_clip_q15.c
51BasicMathFunctions/arm_dot_prod_q15.c
52BasicMathFunctions/arm_mult_q15.c
53BasicMathFunctions/arm_negate_q15.c
54BasicMathFunctions/arm_offset_q15.c
55BasicMathFunctions/arm_scale_q15.c
56BasicMathFunctions/arm_shift_q15.c
57BasicMathFunctions/arm_sub_q15.c
58)
59
60set(SRCQ7  BasicMathFunctions/arm_abs_q7.c
61BasicMathFunctions/arm_add_q7.c
62BasicMathFunctions/arm_clip_q7.c
63BasicMathFunctions/arm_dot_prod_q7.c
64BasicMathFunctions/arm_mult_q7.c
65BasicMathFunctions/arm_negate_q7.c
66BasicMathFunctions/arm_offset_q7.c
67BasicMathFunctions/arm_scale_q7.c
68BasicMathFunctions/arm_shift_q7.c
69BasicMathFunctions/arm_sub_q7.c
70)
71
72set(SRCU32 BasicMathFunctions/arm_and_u32.c
73BasicMathFunctions/arm_not_u32.c
74BasicMathFunctions/arm_or_u32.c
75BasicMathFunctions/arm_xor_u32.c
76)
77
78set(SRCU16 BasicMathFunctions/arm_and_u16.c
79BasicMathFunctions/arm_not_u16.c
80BasicMathFunctions/arm_or_u16.c
81BasicMathFunctions/arm_xor_u16.c
82)
83
84set(SRCU8  BasicMathFunctions/arm_and_u8.c
85BasicMathFunctions/arm_or_u8.c
86BasicMathFunctions/arm_not_u8.c
87BasicMathFunctions/arm_xor_u8.c)
88
89target_sources(CMSISDSP PRIVATE ${SRCF64})
90target_sources(CMSISDSP PRIVATE ${SRCF32})
91
92if ((NOT ARMAC5) AND (NOT DISABLEFLOAT16))
93target_sources(CMSISDSP PRIVATE ${SRCF16})
94endif()
95
96target_sources(CMSISDSP PRIVATE ${SRCQ31})
97target_sources(CMSISDSP PRIVATE ${SRCQ15})
98target_sources(CMSISDSP PRIVATE ${SRCQ7})
99
100target_sources(CMSISDSP PRIVATE ${SRCU32})
101target_sources(CMSISDSP PRIVATE ${SRCU16})
102target_sources(CMSISDSP PRIVATE ${SRCU8})
103
104
105