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
ca0d6a8e
Commit
ca0d6a8e
authored
Mar 14, 2017
by
James Willis
Browse files
Replace vec_load with vec_unaligned_load for GCC compiler.
parent
3bcdf6eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/hydro/Gadget2/hydro_iact.h
View file @
ca0d6a8e
...
...
@@ -433,10 +433,10 @@ runner_iact_nonsym_intrinsic_vec_density(
vector
curlvrx
,
curlvry
,
curlvrz
;
/* Fill the vectors. */
mj
.
v
=
vec_load
(
Mj
);
vjx
.
v
=
vec_load
(
Vjx
);
vjy
.
v
=
vec_load
(
Vjy
);
vjz
.
v
=
vec_load
(
Vjz
);
mj
.
v
=
vec_
unaligned_
load
(
Mj
);
vjx
.
v
=
vec_
unaligned_
load
(
Vjx
);
vjy
.
v
=
vec_
unaligned_
load
(
Vjy
);
vjz
.
v
=
vec_
unaligned_
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