summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2024-05-17 09:32:01 +0200
committerGitHub <noreply@github.com>2024-05-17 09:32:01 +0200
commit4c123cc718d8a072470f667fc45f9d48de2d21b1 (patch)
tree2e621a1bd0a68cf5308eee32634cfc4b3a844575
parent00216db60b00596d6f80a5fd136a056a0ed97b8c (diff)
parent03b0049aa3a25a8b84b184f9d60ed7484f8d9f31 (diff)
Merge pull request #31235 from vespa-engine/balder/prefer-512-vector-width-for-avx512
Prefer 512 vector width for avx512
-rw-r--r--vespalib/src/vespa/vespalib/hwaccelrated/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/vespalib/src/vespa/vespalib/hwaccelrated/CMakeLists.txt b/vespalib/src/vespa/vespalib/hwaccelrated/CMakeLists.txt
index b13972a15c5..33545fdb2fe 100644
--- a/vespalib/src/vespa/vespalib/hwaccelrated/CMakeLists.txt
+++ b/vespalib/src/vespa/vespalib/hwaccelrated/CMakeLists.txt
@@ -14,4 +14,4 @@ vespa_add_library(vespalib_vespalib_hwaccelrated OBJECT
DEPENDS
)
set_source_files_properties(avx2.cpp PROPERTIES COMPILE_FLAGS "-O3 -march=haswell")
-set_source_files_properties(avx512.cpp PROPERTIES COMPILE_FLAGS "-O3 -march=skylake-avx512")
+set_source_files_properties(avx512.cpp PROPERTIES COMPILE_FLAGS "-O3 -march=skylake-avx512 -mprefer-vector-width=512")