Merge remote-tracking branch 'gerrit/release-4-6'
[alexxy/gromacs.git] / src / gromacs / mdlib / pme.c
index d37d5b7519323c8d74dd13f89f8b75df1290213c..8993d5d2193778c06654dddf93784a7e23eba0e4 100644 (file)
 #include "gmx_cyclecounter.h"
 #include "macros.h"
 
-#if ( !defined(GMX_DOUBLE) && ( defined(GMX_IA32_SSE) || defined(GMX_X86_64_SSE) || defined(GMX_X86_64_SSE2) ) )
-#include "gmx_sse2_single.h"
+/* Single precision, with SSE2 or higher available */
+#if defined(GMX_X86_SSE2) && !defined(GMX_DOUBLE)
+
+#include "gmx_x86_sse2.h"
+#include "gmx_math_x86_sse2_single.h"
 
 #define PME_SSE
 /* Some old AMD processors could have problems with unaligned loads+stores */