aboutsummaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorJack Lloyd <jack@randombit.net>2017-01-27 22:20:25 -0500
committerJack Lloyd <jack@randombit.net>2017-01-29 17:32:47 -0500
commit5373c67475ce087b3b3ebf11d2798749422a4fa7 (patch)
treeeade005363b5697ec335d880109eb1d7c710adf6 /configure.py
parent2b848242fe4f6c7023e86d7e916c73af30fb9cf0 (diff)
Set SIMD ISA flags when building test_simd.cpp
Return NEON from CPUID::has_simd_32
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.py b/configure.py
index 83fe6b053..29fea93b9 100755
--- a/configure.py
+++ b/configure.py
@@ -1356,6 +1356,10 @@ def gen_makefile_lists(var, build_config, options, modules, cc, arch, osinfo):
# default scalar
return []
+ if os.path.basename(src) == 'test_simd.cpp':
+ isas = list(simd_dependencies())
+ return get_isa_specific_flags(cc, isas)
+
for mod in modules:
if src in mod.sources():
isas = mod.need_isa