Commit e8d27455 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Code formatting.

parent e1d2900e
...@@ -251,7 +251,7 @@ ...@@ -251,7 +251,7 @@
#define vec_dbl_fmax(a, b) _mm_max_pd(a, b) #define vec_dbl_fmax(a, b) _mm_max_pd(a, b)
#define FILL_VEC(a) \ #define FILL_VEC(a) \
{ .f[0] = a, .f[1] = a, .f[2] = a, .f[3] = a } { .f[0] = a, .f[1] = a, .f[2] = a, .f[3] = a }
#define VEC_HADD(a, b) \ #define VEC_HADD(a, b) \
a.v = _mm_hadd_ps(a.v, a.v); \ a.v = _mm_hadd_ps(a.v, a.v); \
b += a.f[0] + a.f[1]; b += a.f[0] + a.f[1];
#ifndef vec_fma #ifndef vec_fma
......
...@@ -239,7 +239,8 @@ void test_interactions(struct part test_part, struct part *parts, size_t count, ...@@ -239,7 +239,8 @@ void test_interactions(struct part test_part, struct part *parts, size_t count,
struct part *piq[count], *pjq[count]; struct part *piq[count], *pjq[count];
for (size_t k = 0; k < count; k++) { for (size_t k = 0; k < count; k++) {
piq[k] = NULL; pjq[k] = NULL; piq[k] = NULL;
pjq[k] = NULL;
} }
#ifdef WITH_VECTORIZATION #ifdef WITH_VECTORIZATION
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment