1# RUN: llvm-mc --disassemble %s -triple=i686 -x86-asm-syntax=intel --output-asm-variant=1 | FileCheck %s
2
3# CHECK: {vex} vpdpbusd ymm6, ymm5, ymm4
40xc4,0xe2,0x55,0x50,0xf4
5
6# CHECK: {vex} vpdpbusd xmm6, xmm5, xmm4
70xc4,0xe2,0x51,0x50,0xf4
8
9# CHECK: {vex} vpdpbusd ymm6, ymm5, ymmword ptr [esp + 8*esi + 268435456]
100xc4,0xe2,0x55,0x50,0xb4,0xf4,0x00,0x00,0x00,0x10
11
12# CHECK: {vex} vpdpbusd ymm6, ymm5, ymmword ptr [edi + 4*eax + 291]
130xc4,0xe2,0x55,0x50,0xb4,0x87,0x23,0x01,0x00,0x00
14
15# CHECK: {vex} vpdpbusd ymm6, ymm5, ymmword ptr [eax]
160xc4,0xe2,0x55,0x50,0x30
17
18# CHECK: {vex} vpdpbusd ymm6, ymm5, ymmword ptr [2*ebp - 1024]
190xc4,0xe2,0x55,0x50,0x34,0x6d,0x00,0xfc,0xff,0xff
20
21# CHECK: {vex} vpdpbusd ymm6, ymm5, ymmword ptr [ecx + 4064]
220xc4,0xe2,0x55,0x50,0xb1,0xe0,0x0f,0x00,0x00
23
24# CHECK: {vex} vpdpbusd ymm6, ymm5, ymmword ptr [edx - 4096]
250xc4,0xe2,0x55,0x50,0xb2,0x00,0xf0,0xff,0xff
26
27# CHECK: {vex} vpdpbusd xmm6, xmm5, xmmword ptr [esp + 8*esi + 268435456]
280xc4,0xe2,0x51,0x50,0xb4,0xf4,0x00,0x00,0x00,0x10
29
30# CHECK: {vex} vpdpbusd xmm6, xmm5, xmmword ptr [edi + 4*eax + 291]
310xc4,0xe2,0x51,0x50,0xb4,0x87,0x23,0x01,0x00,0x00
32
33# CHECK: {vex} vpdpbusd xmm6, xmm5, xmmword ptr [eax]
340xc4,0xe2,0x51,0x50,0x30
35
36# CHECK: {vex} vpdpbusd xmm6, xmm5, xmmword ptr [2*ebp - 512]
370xc4,0xe2,0x51,0x50,0x34,0x6d,0x00,0xfe,0xff,0xff
38
39# CHECK: {vex} vpdpbusd xmm6, xmm5, xmmword ptr [ecx + 2032]
400xc4,0xe2,0x51,0x50,0xb1,0xf0,0x07,0x00,0x00
41
42# CHECK: {vex} vpdpbusd xmm6, xmm5, xmmword ptr [edx - 2048]
430xc4,0xe2,0x51,0x50,0xb2,0x00,0xf8,0xff,0xff
44
45# CHECK: {vex} vpdpbusds ymm6, ymm5, ymm4
460xc4,0xe2,0x55,0x51,0xf4
47
48# CHECK: {vex} vpdpbusds xmm6, xmm5, xmm4
490xc4,0xe2,0x51,0x51,0xf4
50
51# CHECK: {vex} vpdpbusds ymm6, ymm5, ymmword ptr [esp + 8*esi + 268435456]
520xc4,0xe2,0x55,0x51,0xb4,0xf4,0x00,0x00,0x00,0x10
53
54# CHECK: {vex} vpdpbusds ymm6, ymm5, ymmword ptr [edi + 4*eax + 291]
550xc4,0xe2,0x55,0x51,0xb4,0x87,0x23,0x01,0x00,0x00
56
57# CHECK: {vex} vpdpbusds ymm6, ymm5, ymmword ptr [eax]
580xc4,0xe2,0x55,0x51,0x30
59
60# CHECK: {vex} vpdpbusds ymm6, ymm5, ymmword ptr [2*ebp - 1024]
610xc4,0xe2,0x55,0x51,0x34,0x6d,0x00,0xfc,0xff,0xff
62
63# CHECK: {vex} vpdpbusds ymm6, ymm5, ymmword ptr [ecx + 4064]
640xc4,0xe2,0x55,0x51,0xb1,0xe0,0x0f,0x00,0x00
65
66# CHECK: {vex} vpdpbusds ymm6, ymm5, ymmword ptr [edx - 4096]
670xc4,0xe2,0x55,0x51,0xb2,0x00,0xf0,0xff,0xff
68
69# CHECK: {vex} vpdpbusds xmm6, xmm5, xmmword ptr [esp + 8*esi + 268435456]
700xc4,0xe2,0x51,0x51,0xb4,0xf4,0x00,0x00,0x00,0x10
71
72# CHECK: {vex} vpdpbusds xmm6, xmm5, xmmword ptr [edi + 4*eax + 291]
730xc4,0xe2,0x51,0x51,0xb4,0x87,0x23,0x01,0x00,0x00
74
75# CHECK: {vex} vpdpbusds xmm6, xmm5, xmmword ptr [eax]
760xc4,0xe2,0x51,0x51,0x30
77
78# CHECK: {vex} vpdpbusds xmm6, xmm5, xmmword ptr [2*ebp - 512]
790xc4,0xe2,0x51,0x51,0x34,0x6d,0x00,0xfe,0xff,0xff
80
81# CHECK: {vex} vpdpbusds xmm6, xmm5, xmmword ptr [ecx + 2032]
820xc4,0xe2,0x51,0x51,0xb1,0xf0,0x07,0x00,0x00
83
84# CHECK: {vex} vpdpbusds xmm6, xmm5, xmmword ptr [edx - 2048]
850xc4,0xe2,0x51,0x51,0xb2,0x00,0xf8,0xff,0xff
86
87# CHECK: {vex} vpdpwssd ymm6, ymm5, ymm4
880xc4,0xe2,0x55,0x52,0xf4
89
90# CHECK: {vex} vpdpwssd xmm6, xmm5, xmm4
910xc4,0xe2,0x51,0x52,0xf4
92
93# CHECK: {vex} vpdpwssd ymm6, ymm5, ymmword ptr [esp + 8*esi + 268435456]
940xc4,0xe2,0x55,0x52,0xb4,0xf4,0x00,0x00,0x00,0x10
95
96# CHECK: {vex} vpdpwssd ymm6, ymm5, ymmword ptr [edi + 4*eax + 291]
970xc4,0xe2,0x55,0x52,0xb4,0x87,0x23,0x01,0x00,0x00
98
99# CHECK: {vex} vpdpwssd ymm6, ymm5, ymmword ptr [eax]
1000xc4,0xe2,0x55,0x52,0x30
101
102# CHECK: {vex} vpdpwssd ymm6, ymm5, ymmword ptr [2*ebp - 1024]
1030xc4,0xe2,0x55,0x52,0x34,0x6d,0x00,0xfc,0xff,0xff
104
105# CHECK: {vex} vpdpwssd ymm6, ymm5, ymmword ptr [ecx + 4064]
1060xc4,0xe2,0x55,0x52,0xb1,0xe0,0x0f,0x00,0x00
107
108# CHECK: {vex} vpdpwssd ymm6, ymm5, ymmword ptr [edx - 4096]
1090xc4,0xe2,0x55,0x52,0xb2,0x00,0xf0,0xff,0xff
110
111# CHECK: {vex} vpdpwssd xmm6, xmm5, xmmword ptr [esp + 8*esi + 268435456]
1120xc4,0xe2,0x51,0x52,0xb4,0xf4,0x00,0x00,0x00,0x10
113
114# CHECK: {vex} vpdpwssd xmm6, xmm5, xmmword ptr [edi + 4*eax + 291]
1150xc4,0xe2,0x51,0x52,0xb4,0x87,0x23,0x01,0x00,0x00
116
117# CHECK: {vex} vpdpwssd xmm6, xmm5, xmmword ptr [eax]
1180xc4,0xe2,0x51,0x52,0x30
119
120# CHECK: {vex} vpdpwssd xmm6, xmm5, xmmword ptr [2*ebp - 512]
1210xc4,0xe2,0x51,0x52,0x34,0x6d,0x00,0xfe,0xff,0xff
122
123# CHECK: {vex} vpdpwssd xmm6, xmm5, xmmword ptr [ecx + 2032]
1240xc4,0xe2,0x51,0x52,0xb1,0xf0,0x07,0x00,0x00
125
126# CHECK: {vex} vpdpwssd xmm6, xmm5, xmmword ptr [edx - 2048]
1270xc4,0xe2,0x51,0x52,0xb2,0x00,0xf8,0xff,0xff
128
129# CHECK: {vex} vpdpwssds ymm6, ymm5, ymm4
1300xc4,0xe2,0x55,0x53,0xf4
131
132# CHECK: {vex} vpdpwssds xmm6, xmm5, xmm4
1330xc4,0xe2,0x51,0x53,0xf4
134
135# CHECK: {vex} vpdpwssds ymm6, ymm5, ymmword ptr [esp + 8*esi + 268435456]
1360xc4,0xe2,0x55,0x53,0xb4,0xf4,0x00,0x00,0x00,0x10
137
138# CHECK: {vex} vpdpwssds ymm6, ymm5, ymmword ptr [edi + 4*eax + 291]
1390xc4,0xe2,0x55,0x53,0xb4,0x87,0x23,0x01,0x00,0x00
140
141# CHECK: {vex} vpdpwssds ymm6, ymm5, ymmword ptr [eax]
1420xc4,0xe2,0x55,0x53,0x30
143
144# CHECK: {vex} vpdpwssds ymm6, ymm5, ymmword ptr [2*ebp - 1024]
1450xc4,0xe2,0x55,0x53,0x34,0x6d,0x00,0xfc,0xff,0xff
146
147# CHECK: {vex} vpdpwssds ymm6, ymm5, ymmword ptr [ecx + 4064]
1480xc4,0xe2,0x55,0x53,0xb1,0xe0,0x0f,0x00,0x00
149
150# CHECK: {vex} vpdpwssds ymm6, ymm5, ymmword ptr [edx - 4096]
1510xc4,0xe2,0x55,0x53,0xb2,0x00,0xf0,0xff,0xff
152
153# CHECK: {vex} vpdpwssds xmm6, xmm5, xmmword ptr [esp + 8*esi + 268435456]
1540xc4,0xe2,0x51,0x53,0xb4,0xf4,0x00,0x00,0x00,0x10
155
156# CHECK: {vex} vpdpwssds xmm6, xmm5, xmmword ptr [edi + 4*eax + 291]
1570xc4,0xe2,0x51,0x53,0xb4,0x87,0x23,0x01,0x00,0x00
158
159# CHECK: {vex} vpdpwssds xmm6, xmm5, xmmword ptr [eax]
1600xc4,0xe2,0x51,0x53,0x30
161
162# CHECK: {vex} vpdpwssds xmm6, xmm5, xmmword ptr [2*ebp - 512]
1630xc4,0xe2,0x51,0x53,0x34,0x6d,0x00,0xfe,0xff,0xff
164
165# CHECK: {vex} vpdpwssds xmm6, xmm5, xmmword ptr [ecx + 2032]
1660xc4,0xe2,0x51,0x53,0xb1,0xf0,0x07,0x00,0x00
167
168# CHECK: {vex} vpdpwssds xmm6, xmm5, xmmword ptr [edx - 2048]
1690xc4,0xe2,0x51,0x53,0xb2,0x00,0xf8,0xff,0xff
170
171