Commit ca0d6a8e authored by James Willis's avatar James Willis
Browse files

Replace vec_load with vec_unaligned_load for GCC compiler.

parent 3bcdf6eb
...@@ -433,10 +433,10 @@ runner_iact_nonsym_intrinsic_vec_density( ...@@ -433,10 +433,10 @@ runner_iact_nonsym_intrinsic_vec_density(
vector curlvrx, curlvry, curlvrz; vector curlvrx, curlvry, curlvrz;
/* Fill the vectors. */ /* Fill the vectors. */
mj.v = vec_load(Mj); mj.v = vec_unaligned_load(Mj);
vjx.v = vec_load(Vjx); vjx.v = vec_unaligned_load(Vjx);
vjy.v = vec_load(Vjy); vjy.v = vec_unaligned_load(Vjy);
vjz.v = vec_load(Vjz); vjz.v = vec_unaligned_load(Vjz);
/* Get the radius and inverse radius. */ /* Get the radius and inverse radius. */
ri = vec_reciprocal_sqrt(*r2); ri = vec_reciprocal_sqrt(*r2);
......
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