Home | History | Annotate | Download | only in X86
      1 // RUN: llvm-mc -triple x86_64-unknown-unknown -mcpu=skx  --show-encoding %s | FileCheck %s
      2 
      3 // CHECK: vpblendmb %zmm25, %zmm18, %zmm17
      4 // CHECK:  encoding: [0x62,0x82,0x6d,0x40,0x66,0xc9]
      5           vpblendmb %zmm25, %zmm18, %zmm17
      6 
      7 // CHECK: vpblendmb %zmm25, %zmm18, %zmm17 {%k5}
      8 // CHECK:  encoding: [0x62,0x82,0x6d,0x45,0x66,0xc9]
      9           vpblendmb %zmm25, %zmm18, %zmm17 {%k5}
     10 
     11 // CHECK: vpblendmb %zmm25, %zmm18, %zmm17 {%k5} {z}
     12 // CHECK:  encoding: [0x62,0x82,0x6d,0xc5,0x66,0xc9]
     13           vpblendmb %zmm25, %zmm18, %zmm17 {%k5} {z}
     14 
     15 // CHECK: vpblendmb (%rcx), %zmm18, %zmm17
     16 // CHECK:  encoding: [0x62,0xe2,0x6d,0x40,0x66,0x09]
     17           vpblendmb (%rcx), %zmm18, %zmm17
     18 
     19 // CHECK: vpblendmb 291(%rax,%r14,8), %zmm18, %zmm17
     20 // CHECK:  encoding: [0x62,0xa2,0x6d,0x40,0x66,0x8c,0xf0,0x23,0x01,0x00,0x00]
     21           vpblendmb 291(%rax,%r14,8), %zmm18, %zmm17
     22 
     23 // CHECK: vpblendmb 8128(%rdx), %zmm18, %zmm17
     24 // CHECK:  encoding: [0x62,0xe2,0x6d,0x40,0x66,0x4a,0x7f]
     25           vpblendmb 8128(%rdx), %zmm18, %zmm17
     26 
     27 // CHECK: vpblendmb 8192(%rdx), %zmm18, %zmm17
     28 // CHECK:  encoding: [0x62,0xe2,0x6d,0x40,0x66,0x8a,0x00,0x20,0x00,0x00]
     29           vpblendmb 8192(%rdx), %zmm18, %zmm17
     30 
     31 // CHECK: vpblendmb -8192(%rdx), %zmm18, %zmm17
     32 // CHECK:  encoding: [0x62,0xe2,0x6d,0x40,0x66,0x4a,0x80]
     33           vpblendmb -8192(%rdx), %zmm18, %zmm17
     34 
     35 // CHECK: vpblendmb -8256(%rdx), %zmm18, %zmm17
     36 // CHECK:  encoding: [0x62,0xe2,0x6d,0x40,0x66,0x8a,0xc0,0xdf,0xff,0xff]
     37           vpblendmb -8256(%rdx), %zmm18, %zmm17
     38 
     39 // CHECK: vpblendmw %zmm17, %zmm20, %zmm26
     40 // CHECK:  encoding: [0x62,0x22,0xdd,0x40,0x66,0xd1]
     41           vpblendmw %zmm17, %zmm20, %zmm26
     42 
     43 // CHECK: vpblendmw %zmm17, %zmm20, %zmm26 {%k7}
     44 // CHECK:  encoding: [0x62,0x22,0xdd,0x47,0x66,0xd1]
     45           vpblendmw %zmm17, %zmm20, %zmm26 {%k7}
     46 
     47 // CHECK: vpblendmw %zmm17, %zmm20, %zmm26 {%k7} {z}
     48 // CHECK:  encoding: [0x62,0x22,0xdd,0xc7,0x66,0xd1]
     49           vpblendmw %zmm17, %zmm20, %zmm26 {%k7} {z}
     50 
     51 // CHECK: vpblendmw (%rcx), %zmm20, %zmm26
     52 // CHECK:  encoding: [0x62,0x62,0xdd,0x40,0x66,0x11]
     53           vpblendmw (%rcx), %zmm20, %zmm26
     54 
     55 // CHECK: vpblendmw 291(%rax,%r14,8), %zmm20, %zmm26
     56 // CHECK:  encoding: [0x62,0x22,0xdd,0x40,0x66,0x94,0xf0,0x23,0x01,0x00,0x00]
     57           vpblendmw 291(%rax,%r14,8), %zmm20, %zmm26
     58 
     59 // CHECK: vpblendmw 8128(%rdx), %zmm20, %zmm26
     60 // CHECK:  encoding: [0x62,0x62,0xdd,0x40,0x66,0x52,0x7f]
     61           vpblendmw 8128(%rdx), %zmm20, %zmm26
     62 
     63 // CHECK: vpblendmw 8192(%rdx), %zmm20, %zmm26
     64 // CHECK:  encoding: [0x62,0x62,0xdd,0x40,0x66,0x92,0x00,0x20,0x00,0x00]
     65           vpblendmw 8192(%rdx), %zmm20, %zmm26
     66 
     67 // CHECK: vpblendmw -8192(%rdx), %zmm20, %zmm26
     68 // CHECK:  encoding: [0x62,0x62,0xdd,0x40,0x66,0x52,0x80]
     69           vpblendmw -8192(%rdx), %zmm20, %zmm26
     70 
     71 // CHECK: vpblendmw -8256(%rdx), %zmm20, %zmm26
     72 // CHECK:  encoding: [0x62,0x62,0xdd,0x40,0x66,0x92,0xc0,0xdf,0xff,0xff]
     73           vpblendmw -8256(%rdx), %zmm20, %zmm26
     74