Fix bugs in double AVX(2)_256 Simd4
authorBerk Hess <hess@kth.se>
Fri, 21 Apr 2017 13:59:37 +0000 (15:59 +0200)
committerBerk Hess <hess@kth.se>
Fri, 21 Apr 2017 16:37:38 +0000 (18:37 +0200)
commit8b1ee2835b80e6c6f9eee64f8d0b0170ea46b83c
treed20f0bfaa9ccdf620f7fcd667c2cd2b8755057fd
parent46432c9d5dc2cd0d99c78686a5a550fb8d8d60f8
Fix bugs in double AVX(2)_256 Simd4

The double precision version of reduce() and dotProduct()
returned a float with AVX_256 and AVX2_256.
Only reduce() is used in double, in the PME force gather.

Fixes #2162.

Change-Id: Iaa44921215e726726b2da223f3677c8637bc65ae
src/gromacs/simd/impl_x86_avx_256/impl_x86_avx_256_simd4_double.h