On Friday, 3 November 2017 at 10:02:18 UTC, Mike Parker wrote:
On Friday, 3 November 2017 at 09:33:31 UTC, Walter Bright wrote:
On 11/3/2017 2:28 AM, Daniel Kozak wrote:
How should I compile my program to enable array vectorization?
dmd doesn't do what is known as "auto-vectorization".
https://en.wikipedia.org/wiki/Automatic_vectorization
What D does is have vector data types, and when those are used
vector instructions are generated for them.
https://dlang.org/spec/simd.html
For clarity, where the changeling says that GDC & LDC use
auto-vectorization, that's actually happening with the array
operations and core.simd is not required, correct?
Yes, at least with ldc.