Fix Reference Build
authorRoland Schulz <roland@utk.edu>
Mon, 17 Feb 2014 22:21:19 +0000 (17:21 -0500)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Thu, 20 Feb 2014 13:16:45 +0000 (14:16 +0100)
Rename (e5e37f2c62c) broke reference build

Change-Id: Id98b61f2af2e4731f57a775ee9c4057baf76587a

src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_simd_utils.h
src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_simd_utils_ref.h

index 59be0fbd75944668917272fc3341aa076cb7e5d9..dd38688d62939b035b8d67d0e5415eeb386889b7 100644 (file)
@@ -143,7 +143,7 @@ static const int nbfp_stride = GMX_SIMD_REAL_WIDTH;
 #endif /* GMX_SIMD_X86_SSE2_OR_HIGHER */
 #endif /* GMX_SIMD_REFERENCE */
 
-#if GMX_SIMD_REAL_WIDTH == 4 && !defined GMX_SIMD_REFERENCE
+#if GMX_SIMD_REAL_WIDTH == 4
 #define gmx_mm_pr4    gmx_simd_real_t
 #define gmx_load_pr4  gmx_simd_load_r
 #define gmx_store_pr4 gmx_simd_store_r
index 90f52c7a2f108fefe2d9f37a9629fc66af441705..c7a6e9a6c0e9a8e93c5a99c8bb437bedd383e4c6 100644 (file)
@@ -96,14 +96,6 @@ gmx_add_pr4(gmx_mm_pr4 a, gmx_mm_pr4 b)
 
     return c;
 }
-#else
-
-typedef gmx_simd_ref_pr gmx_mm_pr4;
-
-#define gmx_load_pr4   gmx_load_pr
-#define gmx_store_pr4  gmx_store_pr
-#define gmx_add_pr4    gmx_add_pr
-
 #endif