From bc36465328800372bdd2c25e3a0a5d0f17f9ab03 Mon Sep 17 00:00:00 2001 From: Artem Zhmurov Date: Thu, 4 Jun 2020 17:15:58 +0000 Subject: [PATCH] Update the release notes Also fixed entry underline for tinyxml2. --- cmake/gmxSimdFlags.cmake | 6 +++--- docs/release-notes/2020/2020.3.rst | 6 +++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/cmake/gmxSimdFlags.cmake b/cmake/gmxSimdFlags.cmake index 3dce16fc94..c8e9a8e75d 100644 --- a/cmake/gmxSimdFlags.cmake +++ b/cmake/gmxSimdFlags.cmake @@ -1,7 +1,7 @@ # # This file is part of the GROMACS molecular simulation package. # -# Copyright (c) 2017,2018,2019, by the GROMACS development team, led by +# Copyright (c) 2017,2018,2019,2020, by the GROMACS development team, led by # Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl, # and including many others, as listed in the AUTHORS file in the # top-level source directory and at http://www.gromacs.org. @@ -239,7 +239,7 @@ function(gmx_find_simd_avx2_flags C_FLAGS_RESULT CXX_FLAGS_RESULT C_FLAGS_VARIAB int main(){__m256i x=_mm256_set1_epi32(5);x=_mm256_add_epi32(x,x);return _mm256_movemask_epi8(x);}" TOOLCHAIN_C_FLAGS TOOLCHAIN_CXX_FLAGS SIMD_AVX2_C_FLAGS SIMD_AVX2_CXX_FLAGS - "${TOOLCHAIN_FLAG_FOR_AVX2}" "-mavx2" "/arch:AVX" "-hgnu") # no AVX2-specific flag for MSVC yet + "${TOOLCHAIN_FLAG_FOR_AVX2}" "-mavx2" "/arch:AVX2" "-hgnu") if(${SIMD_AVX2_C_FLAGS_RESULT}) set(${C_FLAGS_VARIABLE} "${TOOLCHAIN_C_FLAGS} ${SIMD_AVX2_C_FLAGS}" CACHE INTERNAL "C flags required for AVX2 instructions") @@ -266,7 +266,7 @@ function(gmx_find_simd_avx_512_flags C_FLAGS_RESULT CXX_FLAGS_RESULT C_FLAGS_VAR return idata[0]*(int)(_mm512_cmp_ps_mask(x,y,_CMP_LT_OS));}" TOOLCHAIN_C_FLAGS TOOLCHAIN_CXX_FLAGS SIMD_AVX_512_C_FLAGS SIMD_AVX_512_CXX_FLAGS - "-xCORE-AVX512 -qopt-zmm-usage=high" "-xCORE-AVX512" "-mavx512f -mfma" "-mavx512f" "/arch:AVX" "-hgnu") # no AVX_512F flags known for MSVC yet. ICC should use ZMM if code anyhow uses ZMM + "-xCORE-AVX512 -qopt-zmm-usage=high" "-xCORE-AVX512" "-mavx512f -mfma" "-mavx512f" "/arch:AVX512" "-hgnu") #ICC should use ZMM if code anyhow uses ZMM if(${SIMD_AVX_512_C_FLAGS_RESULT}) set(${C_FLAGS_VARIABLE} "${TOOLCHAIN_C_FLAGS} ${SIMD_AVX_512_C_FLAGS}" CACHE INTERNAL "C flags required for AVX-512 instructions") diff --git a/docs/release-notes/2020/2020.3.rst b/docs/release-notes/2020/2020.3.rst index 858c35ad41..5af9cb49fc 100644 --- a/docs/release-notes/2020/2020.3.rst +++ b/docs/release-notes/2020/2020.3.rst @@ -22,8 +22,12 @@ Fixes for ``gmx`` tools Fixes that affect portability ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Update MSVC SIMD flags +"""""""""""""""""""""" +Newly supported SIMD flags may improve performance on recent x86 running Windows. + Fix error with tinyxml2 linking -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +""""""""""""""""""""""""""""""" The signature for linking the external library was wrong. Miscellaneous -- 2.11.4.GIT