On Saturday, 20 September 2014 at 09:09:56 UTC, bearophile wrote:
Brian Schott:
Array operations do use SIMD.
Array ops aren't used often in most normal D code. Most usages
of SIMD should come from auto-vectorization and core.simd (but
perhaps core.simd design was not discussed and improved enough,
and the implicit upcasting semantics of C could hurt
auto-vectorization).
Yes, I was thinking of auto vectorization/masking. Handcrafted
simd is nice too, but I feel it is better done in a way the
backend can understand. You might also want the compiler to
generate fallback paths for older cpus...