x86 asm: move POPCNT in from x86-assembly-cheat

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-06-16 00:00:06 +00:00
parent 76c7cfe5aa
commit 0d4ad3e7e2
2 changed files with 40 additions and 0 deletions

View File

@@ -12427,6 +12427,9 @@ Do a BT and then swap the value of the tested bit.
* link:userland/arch/x86_64/setcc.S[SETcc]
+
Set a a byte of a register to 0 or 1 depending on the cc condition.
* link:userland/arch/x86_64/popcnt.S[POPCNT]
+
Count the number of 1 bits.
* link:userland/arch/x86_64/test.S[TEST]
+
Like <<x86-binary-arithmetic-instructions,CMP>> but does AND instead of SUB: