Skip to content
Snippets Groups Projects
Commit dfdcd16b authored by James Willis's avatar James Willis
Browse files

Replaced unaligned vector loads with aligned loads.

parent 6cd628fd
Branches
Tags
1 merge request!320Dopair1 vectorisation merge
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment