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
dfdcd16b
Commit
dfdcd16b
authored
Apr 24, 2017
by
James Willis
Browse files
Replaced unaligned vector loads with aligned loads.
parent
6cd628fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/hydro/Gadget2/hydro_iact.h
View file @
dfdcd16b
...
...
@@ -396,10 +396,10 @@ runner_iact_nonsym_1_vec_density(
vector
curlvrx
,
curlvry
,
curlvrz
;
/* Fill the vectors. */
mj
.
v
=
vec_
unaligned_
load
(
Mj
);
vjx
.
v
=
vec_
unaligned_
load
(
Vjx
);
vjy
.
v
=
vec_
unaligned_
load
(
Vjy
);
vjz
.
v
=
vec_
unaligned_
load
(
Vjz
);
mj
.
v
=
vec_load
(
Mj
);
vjx
.
v
=
vec_load
(
Vjx
);
vjy
.
v
=
vec_load
(
Vjy
);
vjz
.
v
=
vec_load
(
Vjz
);
/* Get the radius and inverse radius. */
ri
=
vec_reciprocal_sqrt
(
*
r2
);
...
...
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