title: How to call a CPU instruction from C#?
body: <p>My processor (Intel i7) supports the <code>POPCNT instruction</code> and I would like to call it from my C# application. Is this possible?</p>
  
  <p>I believe I read somewhere that it isn't, but the JIT will invoke it if it finds it available but what function would I have to call that may be substituted with such an instruction?</p>
  
  <p>Popcount is being called millions of times in a loop so I'd like to be able to have this CPU optimization if possible.</p>