test/popcnt.asm
raw| 1 | ;Testname=test; Arguments=-fbin -opopcnt.bin; Files=stdout stderr popcnt.bin |
| 2 | |
| 3 | bits 16 |
| 4 | |
| 5 | popcnt ax,cx |
| 6 | popcnt ax,[si] |
| 7 | popcnt ax,word [si] |
| 8 | popcnt eax,ecx |
| 9 | popcnt eax,[si] |
| 10 | popcnt eax,dword [si] |
| 11 | |
| 12 | bits 32 |
| 13 | |
| 14 | popcnt ax,cx |
| 15 | popcnt ax,[esi] |
| 16 | popcnt ax,word [esi] |
| 17 | popcnt eax,ecx |
| 18 | popcnt eax,[esi] |
| 19 | popcnt eax,dword [esi] |
| 20 | |
| 21 | bits 64 |
| 22 | |
| 23 | popcnt ax,cx |
| 24 | popcnt ax,[rsi] |
| 25 | popcnt ax,word [rsi] |
| 26 | popcnt eax,ecx |
| 27 | popcnt eax,[rsi] |
| 28 | popcnt eax,dword [rsi] |
| 29 | popcnt rax,rcx |
| 30 | popcnt rax,[rsi] |
| 31 | popcnt rax,qword [rsi] |
| 32 |