Work around AVX-512 issues in gcc-5.4 and 7.1
commit2221393549638e0164015aad3e6b9ea3eb2a0a10
authorErik Lindahl <erik@kth.se>
Tue, 12 Dec 2017 14:54:56 +0000 (12 15:54 +0100)
committerErik Lindahl <erik.lindahl@gmail.com>
Thu, 14 Dec 2017 08:36:04 +0000 (14 09:36 +0100)
treed7d5cd1eb4e59c8e8156d33790be6d7bf7990869
parenta464aad037e7e6b8e0a79f8ce14a4c8fb0981d70
Work around AVX-512 issues in gcc-5.4 and 7.1

Fixes compilation issues with mixed and double precision builds using
AVX-512 SIMD with gcc-5.4 or gcc-7.1. Also tested with gcc-6.3, and
Debug as well as Release builds for all three versions, all of which
now pass the simd unit tests.

Fixes #2325.

Change-Id: I59c3ae0467b51412d1ebbb5b57a248534288a5db
src/gromacs/simd/impl_x86_avx_512/impl_x86_avx_512_util_double.h
src/gromacs/simd/impl_x86_avx_512/impl_x86_avx_512_util_float.h