On Friday, 3 November 2017 at 10:07:25 UTC, Mike Parker wrote:
On Friday, 3 November 2017 at 10:02:18 UTC, Mike Parker wrote:
[...]
OK, I'm a bit confused here. This gives the impression that the
vectorization happens automatically with array operations:
"Array operations have been converted from dedicated assembly
routines for some array operations to a generic template
implementation for all array operations. This provides huge
performance increases (2-4x higher throughput) for array
operations that were not previously vectorized. Furthermore the
implementation makes better use of vectorization even for short
arrays to heavily reduce latency for some operations (up to
4x)."
Where does core.simd fit in?
See the linked druntime pull, core.simd is only imported for dmd:
https://github.com/dlang/druntime/pull/1891/files#diff-c17bbc97c8719ab709a4a54e2f6924ceR67