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