popcnt intrinsic unused

Kagamin via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Thu Jan 21 01:03:54 PST 2016

On Wednesday, 20 January 2016 at 17:35:02 UTC, Stefan Koch wrote:
> Because the runtime is not visible as source-code.
> If it were, llvm could make this into the popcnt instruction.
> But the inliner is blind when it calls a library...

If a function has pragma(inline) and inliner doesn't inline it, 
then the pragma is not implemented. And how dmd does it if the 
function source is not visible?

More information about the digitalmars-d-ldc mailing list