introduced general 4-wide SIMD support
[alexxy/gromacs.git] / include / gmx_simd_ref.h
index 3a3900a82155d1ccbecfba922942d95e7b81b3e9..082132ed5c7cea2e461252a896933e421a2fe4e4 100644 (file)
@@ -377,10 +377,7 @@ gmx_simd_ref_or_pb(gmx_simd_ref_pb a, gmx_simd_ref_pb b)
     return c;
 }
 
-/* Not required, gmx_anytrue_pb(x) returns if any of the boolean is x is True.
- * If this is not present, define GMX_SIMD_IS_TRUE(real x),
- * which should return x==True, where True is True as defined in SIMD.
- */
+/* Returns a single int (0/1) which tells if any of the booleans is True */
 static gmx_inline int
 gmx_simd_ref_anytrue_pb(gmx_simd_ref_pb a)
 {
@@ -399,18 +396,6 @@ gmx_simd_ref_anytrue_pb(gmx_simd_ref_pb a)
     return anytrue;
 }
 
-/* If we don't have gmx_anytrue_pb, we need to store gmx_mm_pb */
-static gmx_inline void
-gmx_simd_ref_store_pb(real *dest, gmx_simd_ref_pb src)
-{
-    int i;
-
-    for (i = 0; i < GMX_SIMD_REF_WIDTH; i++)
-    {
-        dest[i] = src.r[i];
-    }
-};
-
 /* Conversions only used for PME table lookup */
 static gmx_inline gmx_simd_ref_epi32
 gmx_simd_ref_cvttpr_epi32(gmx_simd_ref_pr a)