From 5b9ba993872225766fca895eb8612ea179a058ae Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Mon, 24 Mar 2025 09:25:03 +0100 Subject: only enable AVX512 tests by default if compiled with AVX512 --- mbw.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mbw.c b/mbw.c index d8c70da..153b11f 100644 --- a/mbw.c +++ b/mbw.c @@ -751,11 +751,13 @@ int main(int argc, char **argv) tests[0]=1; tests[1]=1; tests[2]=1; - tests[3]=1; tests[4]=1; tests[5]=1; +#if HAVE_AVX512 + tests[3]=1; tests[6]=1; tests[7]=1; +#endif } if( nr_loops==0 && ((tests[0]+tests[1]+tests[2]+tests[3]+tests[4]+tests[5]+tests[6]+tests[7]) != 1) ) { -- cgit v1.2.3