You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not 100% clear whether this is needed. AMD does not appear to
need it, but the Intel documentation appears ambiguous. The
instruction detail says this:
> #UD If CPUID.01H:ECX.POPCNT [Bit 23] = 0.
Which implies it'll raise an exception only if the popcnt feature bit
is zero. But in section 12.12.3 it says this:
> Before an application attempts to use the POPCNT instruction, it
> must check that the processor supports Intel SSE4.2 (if
> CPUID.01H:ECX.SSE4_2[bit 20] = 1) and POPCNT (if
> CPUID.01H:ECX.POPCNT[bit 23] = 1).
0 commit comments