How do I write __simd(void16*, void16) ?

Etienne via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Oct 9 14:32:36 PDT 2014


On 2014-10-09 5:05 PM, David Nadlinger wrote:
> On Thursday, 9 October 2014 at 20:29:44 UTC, Benjamin Thaut wrote:
>> Unforunately the gcc.buildints module seems to be generated during
>> compilation of gdc, so you might want to get a binary version or
>> compile it yourself to see the module.
>
> By the way, LDC has ldc.gccbuiltins_x86 too. LLVM doesn't export all the
> GCC-style intrinsics, though, if they are easily representable in normal
> LLVM IR (thus ldc.simd).
>
> Daivd

That's very helpful, the problem remains that the API is unfamiliar. I 
think most of the time, simd code will only need to be translated from 
basic function calls, it would've been nice to have equivalents :-p


More information about the Digitalmars-d-learn mailing list