popcnt instruction

Justin Whear via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jun 24 10:05:24 PDT 2014


On Tue, 24 Jun 2014 16:34:42 +0000, Archibald wrote:

> Hello,
> I need to use the "popcnt" processor instruction in a performance
> critical section.
> Is there a way to do this in D?

D's inline assembler is described here: http://dlang.org/iasm.html


More information about the Digitalmars-d-learn mailing list