Guest User

Untitled

a guest
Apr 20th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. acc = _mm256_add_pd(acc, _mm256_mul_pd(row, vec));
  2. //acc in this point contains {2.0, 8.0, 18.0, 32.0}
  3. acc = _mm256_hadd_pd(acc, acc);
  4. result[i] = ((double*)&acc)[0] + ((double*)&acc)[2];
Add Comment
Please, Sign In to add comment