*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013,2014,2015 by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
gmx_fatal(FARGS, "Unknown integrator %s", ei_names[inputrec->eI]);
}
-#ifdef GMX_SIMD
+#if defined GMX_SIMD_X86_SSE2_OR_HIGHER || defined __MIC__
/* Make sure we don't detect SIMD overflow generated before this point */
gmx_simd_check_and_reset_overflow();
#endif
epot = enerd->term[F_EPOT];
bEnergyOutOfBounds = FALSE;
-#ifdef GMX_SIMD_X86_SSE2_OR_HIGHER
+#if defined GMX_SIMD_X86_SSE2_OR_HIGHER || defined __MIC__
/* With SSE the energy can overflow, check for this */
if (gmx_simd_check_and_reset_overflow())
{
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2014, by the GROMACS development team, led by
+ * Copyright (c) 2014,2015, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
return (float)gmx_simd4_dotproduct3_d_ibm_qpx(a, b);
}
-/* Function to check whether SIMD operations have resulted in overflow.
- * For now, this is unfortunately a dummy for this architecture.
- */
-static int
-gmx_simd_check_and_reset_overflow(void)
-{
- return 0;
-}
-
#endif /* GMX_SIMD_IMPLEMENTATION_IBM_QPX_H */