Examples of specialized instructions of assembly language not available in compilers?
Counting bits set, Brian Kernighan's way

unsigned int v; // count bits set (1)
unsigned int c; // result
for (c = 0; v; ++c)
{
  v &amp;= v - 1;
}


This code becomes popcnt