summaryrefslogtreecommitdiff
path: root/mbw.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbw.c')
-rw-r--r--mbw.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/mbw.c b/mbw.c
index 991c37a..e165bdb 100644
--- a/mbw.c
+++ b/mbw.c
@@ -639,7 +639,14 @@ int main(int argc, char **argv)
}
}
- /* default is to run all tests if no specific tests were requested */
+#ifndef HAVE_AVX512
+ if (tests[TEST_AVX512]) {
+ printf("Error: AVX512 memcpy requested, but this mbw build has been compiled without AVX512 support\n");
+ exit(1);
+ }
+#endif
+
+ /* default is to run most tests if no specific tests were requested */
if( (tests[0]+tests[1]+tests[2]+tests[3]+tests[4]+tests[5]) == 0) {
tests[0]=1;
tests[1]=1;