Conditional compilation to detect AVX2

Jeff jromang at protonmail.com
Tue May 22 18:27:20 UTC 2018


Hello,
Here is a little code exemple where I try to do some conditional 
compilation (https://dlang.org/spec/version.html) :
https://run.dlang.io/is/i8ML91

Is seems 'D_AVX2' is not defined when I pass the '-mattr=+avx2 
-O3' options: is there something wrong in my code ?


More information about the digitalmars-d-ldc mailing list