Added hacks for SIMD rvec/load store in lincs & bondeds
authorErik Lindahl <erik@kth.se>
Sat, 16 May 2015 10:45:22 +0000 (12:45 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Sun, 17 May 2015 22:12:10 +0000 (00:12 +0200)
commit2226911da8dfc7fa299670c177853bfcb1a94996
tree40c17e64bf24634ba6891289eaa5f7c8304a405f
parent9b72659a553fb95f7be9ee0ff413dbecf895a379
Added hacks for SIMD rvec/load store in lincs & bondeds

We have added proper gather/scatter operations to work on
rvecs for all SIMD architectures, but that will not make it into
Gromacs-5.1. Since Berk already wrote a few routines to use
maskloads at least for AVX & AVX2, this is a bit of a hack to
get the performance benefits of that code already in Gromacs-5.1
(for AVX/AVX2), without altering the SIMD module. This is definitely
a hack, and the code will be replaced once the extended SIMD
module is in place.

Change-Id: I385acb5f989b2ecf463948be84947fe1f6dfd19b
src/gromacs/listed-forces/bonded.cpp
src/gromacs/mdlib/clincs.cpp