nbfp_stride was added independently by both
25eb0e14 and
5deee8a0.
Removing static is not OK for gcc. Mark will resolve later whether
this was even needed for his upstream work.
Change-Id: I97ea4131163512354b5e339dd19549c3e49e9de2
-/* 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;
gmx_simd_ref_and_pb(gmx_simd_ref_pb a, gmx_simd_ref_pb b)
{
gmx_simd_ref_pb 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;
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
#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)
/* Align a stack-based thread-local working array. */
static gmx_inline int *
prepare_table_load_buffer(const int *array)