Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
e8d27455
Commit
e8d27455
authored
Feb 03, 2017
by
Matthieu Schaller
Browse files
Code formatting.
parent
e1d2900e
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/vector.h
View file @
e8d27455
...
...
@@ -251,7 +251,7 @@
#define vec_dbl_fmax(a, b) _mm_max_pd(a, b)
#define FILL_VEC(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); \
b += a.f[0] + a.f[1];
#ifndef vec_fma
...
...
tests/benchmarkInteractions.c
View file @
e8d27455
...
...
@@ -239,7 +239,8 @@ void test_interactions(struct part test_part, struct part *parts, size_t count,
struct
part
*
piq
[
count
],
*
pjq
[
count
];
for
(
size_t
k
=
0
;
k
<
count
;
k
++
)
{
piq
[
k
]
=
NULL
;
pjq
[
k
]
=
NULL
;
piq
[
k
]
=
NULL
;
pjq
[
k
]
=
NULL
;
}
#ifdef WITH_VECTORIZATION
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment