Missing builtins MSVC
Guillaume Piolat
first.name at gmail.com
Sun Sep 6 10:37:47 UTC 2026
On Saturday, 5 September 2026 at 16:20:32 UTC, Harry Gillanders
wrote:
> Ideally, something like this:
> ```
> #include <importc_msvc_builtins.h>
> __import inteli;
> #include <ucrt/wchar.h>
> ```
> would work, but I don't know how D/intel-intrinsics' vector
> types interact with C's vector types.
>
Good question. The _mm_xxx functions in intel-intrinsics are
regular D functions though, no C linkage. Some are
pragma(inline), so I have no idea how that would work in ImportC.
My advice is to translate by hand, depend on intel-intrinsics,
and enjoy your portable SIMD instead of arch-specific.
More information about the Digitalmars-d-learn
mailing list