Any usable SIMD implementation?
Johan Engelen via Digitalmars-d
digitalmars-d at puremagic.com
Tue Apr 5 14:41:46 PDT 2016
On Tuesday, 5 April 2016 at 21:29:41 UTC, Walter Bright wrote:
>
> I want to make it clear that dmd does not generate AFX specific
> code, has no switch to enable AFX code generation and has no
> basis for setting predefined version identifiers for it.
How about adding a "__target(...)" compile-time function, that
would return false if the compiler doesn't know?
__target("broadwell") --> true means: target cpu is broadwell,
false means compiler doesn't know or target cpu is not broadwell.
Would that work for all?
More information about the Digitalmars-d
mailing list