1 # RUN: llvm-mc --disassemble %s -triple=x86_64-apple-darwin9 -mcpu=knl | FileCheck %s 2 3 # CHECK: vpbroadcastd %xmm18, %zmm28 {%k7} {z} 4 0x62 0x22 0x7d 0xcf 0x58 0xe2 5 6 # CHECK: vbroadcastss (%rsp), %zmm28 7 0x62 0x62 0x7d 0x48 0x18 0x24 0x24 8 9 # CHECK: vblendmpd (%rsi), %zmm2, %zmm8 {%k7} 10 0x62 0x72 0xed 0x4f 0x65 0x06 11 12 # CHECK: vpermpd (%rsi,%r10,4), %zmm2, %zmm8 13 0x62 0x32 0xed 0x48 0x16 0x04 0x96 14 15 # CHECK: vpbroadcastmw2d %k2, %zmm8 16 0x62 0xd2 0x7e 0x48 0x3a 0xd0 17 18 # CHECK: vpbroadcastq (%r9,%rax), %zmm28 19 0x62 0x42 0xfd 0x48 0x59 0x24 0x01 20 21 # CHECK: vbroadcastss %xmm0, %zmm1 22 0x62 0xf2 0x7d 0x48 0x18 0xc8 23 24 # CHECK: vextracti32x4 $4, %zmm0, (%r10) 25 0x62 0xd3 0x7d 0x48 0x39 0x02 0x04 26 27 # CHECK: vextracti32x4 $4, %zmm0, %xmm1 28 0x62 0xf3 0x7d 0x48 0x39 0xc1 0x04 29 30 # CHECK: vinserti32x4 $1, %xmm21, %zmm5, %zmm17 31 0x62 0xa3 0x55 0x48 0x38 0xcd 0x01 32 33 # CHECK: vmovaps %zmm21, %zmm5 {%k3} 34 0x62 0xb1 0x7c 0x4b 0x28 0xed 35 36 # CHECK: vgatherdps (%rsi,%zmm0,4), %zmm1 {%k2} 37 0x62 0xf2 0x7d 0x4a 0x92 0x0c 0x86 38 39 # CHECK: vgatherdpd (%rsi,%ymm0,4), %zmm1 {%k2} 40 0x62 0xf2 0xfd 0x4a 0x92 0x0c 0x86 41 42 # CHECK: vpslld $16, %zmm21, %zmm22 43 0x62 0xb1 0x4d 0x40 0x72 0xf5 0x10 44 45 # CHECK: vpord %zmm22, %zmm21, %zmm23 46 0x62 0xa1 0x55 0x40 0xeb 0xfe 47 48 ##################################################### 49 # MASK INSTRUCTIONS # 50 ##################################################### 51 52 # CHECK: kshiftlw $3, %k1, %k2 53 0xc4 0xe3 0xf9 0x32 0xd1 0x03 54 55 # CHECK: kmovw (%rdi), %k1 56 0xc5 0xf8 0x90 0x0f 57 58 # CHECK: kmovw %k1, %eax 59 0xc5 0xf8 0x93 0xc1 60 61 # CHECK: kandw %k1, %k2, %k3 62 0xc5 0xec 0x41 0xd9 63 64 # CHECK: kmovw %k5, %k1 65 0xc5 0xf8 0x90 0xcd 66