[Issue 15873] In order to implement std.simd, compile time info about CPU specifics is needed

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Dec 21 08:45:02 UTC 2020


https://issues.dlang.org/show_bug.cgi?id=15873

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #8 from Walter Bright <bugzilla at digitalmars.com> ---
DMD predefines some version identifiers based on SIMD level:

version (D_SIMD) - for SSE2 instruction sets
version (D_AVX)  - for SSE2..AVX instruction sets
version (D_AVX2) - for SSE2..AVX2 instruction sets

which should do the job.

--


More information about the Digitalmars-d-bugs mailing list