core.intrinsics
Stefan Koch via Digitalmars-d
digitalmars-d at puremagic.com
Thu Oct 13 15:42:18 PDT 2016
On Thursday, 13 October 2016 at 21:52:22 UTC, Johan Engelen wrote:
> On Thursday, 13 October 2016 at 19:52:57 UTC, Stefan Koch wrote:
>>
>> also do you happen to know where llvm_expect is implemented in
>> ldc ? I cannot seem to find it.
>
> It's at the bottom of druntime/src/ldc/intrinsics.di (note the
> extension).
I saw that one, but I cannot find the place where ldc checks for
this template being instantiated.
And then applies the intrinsic.
Which is what I need to see in order to define a sensible way in
dmd to use those intrinsics.
More information about the Digitalmars-d
mailing list