From: maier Date: Thu, 17 Apr 2014 14:29:13 +0000 (+0000) Subject: CMake: Cosmetic changes X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05b8c743dd1dff0cce4d7e7b110e40d5b5bed32c;p=dealii-svn.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()