From a860256f88c8ebb3f74eb7e90ee89f05dedf3a7c Mon Sep 17 00:00:00 2001 From: Julian Taylor Date: Sat, 24 Sep 2016 12:45:01 +0200 Subject: MAINT: add runtime check for AVX macros --- numpy/core/setup_common.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'numpy/core/setup_common.py') diff --git a/numpy/core/setup_common.py b/numpy/core/setup_common.py index 2a42a0638..5e1396e6b 100644 --- a/numpy/core/setup_common.py +++ b/numpy/core/setup_common.py @@ -142,6 +142,8 @@ OPTIONAL_FUNCTION_ATTRIBUTES = [('__attribute__((optimize("unroll-loops")))', 'attribute_optimize_opt_3'), ('__attribute__((nonnull (1)))', 'attribute_nonnull'), + ('__attribute__((target ("avx")))', + 'attribute_target_avx'), ('__attribute__((target ("avx2")))', 'attribute_target_avx2'), ] -- cgit v1.2.1