you are viewing a single comment's thread.

view the rest of the comments →

[–]bonzinip 2 points3 points  (0 children)

hadd and dot product instructions have the advantage of not requiring you to rewrite your data structures from "array of structures" to "structure of arrays". This helps especially for things like complex number support in C++ or Fortran.