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;
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;
#ifdef GMX_SIMD_REFERENCE_PLAIN_C
-/* Set the stride for the lookup of the two LJ parameters from their
- * (padded) array.
- * Note that currently only arrays with stride 2 and 4 are available.
- * Since the reference code does not require alignment, we can always use 2.
- */
-static const int nbfp_stride = 2;
-
/* Align a stack-based thread-local working array. */
static gmx_inline int *
prepare_table_load_buffer(const int *array)