Conditional compilation to detect AVX2
Johan Engelen
j at j.nl
Tue May 22 19:25:06 UTC 2018
On Tuesday, 22 May 2018 at 19:07:47 UTC, Johan Engelen wrote:
> On Tuesday, 22 May 2018 at 18:27:20 UTC, Jeff wrote:
>> 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 ?
>
> No, this is a bug in LDC.
https://github.com/ldc-developers/ldc/pull/2711
More information about the digitalmars-d-ldc
mailing list