Apply clang-format to source tree
[alexxy/gromacs.git] / src / gromacs / simd / impl_x86_avx_512_knl / impl_x86_avx_512_knl_simd4_double.h
index b96dfbdbc2f4d8c4ea8a977da74c41940ea001b0..9163a9a2828d8a30d248bcbe1566ea4094d0173a 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2014,2015,2016, by the GROMACS development team, led by
+ * Copyright (c) 2014,2015,2016,2019, 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.
 namespace gmx
 {
 
-static inline Simd4Double gmx_simdcall
-rsqrt(Simd4Double x)
+static inline Simd4Double gmx_simdcall rsqrt(Simd4Double x)
 {
     return {
-#ifndef NDEBUG //for debug mask to the 4 actually used elements to not trigger 1/0 fp exception
-               _mm512_castpd512_pd256(_mm512_maskz_rsqrt28_pd(avx512Int2Mask(0xF), _mm512_castpd256_pd512(x.simdInternal_)))
+#ifndef NDEBUG // for debug mask to the 4 actually used elements to not trigger 1/0 fp exception
+        _mm512_castpd512_pd256(_mm512_maskz_rsqrt28_pd(avx512Int2Mask(0xF),
+                                                       _mm512_castpd256_pd512(x.simdInternal_)))
 #else
-               _mm512_castpd512_pd256(_mm512_rsqrt28_pd(_mm512_castpd256_pd512(x.simdInternal_)))
+        _mm512_castpd512_pd256(_mm512_rsqrt28_pd(_mm512_castpd256_pd512(x.simdInternal_)))
 #endif
     };
 }
 
-}      // namespace gmx
+} // namespace gmx
 
 #endif // GMX_SIMD_IMPL_X86_AVX_512_KNL_SIMD4_DOUBLE_H