diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2023-01-31 16:08:27 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2023-01-31 16:08:27 +0000 |
commit | 0fb36d107e58f52a130826948d7d44d2ed215e0b (patch) | |
tree | 8ab04de68dc541343e03a1a570a55bcd52329d9e | |
parent | 3af14c8943b9fe6af0f7a6b6b90b3d5d0fed7034 (diff) |
Always optimize avx implementations. If not compiler is unhappy.
-rw-r--r-- | vespalib/src/vespa/vespalib/hwaccelrated/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vespalib/src/vespa/vespalib/hwaccelrated/CMakeLists.txt b/vespalib/src/vespa/vespalib/hwaccelrated/CMakeLists.txt index d5a3ab429a9..84cd60887b7 100644 --- a/vespalib/src/vespa/vespalib/hwaccelrated/CMakeLists.txt +++ b/vespalib/src/vespa/vespalib/hwaccelrated/CMakeLists.txt @@ -13,5 +13,5 @@ vespa_add_library(vespalib_vespalib_hwaccelrated OBJECT ${ACCEL_FILES} DEPENDS ) -set_source_files_properties(avx2.cpp PROPERTIES COMPILE_FLAGS -march=haswell) -set_source_files_properties(avx512.cpp PROPERTIES COMPILE_FLAGS -march=skylake-avx512) +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") |