From 1f3b16380154f854d7f0a0e00e2d8899b7ee1a19 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Wed, 6 Nov 2019 19:41:30 +0000 Subject: math: add WANT_VMATH feature macro When defined as 0 the vector math code is not built and not tested. --- math/v_exp.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'math/v_exp.h') 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 -- cgit v1.2.3