Commit f17ad001 authored by Guillaume BIENKOWSKI's avatar Guillaume BIENKOWSKI
Browse files

Enable NEON in SPEEX for perf tests

parent 1d38074b
......@@ -207,10 +207,8 @@ static void inner_product_test(void) {
test_sample2[i] = ortp_random() % 16384;
}
if( (libspeex_cpu_features & SPEEX_LIB_CPU_FEATURE_NEON) != SPEEX_LIB_CPU_FEATURE_NEON){
ms_error("Can't test NEON features, skipping");
return;
}
// ARM_NEON is enabled, we can force libspeex to use it
libspeex_cpu_features = SPEEX_LIB_CPU_FEATURE_NEON;
// disable neon & perform inner product
libspeex_cpu_features &= ~SPEEX_LIB_CPU_FEATURE_NEON;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment