From: Matthias Maier Date: Thu, 17 Apr 2014 14:29:13 +0000 (+0000) Subject: CMake: Cosmetic changes X-Git-Tag: v8.2.0-rc1~588 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78807172a8ded2a5c5e12f84c811e25f23f6a2fc;p=dealii.git CMake: Cosmetic changes And yes, icc is happy again git-svn-id: https://svn.dealii.org/trunk@32789 0785d39b-7218-0410-832d-ea1e28bc413d --- 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()