[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / X86 / POPCNT-32.s
blobf0b07ec56485656e7714cb99a073ae2209ede284
1 // RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s
3 // CHECK: popcntl %eax, %eax
4 // CHECK: encoding: [0xf3,0x0f,0xb8,0xc0]
5 popcntl %eax, %eax
7 // CHECK: popcntl 4096(%eax), %eax
8 // CHECK: encoding: [0xf3,0x0f,0xb8,0x80,0x00,0x10,0x00,0x00]
9 popcntl 4096(%eax), %eax
11 // CHECK: popcntl 64(%edx,%eax), %ecx
12 // CHECK: encoding: [0xf3,0x0f,0xb8,0x4c,0x02,0x40]
13 popcntl 64(%edx,%eax), %ecx
15 // CHECK: popcntl 64(%edx,%eax,4), %ecx
16 // CHECK: encoding: [0xf3,0x0f,0xb8,0x4c,0x82,0x40]
17 popcntl 64(%edx,%eax,4), %ecx
19 // CHECK: popcntw %ax, %ax
20 // CHECK: encoding: [0x66,0xf3,0x0f,0xb8,0xc0]
21 popcntw %ax, %ax
23 // CHECK: popcntw 4096(%eax), %ax
24 // CHECK: encoding: [0x66,0xf3,0x0f,0xb8,0x80,0x00,0x10,0x00,0x00]
25 popcntw 4096(%eax), %ax
27 // CHECK: popcntw 64(%edx,%eax), %cx
28 // CHECK: encoding: [0x66,0xf3,0x0f,0xb8,0x4c,0x02,0x40]
29 popcntw 64(%edx,%eax), %cx
31 // CHECK: popcntw 64(%edx,%eax,4), %cx
32 // CHECK: encoding: [0x66,0xf3,0x0f,0xb8,0x4c,0x82,0x40]
33 popcntw 64(%edx,%eax,4), %cx