brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.0 KiB · f0b07ec Raw
35 lines · plain
1// RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s2 3// CHECK: popcntl %eax, %eax 4// CHECK: encoding: [0xf3,0x0f,0xb8,0xc0]        5popcntl %eax, %eax 6 7// CHECK: popcntl 4096(%eax), %eax8// CHECK: encoding: [0xf3,0x0f,0xb8,0x80,0x00,0x10,0x00,0x00]9popcntl 4096(%eax), %eax10 11// CHECK: popcntl 64(%edx,%eax), %ecx     12// CHECK: encoding: [0xf3,0x0f,0xb8,0x4c,0x02,0x40]13popcntl 64(%edx,%eax), %ecx     14 15// CHECK: popcntl 64(%edx,%eax,4), %ecx   16// CHECK: encoding: [0xf3,0x0f,0xb8,0x4c,0x82,0x40]17popcntl 64(%edx,%eax,4), %ecx   18 19// CHECK: popcntw %ax, %ax 20// CHECK: encoding: [0x66,0xf3,0x0f,0xb8,0xc0]        21popcntw %ax, %ax 22 23// CHECK: popcntw 4096(%eax), %ax24// CHECK: encoding: [0x66,0xf3,0x0f,0xb8,0x80,0x00,0x10,0x00,0x00]25popcntw 4096(%eax), %ax26 27// CHECK: popcntw 64(%edx,%eax), %cx      28// CHECK: encoding: [0x66,0xf3,0x0f,0xb8,0x4c,0x02,0x40]29popcntw 64(%edx,%eax), %cx      30 31// CHECK: popcntw 64(%edx,%eax,4), %cx    32// CHECK: encoding: [0x66,0xf3,0x0f,0xb8,0x4c,0x82,0x40]33popcntw 64(%edx,%eax,4), %cx    34 35