Home | History | Annotate | Download | only in X86
      1 // RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s
      2 
      3 // CHECK: popcntl %eax, %eax
      4 // CHECK: encoding: [0xf3,0x0f,0xb8,0xc0]
      5 popcntl %eax, %eax
      6 
      7 // CHECK: popcntl 4096(%eax), %eax
      8 // CHECK: encoding: [0xf3,0x0f,0xb8,0x80,0x00,0x10,0x00,0x00]
      9 popcntl 4096(%eax), %eax
     10 
     11 // CHECK: popcntl 64(%edx,%eax), %ecx
     12 // CHECK: encoding: [0xf3,0x0f,0xb8,0x4c,0x02,0x40]
     13 popcntl 64(%edx,%eax), %ecx
     14 
     15 // CHECK: popcntl 64(%edx,%eax,4), %ecx
     16 // CHECK: encoding: [0xf3,0x0f,0xb8,0x4c,0x82,0x40]
     17 popcntl 64(%edx,%eax,4), %ecx
     18 
     19 // CHECK: popcntw %ax, %ax
     20 // CHECK: encoding: [0x66,0xf3,0x0f,0xb8,0xc0]
     21 popcntw %ax, %ax
     22 
     23 // CHECK: popcntw 4096(%eax), %ax
     24 // CHECK: encoding: [0x66,0xf3,0x0f,0xb8,0x80,0x00,0x10,0x00,0x00]
     25 popcntw 4096(%eax), %ax
     26 
     27 // CHECK: popcntw 64(%edx,%eax), %cx
     28 // CHECK: encoding: [0x66,0xf3,0x0f,0xb8,0x4c,0x02,0x40]
     29 popcntw 64(%edx,%eax), %cx
     30 
     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
     34 
     35