20 lines · plain
1// RUN: llvm-mc -triple x86_64-unknown-unknown -show-encoding %s > %t 2> %t.err2// RUN: FileCheck < %t %s3// RUN: FileCheck --check-prefix=CHECK-STDERR < %t.err %s4 5// CHECK: vgatherdps %xmm2, (%rdi,%xmm2,2), %xmm26// CHECK-STDERR: warning: mask, index, and destination registers should be distinct7vgatherdps %xmm2, (%rdi,%xmm2,2), %xmm28 9// CHECK: vpgatherdd (%r14,%zmm11,8), %zmm11 {%k1}10// CHECK-STDERR: warning: index and destination registers should be distinct11vpgatherdd (%r14, %zmm11,8), %zmm11 {%k1}12 13// CHECK: vpgatherqd (%r14,%zmm11,8), %ymm11 {%k1}14// CHECK-STDERR: warning: index and destination registers should be distinct15vpgatherqd (%r14, %zmm11,8), %ymm11 {%k1}16 17// CHECK: vpgatherdq (%r14,%ymm11,8), %zmm11 {%k1}18// CHECK-STDERR: warning: index and destination registers should be distinct19vpgatherdq (%r14, %ymm11,8), %zmm11 {%k1}20