popcnt usage

Todd VanderVeen tdvanderveen at gmail.com
Mon Dec 23 12:48:24 PST 2013


Actually, I dropped the static if in my example and traded one 
problem for another.

As the static variables of core.cpuid are not accessible at 
compile time, I would like to emulate the cpu interrogation done 
there, but I see that asm statements are disallowed in CTFE. Is 
versioning the only option here?


More information about the Digitalmars-d mailing list