aboutsummaryrefslogtreecommitdiff
path: root/math/v_exp.h
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.h
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.h')
-rw-r--r--math/v_exp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/math/v_exp.h b/math/v_exp.h
index 38713d6..305da19 100644
--- a/math/v_exp.h
+++ b/math/v_exp.h
@@ -6,7 +6,9 @@
*/
#include "v_math.h"
+#if WANT_VMATH
#define V_EXP_TABLE_BITS 7
extern const u64_t __v_exp_data[1 << V_EXP_TABLE_BITS] HIDDEN;
+#endif