Fix NBNxN SIMD reference kernels
[alexxy/gromacs.git] / include / gmx_simd_ref.h
index a1b78400b5ff8581c163395b91783843b522fc92..ecad324af08c55557aa70c11989a0f47cffba41d 100644 (file)
@@ -347,9 +347,8 @@ gmx_simd_ref_cmplt_pr(gmx_simd_ref_pr a, gmx_simd_ref_pr b)
     return c;
 }
 
-/* Logical AND on SIMD booleans. Can't be static or it can't be a
-   template parameter (at least on XLC for BlueGene/Q) */
-gmx_inline gmx_simd_ref_pb
+/* Logical AND on SIMD booleans. */
+static gmx_inline gmx_simd_ref_pb
 gmx_simd_ref_and_pb(gmx_simd_ref_pb a, gmx_simd_ref_pb b)
 {
     gmx_simd_ref_pb c;
@@ -363,9 +362,8 @@ gmx_simd_ref_and_pb(gmx_simd_ref_pb a, gmx_simd_ref_pb b)
     return c;
 }
 
-/* Logical OR on SIMD booleans. Can't be static or it can't be a
-   template parameter (at least on XLC for BlueGene/Q) */
-gmx_inline gmx_simd_ref_pb
+/* Logical OR on SIMD booleans. */
+static gmx_inline gmx_simd_ref_pb
 gmx_simd_ref_or_pb(gmx_simd_ref_pb a, gmx_simd_ref_pb b)
 {
     gmx_simd_ref_pb c;