From 05b8c743dd1dff0cce4d7e7b110e40d5b5bed32c Mon Sep 17 00:00:00 2001 From: maier Date: Thu, 17 Apr 2014 14:29:13 +0000 Subject: [PATCH] CMake: Cosmetic changes And yes, icc is happy again git-svn-id: https://svn.dealii.org/trunk@32789 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/cmake/checks/check_01_cpu_features.cmake | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/deal.II/cmake/checks/check_01_cpu_features.cmake b/deal.II/cmake/checks/check_01_cpu_features.cmake index 4ca7062b08..1204b5dec2 100644 --- a/deal.II/cmake/checks/check_01_cpu_features.cmake +++ b/deal.II/cmake/checks/check_01_cpu_features.cmake @@ -27,6 +27,7 @@ # DEAL_II_WORDS_BIGENDIAN # DEAL_II_HAVE_SSE2 *) # DEAL_II_HAVE_AVX *) +# DEAL_II_HAVE_AVX512 *) # DEAL_II_COMPILER_VECTORIZATION_LEVEL # # *) @@ -170,15 +171,12 @@ IF(DEAL_II_ALLOW_PLATFORM_INTROSPECTION) DEAL_II_HAVE_AVX512) ENDIF() - -IF(DEAL_II_HAVE_SSE2) - IF(DEAL_II_HAVE_AVX512) - SET(DEAL_II_COMPILER_VECTORIZATION_LEVEL 3) - ELSEIF(DEAL_II_HAVE_AVX) - SET(DEAL_II_COMPILER_VECTORIZATION_LEVEL 2) - ELSE() - SET(DEAL_II_COMPILER_VECTORIZATION_LEVEL 1) - ENDIF() +IF(DEAL_II_HAVE_AVX512) + SET(DEAL_II_COMPILER_VECTORIZATION_LEVEL 3) +ELSEIF(DEAL_II_HAVE_AVX) + SET(DEAL_II_COMPILER_VECTORIZATION_LEVEL 2) +ELSEIF(DEAL_II_HAVE_SSE2) + SET(DEAL_II_COMPILER_VECTORIZATION_LEVEL 1) ELSE() SET(DEAL_II_COMPILER_VECTORIZATION_LEVEL 0) ENDIF() -- 2.39.5