aboutsummaryrefslogtreecommitdiff
path: root/math/v_exp_data.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2019-11-06 19:41:30 +0000
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2019-11-06 19:41:30 +0000
commit1f3b16380154f854d7f0a0e00e2d8899b7ee1a19 (patch)
tree66746f62286c82aceaff11d154950ad57e674405 /math/v_exp_data.c
parent675721a41a9648323550357486c1e9823a45e86c (diff)
downloadarm-optimized-routines-1f3b16380154f854d7f0a0e00e2d8899b7ee1a19.tar.gz
math: add WANT_VMATH feature macro
When defined as 0 the vector math code is not built and not tested.
Diffstat (limited to 'math/v_exp_data.c')
-rw-r--r--math/v_exp_data.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/math/v_exp_data.c b/math/v_exp_data.c
index 19b2701..3653554 100644
--- a/math/v_exp_data.c
+++ b/math/v_exp_data.c
@@ -6,6 +6,7 @@
*/
#include "v_exp.h"
+#if WANT_VMATH
#define N (1 << V_EXP_TABLE_BITS)
@@ -399,3 +400,4 @@ const u64_t __v_exp_data[] = {
0x3feff9d96b2a23d9,
#endif
};
+#endif