Bit manipulation instructions: Difference between revisions

Content deleted Content added
unencyclopedic, find a way to incorporate it into the lede/article naturally rather than this note
No edit summary
Line 23:
=== Intel and AMD (x86) ===
* The x86 instruction core set contains:
** {{code|BSR}} Bit Scan Reverse - aReturns quirkybit index of highest set bit in input, effectively backwards count leading zeros, not defined for 0.
** {{code|BSF}} Bit Scan Forward - aReturns quirkybit index of lowest set bit in input, effectively backwards count trailing zeros, not defined for 0.
* [[SSE4]] and the [[X86 Bit manipulation instruction set|BMI]] instruction set extensions contains instructions for:
** Count leading zeros - {{code|lzcnt}}