popcnt instruction

Justin Whear via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jun 24 12:52:40 PDT 2014


On Tue, 24 Jun 2014 19:44:52 +0000, Archibald wrote:

> Thanks for the answers.
> Unfortunately it seems like popcnt isn't supported by D's inline
> assembler.
> What if I import it as an external C function, will I get optimal
> performance?

DMD 2.065 seems to support it.  What compiler are you using and what 
errors are you getting?


More information about the Digitalmars-d-learn mailing list