Release D 2.077.0
Martin Nowak
code at dawg.eu
Fri Nov 3 10:53:26 UTC 2017
On Friday, 3 November 2017 at 09:28:37 UTC, Daniel Kozak wrote:
> How should I compile my program to enable array vectorization?
Array operations refers to
https://dlang.org/spec/arrays.html#array-operations.
> I have tried dmd -march=native, -march=avx2 as changlog suggest
It's -mcpu= not -march= for dmd, my bad.
Unfortunate that dmd uses different switches than gcc.
If you're compiling for 64-bit, you'll get SSE2 by default.
More information about the Digitalmars-d-announce
mailing list