NASM-2.09.10
[nasm.git] / test / popcnt.asm
blob0009619809c09d9eef76fbb0b96ac0e13686d50c
1 ;Testname=test; Arguments=-fbin -opopcnt.bin; Files=stdout stderr popcnt.bin
3 bits 16
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]
12 bits 32
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]
21 bits 64
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]