[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / X86 / gather.s
blob4a2509e62f791e4310be728de9b7aa499a782038
1 // RUN: llvm-mc -triple x86_64-unknown-unknown -show-encoding %s > %t 2> %t.err
2 // RUN: FileCheck < %t %s
3 // RUN: FileCheck --check-prefix=CHECK-STDERR < %t.err %s
5 // CHECK: vgatherdps %xmm2, (%rdi,%xmm2,2), %xmm2
6 // CHECK-STDERR: warning: mask, index, and destination registers should be distinct
7 vgatherdps %xmm2, (%rdi,%xmm2,2), %xmm2
9 // CHECK: vpgatherdd (%r14,%zmm11,8), %zmm11 {%k1}
10 // CHECK-STDERR: warning: index and destination registers should be distinct
11 vpgatherdd (%r14, %zmm11,8), %zmm11 {%k1}
13 // CHECK: vpgatherqd (%r14,%zmm11,8), %ymm11 {%k1}
14 // CHECK-STDERR: warning: index and destination registers should be distinct
15 vpgatherqd (%r14, %zmm11,8), %ymm11 {%k1}
17 // CHECK: vpgatherdq (%r14,%ymm11,8), %zmm11 {%k1}
18 // CHECK-STDERR: warning: index and destination registers should be distinct
19 vpgatherdq (%r14, %ymm11,8), %zmm11 {%k1}