4 ms·
C predates x86, and was written with the specific intent of being independent of the particular CPU architecture being compiled for. At any point, the C standa
by gizmo686 2y ago
C predates x86, and was written with the specific intent of being independent of the particular CPU architecture being compiled for.
At any point, the C standard could have introduced a standard POPCNT function that compilers could easily compile in whatever platform relevant way they want; but such has never happened.