| 1 |
# RUN: llvm-mc -triple x86_64 -show-encoding %s | FileCheck %s |
| 2 |
|
| 3 |
# CHECK: {evex} popcntw %dx, %ax |
| 4 |
# CHECK: encoding: [0x62,0xf4,0x7d,0x08,0x88,0xc2] |
| 5 |
{evex} popcntw %dx, %ax |
| 6 |
# CHECK: {nf} popcntw %dx, %ax |
| 7 |
# CHECK: encoding: [0x62,0xf4,0x7d,0x0c,0x88,0xc2] |
| 8 |
{nf} popcntw %dx, %ax |
| 9 |
# CHECK: {evex} popcntl %ecx, %edx |
| 10 |
# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0x88,0xd1] |
| 11 |
{evex} popcntl %ecx, %edx |
| 12 |
# CHECK: {nf} popcntl %ecx, %edx |
| 13 |
# CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0x88,0xd1] |
| 14 |
{nf} popcntl %ecx, %edx |
| 15 |
# CHECK: {evex} popcntq %r9, %r15 |
| 16 |
# CHECK: encoding: [0x62,0x54,0xfc,0x08,0x88,0xf9] |
| 17 |
{evex} popcntq %r9, %r15 |
| 18 |
# CHECK: {nf} popcntq %r9, %r15 |
| 19 |
# CHECK: encoding: [0x62,0x54,0xfc,0x0c,0x88,0xf9] |
| 20 |
{nf} popcntq %r9, %r15 |
| 21 |
# CHECK: {evex} popcntw 123(%r8,%rax,4), %dx |
| 22 |
# CHECK: encoding: [0x62,0xd4,0x7d,0x08,0x88,0x54,0x80,0x7b] |
| 23 |
{evex} popcntw 123(%r8,%rax,4), %dx |
| 24 |
# CHECK: {nf} popcntw 123(%r8,%rax,4), %dx |
| 25 |
# CHECK: encoding: [0x62,0xd4,0x7d,0x0c,0x88,0x54,0x80,0x7b] |
| 26 |
{nf} popcntw 123(%r8,%rax,4), %dx |
| 27 |
# CHECK: {evex} popcntl 123(%r8,%rax,4), %ecx |
| 28 |
# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0x88,0x4c,0x80,0x7b] |
| 29 |
{evex} popcntl 123(%r8,%rax,4), %ecx |
| 30 |
# CHECK: {nf} popcntl 123(%r8,%rax,4), %ecx |
| 31 |
# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0x88,0x4c,0x80,0x7b] |
| 32 |
{nf} popcntl 123(%r8,%rax,4), %ecx |
| 33 |
# CHECK: {evex} popcntq 123(%r8,%rax,4), %r9 |
| 34 |
# CHECK: encoding: [0x62,0x54,0xfc,0x08,0x88,0x4c,0x80,0x7b] |
| 35 |
{evex} popcntq 123(%r8,%rax,4), %r9 |
| 36 |
# CHECK: {nf} popcntq 123(%r8,%rax,4), %r9 |
| 37 |
# CHECK: encoding: [0x62,0x54,0xfc,0x0c,0x88,0x4c,0x80,0x7b] |
| 38 |
{nf} popcntq 123(%r8,%rax,4), %r9 |