From ebd5c6d44b0e5fb837acb6d41569be81fb250168 Mon Sep 17 00:00:00 2001 From: Antonio Sanchez Date: Wed, 22 Sep 2021 14:06:06 -0700 Subject: [PATCH] Add -mfma for AVX512DQ tests. (cherry picked from commit 76bb29c0c2e0948ca02af686a2b5ba4be6afcccc) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0d1ead92f..f40cf7738 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -258,7 +258,7 @@ if(NOT MSVC) option(EIGEN_TEST_AVX512DQ "Enable/Disable AVX512DQ in tests/examples" OFF) if(EIGEN_TEST_AVX512DQ) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mavx512dq") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mavx512dq -mfma") message(STATUS "Enabling AVX512DQ in tests/examples") endif()