On Friday, 8 May 2020 at 13:09:49 UTC, kinke wrote:
On Friday, 8 May 2020 at 12:49:00 UTC, Simen Kjærås wrote:
How would I go about calling _mm_* functions in D in a way that is portable between D compilers?

You would use core.simd:

Nope one wouldn't, because that horrible interface isn't supported by LDC, and I guess GDC neither.

The intel-intrinsics dub package aims to provide a compiler-independent layer: https://code.dlang.org/packages/intel-intrinsics

TIL, thanks! :)

--
  Simen

Reply via email to