fixed nbnxn AVX-256 Ewald table pointer alignment
authorBerk Hess <hess@kth.se>
Thu, 3 Jan 2013 12:24:03 +0000 (13:24 +0100)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Mon, 7 Jan 2013 20:43:13 +0000 (21:43 +0100)
commit42f6913f2a158386eea3d16295ac9adb2fc86af5
treef62aa37487d7762cd81095447a15e5e4c1127306
parent120224787f1d4e22795c91d65ea0863358877005
fixed nbnxn AVX-256 Ewald table pointer alignment

This could lead to access violations, but up till now
this was only observed with 32-bit MSVC builds.
Fixes #1097

Also added more documentation to nbnxn_kernel_simd_utils.h,
renamed macro variables and added minor table optimization
by replacing shuffle with movelh or unpack.

Change-Id: I9df2131cbabb0e6cb86f7224a5fd238acb2e7681
src/mdlib/nbnxn_kernels/nbnxn_kernel_simd_2xnn_outer.h
src/mdlib/nbnxn_kernels/nbnxn_kernel_simd_4xn_outer.h
src/mdlib/nbnxn_kernels/nbnxn_kernel_simd_utils.h