1*9880d681SAndroid Build Coastguard Worker// RUN: llvm-mc -triple x86_64-unknown-unknown -x86-asm-syntax=intel -output-asm-variant=1 --show-encoding %s | FileCheck %s 2*9880d681SAndroid Build Coastguard Worker 3*9880d681SAndroid Build Coastguard Worker// CHECK: vgatherdpd xmm2, xmmword ptr [rdi + 2*xmm1], xmm0 4*9880d681SAndroid Build Coastguard Worker// CHECK: encoding: [0xc4,0xe2,0xf9,0x92,0x14,0x4f] 5*9880d681SAndroid Build Coastguard Worker vgatherdpd xmm2, xmmword ptr [rdi + 2*xmm1], xmm0 6*9880d681SAndroid Build Coastguard Worker 7*9880d681SAndroid Build Coastguard Worker// CHECK: vgatherqpd xmm2, xmmword ptr [rdi + 2*xmm1], xmm0 8*9880d681SAndroid Build Coastguard Worker// CHECK: encoding: [0xc4,0xe2,0xf9,0x93,0x14,0x4f] 9*9880d681SAndroid Build Coastguard Worker vgatherqpd xmm2, xmmword ptr [rdi + 2*xmm1], xmm0 10*9880d681SAndroid Build Coastguard Worker 11*9880d681SAndroid Build Coastguard Worker// CHECK: vgatherdpd ymm2, ymmword ptr [rdi + 2*xmm1], ymm0 12*9880d681SAndroid Build Coastguard Worker// CHECK: encoding: [0xc4,0xe2,0xfd,0x92,0x14,0x4f] 13*9880d681SAndroid Build Coastguard Worker vgatherdpd ymm2, ymmword ptr [rdi + 2*xmm1], ymm0 14*9880d681SAndroid Build Coastguard Worker 15*9880d681SAndroid Build Coastguard Worker// CHECK: vgatherqpd ymm2, ymmword ptr [rdi + 2*ymm1], ymm0 16*9880d681SAndroid Build Coastguard Worker// CHECK: encoding: [0xc4,0xe2,0xfd,0x93,0x14,0x4f] 17*9880d681SAndroid Build Coastguard Worker vgatherqpd ymm2, ymmword ptr [rdi + 2*ymm1], ymm0 18*9880d681SAndroid Build Coastguard Worker 19*9880d681SAndroid Build Coastguard Worker// CHECK: vgatherdps xmm10, xmmword ptr [r15 + 2*xmm9], xmm8 20*9880d681SAndroid Build Coastguard Worker// CHECK: encoding: [0xc4,0x02,0x39,0x92,0x14,0x4f] 21*9880d681SAndroid Build Coastguard Worker vgatherdps xmm10, xmmword ptr [r15 + 2*xmm9], xmm8 22*9880d681SAndroid Build Coastguard Worker 23*9880d681SAndroid Build Coastguard Worker// CHECK: vgatherqps xmm10, qword ptr [r15 + 2*xmm9], xmm8 24*9880d681SAndroid Build Coastguard Worker// CHECK: encoding: [0xc4,0x02,0x39,0x93,0x14,0x4f] 25*9880d681SAndroid Build Coastguard Worker vgatherqps xmm10, qword ptr [r15 + 2*xmm9], xmm8 26*9880d681SAndroid Build Coastguard Worker 27*9880d681SAndroid Build Coastguard Worker// CHECK: vgatherdps ymm10, ymmword ptr [r15 + 2*ymm9], ymm8 28*9880d681SAndroid Build Coastguard Worker// CHECK: encoding: [0xc4,0x02,0x3d,0x92,0x14,0x4f] 29*9880d681SAndroid Build Coastguard Worker vgatherdps ymm10, ymmword ptr [r15 + 2*ymm9], ymm8 30*9880d681SAndroid Build Coastguard Worker 31*9880d681SAndroid Build Coastguard Worker// CHECK: vgatherqps xmm10, xmmword ptr [r15 + 2*ymm9], xmm8 32*9880d681SAndroid Build Coastguard Worker// CHECK: encoding: [0xc4,0x02,0x3d,0x93,0x14,0x4f] 33*9880d681SAndroid Build Coastguard Worker vgatherqps xmm10, xmmword ptr [r15 + 2*ymm9], xmm8 34*9880d681SAndroid Build Coastguard Worker 35*9880d681SAndroid Build Coastguard Worker// CHECK: vpgatherdq xmm2, xmmword ptr [rdi + 2*xmm1], xmm0 36*9880d681SAndroid Build Coastguard Worker// CHECK: encoding: [0xc4,0xe2,0xf9,0x90,0x14,0x4f] 37*9880d681SAndroid Build Coastguard Worker vpgatherdq xmm2, xmmword ptr [rdi + 2*xmm1], xmm0 38*9880d681SAndroid Build Coastguard Worker 39*9880d681SAndroid Build Coastguard Worker// CHECK: vpgatherqq xmm2, xmmword ptr [rdi + 2*xmm1], xmm0 40*9880d681SAndroid Build Coastguard Worker// CHECK: encoding: [0xc4,0xe2,0xf9,0x91,0x14,0x4f] 41*9880d681SAndroid Build Coastguard Worker vpgatherqq xmm2, xmmword ptr [rdi + 2*xmm1], xmm0 42*9880d681SAndroid Build Coastguard Worker 43*9880d681SAndroid Build Coastguard Worker// CHECK: vpgatherdq ymm2, ymmword ptr [rdi + 2*xmm1], ymm0 44*9880d681SAndroid Build Coastguard Worker// CHECK: encoding: [0xc4,0xe2,0xfd,0x90,0x14,0x4f] 45*9880d681SAndroid Build Coastguard Worker vpgatherdq ymm2, ymmword ptr [rdi + 2*xmm1], ymm0 46*9880d681SAndroid Build Coastguard Worker 47*9880d681SAndroid Build Coastguard Worker// CHECK: vpgatherqq ymm2, ymmword ptr [rdi + 2*ymm1], ymm0 48*9880d681SAndroid Build Coastguard Worker// CHECK: encoding: [0xc4,0xe2,0xfd,0x91,0x14,0x4f] 49*9880d681SAndroid Build Coastguard Worker vpgatherqq ymm2, ymmword ptr [rdi + 2*ymm1], ymm0 50*9880d681SAndroid Build Coastguard Worker 51*9880d681SAndroid Build Coastguard Worker// CHECK: vpgatherdd xmm10, xmmword ptr [r15 + 2*xmm9], xmm8 52*9880d681SAndroid Build Coastguard Worker// CHECK: encoding: [0xc4,0x02,0x39,0x90,0x14,0x4f] 53*9880d681SAndroid Build Coastguard Worker vpgatherdd xmm10, xmmword ptr [r15 + 2*xmm9], xmm8 54*9880d681SAndroid Build Coastguard Worker 55*9880d681SAndroid Build Coastguard Worker// CHECK: vpgatherqd xmm10, qword ptr [r15 + 2*xmm9], xmm8 56*9880d681SAndroid Build Coastguard Worker// CHECK: encoding: [0xc4,0x02,0x39,0x91,0x14,0x4f] 57*9880d681SAndroid Build Coastguard Worker vpgatherqd xmm10, qword ptr [r15 + 2*xmm9], xmm8 58*9880d681SAndroid Build Coastguard Worker 59*9880d681SAndroid Build Coastguard Worker// CHECK: vpgatherdd ymm10, ymmword ptr [r15 + 2*ymm9], ymm8 60*9880d681SAndroid Build Coastguard Worker// CHECK: encoding: [0xc4,0x02,0x3d,0x90,0x14,0x4f] 61*9880d681SAndroid Build Coastguard Worker vpgatherdd ymm10, ymmword ptr [r15 + 2*ymm9], ymm8 62*9880d681SAndroid Build Coastguard Worker 63*9880d681SAndroid Build Coastguard Worker// CHECK: vpgatherqd xmm10, xmmword ptr [r15 + 2*ymm9], xmm8 64*9880d681SAndroid Build Coastguard Worker// CHECK: encoding: [0xc4,0x02,0x3d,0x91,0x14,0x4f] 65*9880d681SAndroid Build Coastguard Worker vpgatherqd xmm10, xmmword ptr [r15 + 2*ymm9], xmm8 66