How to deal with inline asm functions in Phobos/druntime?
Kai Nacke via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Mon Apr 13 13:32:03 PDT 2015
On Sunday, 12 April 2015 at 22:35:20 UTC, Johan Engelen wrote:
> I wrote a non-asm ilogb, that actually runs quite a bit faster
> than what DMD or LDC do standard, and should also be much more
Nice! For LDC you can replace bsr with intrinsic llvm.ctlz.i#. It
is a template and also CTFE enabled.
More information about the digitalmars-d-ldc