[obj2yaml] - Fix a comment. NFC.
[llvm-complete.git] / test / MC / X86 / intel-syntax-avx512_bf16_vl.s
blobd0310fd702893147fac97f81cc44ae2a62290f01
1 // RUN: llvm-mc -triple i686-unknown-unknown -x86-asm-syntax=intel -output-asm-variant=1 --show-encoding %s | FileCheck %s
3 // CHECK: vcvtne2ps2bf16 xmm6 {k7}, xmm5, xmm4
4 // CHECK: encoding: [0x62,0xf2,0x57,0x0f,0x72,0xf4]
5 vcvtne2ps2bf16 xmm6 {k7}, xmm5, xmm4
7 // CHECK: vcvtne2ps2bf16 xmm6 {k7} {z}, xmm5, xmm4
8 // CHECK: encoding: [0x62,0xf2,0x57,0x8f,0x72,0xf4]
9 vcvtne2ps2bf16 xmm6 {k7} {z}, xmm5, xmm4
11 // CHECK: vcvtne2ps2bf16 xmm6 {k7}, xmm5, xmmword ptr [ecx]
12 // CHECK: encoding: [0x62,0xf2,0x57,0x0f,0x72,0x31]
13 vcvtne2ps2bf16 xmm6 {k7}, xmm5, xmmword ptr [ecx]
15 // CHECK: vcvtne2ps2bf16 xmm6 {k7}, xmm5, xmmword ptr [esp + 8*esi + 291]
16 // CHECK: encoding: [0x62,0xf2,0x57,0x0f,0x72,0xb4,0xf4,0x23,0x01,0x00,0x00]
17 vcvtne2ps2bf16 xmm6 {k7}, xmm5, xmmword ptr [esp + 8*esi + 291]
19 // CHECK: vcvtne2ps2bf16 xmm6 {k7}, xmm5, xmmword ptr [esp + 8*esi + 268435456]
20 // CHECK: encoding: [0x62,0xf2,0x57,0x0f,0x72,0xb4,0xf4,0x00,0x00,0x00,0x10]
21 vcvtne2ps2bf16 xmm6 {k7}, xmm5, xmmword ptr [esp + 8*esi + 268435456]
23 // CHECK: vcvtne2ps2bf16 xmm6 {k7}, xmm5, xmmword ptr [esp - 4]
24 // CHECK: encoding: [0x62,0xf2,0x57,0x0f,0x72,0xb4,0x24,0xfc,0xff,0xff,0xff]
25 vcvtne2ps2bf16 xmm6 {k7}, xmm5, xmmword ptr [esp - 4]
27 // CHECK: vcvtne2ps2bf16 xmm6 {k7}, xmm5, dword ptr [eax]{1to4}
28 // CHECK: encoding: [0x62,0xf2,0x57,0x1f,0x72,0x30]
29 vcvtne2ps2bf16 xmm6 {k7}, xmm5, dword ptr [eax]{1to4}
31 // CHECK: vcvtne2ps2bf16 xmm6 {k7}, xmm5, xmmword ptr [edx + 2032]
32 // CHECK: encoding: [0x62,0xf2,0x57,0x0f,0x72,0x72,0x7f]
33 vcvtne2ps2bf16 xmm6 {k7}, xmm5, xmmword ptr [edx + 2032]
35 // CHECK: vcvtne2ps2bf16 xmm6 {k7}, xmm5, xmmword ptr [edx - 2048]
36 // CHECK: encoding: [0x62,0xf2,0x57,0x0f,0x72,0x72,0x80]
37 vcvtne2ps2bf16 xmm6 {k7}, xmm5, xmmword ptr [edx - 2048]
39 // CHECK: vcvtne2ps2bf16 xmm6 {k7}, xmm5, dword ptr [edx + 508]{1to4}
40 // CHECK: encoding: [0x62,0xf2,0x57,0x1f,0x72,0x72,0x7f]
41 vcvtne2ps2bf16 xmm6 {k7}, xmm5, dword ptr [edx + 508]{1to4}
43 // CHECK: vcvtne2ps2bf16 xmm6 {k7}, xmm5, dword ptr [edx - 512]{1to4}
44 // CHECK: encoding: [0x62,0xf2,0x57,0x1f,0x72,0x72,0x80]
45 vcvtne2ps2bf16 xmm6 {k7}, xmm5, dword ptr [edx - 512]{1to4}
47 // CHECK: vcvtne2ps2bf16 ymm6 {k7}, ymm5, ymm4
48 // CHECK: encoding: [0x62,0xf2,0x57,0x2f,0x72,0xf4]
49 vcvtne2ps2bf16 ymm6 {k7}, ymm5, ymm4
51 // CHECK: vcvtne2ps2bf16 ymm6 {k7} {z}, ymm5, ymm4
52 // CHECK: encoding: [0x62,0xf2,0x57,0xaf,0x72,0xf4]
53 vcvtne2ps2bf16 ymm6 {k7} {z}, ymm5, ymm4
55 // CHECK: vcvtne2ps2bf16 ymm6 {k7}, ymm5, ymmword ptr [ecx]
56 // CHECK: encoding: [0x62,0xf2,0x57,0x2f,0x72,0x31]
57 vcvtne2ps2bf16 ymm6 {k7}, ymm5, ymmword ptr [ecx]
59 // CHECK: vcvtne2ps2bf16 ymm6 {k7}, ymm5, ymmword ptr [esp + 8*esi + 291]
60 // CHECK: encoding: [0x62,0xf2,0x57,0x2f,0x72,0xb4,0xf4,0x23,0x01,0x00,0x00]
61 vcvtne2ps2bf16 ymm6 {k7}, ymm5, ymmword ptr [esp + 8*esi + 291]
63 // CHECK: vcvtne2ps2bf16 ymm6 {k7}, ymm5, ymmword ptr [esp + 8*esi + 268435456]
64 // CHECK: encoding: [0x62,0xf2,0x57,0x2f,0x72,0xb4,0xf4,0x00,0x00,0x00,0x10]
65 vcvtne2ps2bf16 ymm6 {k7}, ymm5, ymmword ptr [esp + 8*esi + 268435456]
67 // CHECK: vcvtne2ps2bf16 ymm6 {k7}, ymm5, ymmword ptr [esp - 4]
68 // CHECK: encoding: [0x62,0xf2,0x57,0x2f,0x72,0xb4,0x24,0xfc,0xff,0xff,0xff]
69 vcvtne2ps2bf16 ymm6 {k7}, ymm5, ymmword ptr [esp - 4]
71 // CHECK: vcvtne2ps2bf16 ymm6 {k7}, ymm5, dword ptr [eax]{1to8}
72 // CHECK: encoding: [0x62,0xf2,0x57,0x3f,0x72,0x30]
73 vcvtne2ps2bf16 ymm6 {k7}, ymm5, dword ptr [eax]{1to8}
75 // CHECK: vcvtne2ps2bf16 ymm6 {k7}, ymm5, ymmword ptr [edx + 4064]
76 // CHECK: encoding: [0x62,0xf2,0x57,0x2f,0x72,0x72,0x7f]
77 vcvtne2ps2bf16 ymm6 {k7}, ymm5, ymmword ptr [edx + 4064]
79 // CHECK: vcvtne2ps2bf16 ymm6 {k7}, ymm5, ymmword ptr [edx - 4096]
80 // CHECK: encoding: [0x62,0xf2,0x57,0x2f,0x72,0x72,0x80]
81 vcvtne2ps2bf16 ymm6 {k7}, ymm5, ymmword ptr [edx - 4096]
83 // CHECK: vcvtne2ps2bf16 ymm6 {k7}, ymm5, dword ptr [edx + 508]{1to8}
84 // CHECK: encoding: [0x62,0xf2,0x57,0x3f,0x72,0x72,0x7f]
85 vcvtne2ps2bf16 ymm6 {k7}, ymm5, dword ptr [edx + 508]{1to8}
87 // CHECK: vcvtne2ps2bf16 ymm6 {k7}, ymm5, dword ptr [edx - 512]{1to8}
88 // CHECK: encoding: [0x62,0xf2,0x57,0x3f,0x72,0x72,0x80]
89 vcvtne2ps2bf16 ymm6 {k7}, ymm5, dword ptr [edx - 512]{1to8}
91 // CHECK: vcvtneps2bf16 xmm6, xmm5
92 // CHECK: encoding: [0x62,0xf2,0x7e,0x08,0x72,0xf5]
93 vcvtneps2bf16 xmm6, xmm5
95 // CHECK: vcvtneps2bf16 xmm6 {k7}, xmmword ptr [esp + 8*esi + 268435456]
96 // CHECK: encoding: [0x62,0xf2,0x7e,0x0f,0x72,0xb4,0xf4,0x00,0x00,0x00,0x10]
97 vcvtneps2bf16 xmm6 {k7}, xmmword ptr [esp + 8*esi + 268435456]
99 // CHECK: vcvtneps2bf16 xmm6, dword ptr [ecx]{1to4}
100 // CHECK: encoding: [0x62,0xf2,0x7e,0x18,0x72,0x31]
101 vcvtneps2bf16 xmm6, dword ptr [ecx]{1to4}
103 // CHECK: vcvtneps2bf16 xmm6, xmmword ptr [ecx + 2032]
104 // CHECK: encoding: [0x62,0xf2,0x7e,0x08,0x72,0x71,0x7f]
105 vcvtneps2bf16 xmm6, xmmword ptr [ecx + 2032]
107 // CHECK: vcvtneps2bf16 xmm6 {k7} {z}, dword ptr [edx - 512]{1to4}
108 // CHECK: encoding: [0x62,0xf2,0x7e,0x9f,0x72,0x72,0x80]
109 vcvtneps2bf16 xmm6 {k7} {z}, dword ptr [edx - 512]{1to4}
111 // CHECK: vcvtneps2bf16 xmm6, ymm5
112 // CHECK: encoding: [0x62,0xf2,0x7e,0x28,0x72,0xf5]
113 vcvtneps2bf16 xmm6, ymm5
115 // CHECK: vcvtneps2bf16 xmm6 {k7}, ymmword ptr [esp + 8*esi + 268435456]
116 // CHECK: encoding: [0x62,0xf2,0x7e,0x2f,0x72,0xb4,0xf4,0x00,0x00,0x00,0x10]
117 vcvtneps2bf16 xmm6 {k7}, ymmword ptr [esp + 8*esi + 268435456]
119 // CHECK: vcvtneps2bf16 xmm6, dword ptr [ecx]{1to8}
120 // CHECK: encoding: [0x62,0xf2,0x7e,0x38,0x72,0x31]
121 vcvtneps2bf16 xmm6, dword ptr [ecx]{1to8}
123 // CHECK: vcvtneps2bf16 xmm6, ymmword ptr [ecx + 4064]
124 // CHECK: encoding: [0x62,0xf2,0x7e,0x28,0x72,0x71,0x7f]
125 vcvtneps2bf16 xmm6, ymmword ptr [ecx + 4064]
127 // CHECK: vcvtneps2bf16 xmm6 {k7} {z}, dword ptr [edx - 512]{1to8}
128 // CHECK: encoding: [0x62,0xf2,0x7e,0xbf,0x72,0x72,0x80]
129 vcvtneps2bf16 xmm6 {k7} {z}, dword ptr [edx - 512]{1to8}
131 // CHECK: vdpbf16ps ymm6, ymm5, ymm4
132 // CHECK: encoding: [0x62,0xf2,0x56,0x28,0x52,0xf4]
133 vdpbf16ps ymm6, ymm5, ymm4
135 // CHECK: vdpbf16ps ymm6 {k7}, ymm5, ymmword ptr [esp + 8*esi + 268435456]
136 // CHECK: encoding: [0x62,0xf2,0x56,0x2f,0x52,0xb4,0xf4,0x00,0x00,0x00,0x10]
137 vdpbf16ps ymm6 {k7}, ymm5, ymmword ptr [esp + 8*esi + 268435456]
139 // CHECK: vdpbf16ps ymm6, ymm5, dword ptr [ecx]{1to8}
140 // CHECK: encoding: [0x62,0xf2,0x56,0x38,0x52,0x31]
141 vdpbf16ps ymm6, ymm5, dword ptr [ecx]{1to8}
143 // CHECK: vdpbf16ps ymm6, ymm5, ymmword ptr [ecx + 4064]
144 // CHECK: encoding: [0x62,0xf2,0x56,0x28,0x52,0x71,0x7f]
145 vdpbf16ps ymm6, ymm5, ymmword ptr [ecx + 4064]
147 // CHECK: vdpbf16ps ymm6 {k7} {z}, ymm5, dword ptr [edx - 512]{1to8}
148 // CHECK: encoding: [0x62,0xf2,0x56,0xbf,0x52,0x72,0x80]
149 vdpbf16ps ymm6 {k7} {z}, ymm5, dword ptr [edx - 512]{1to8}
151 // CHECK: vdpbf16ps xmm6, xmm5, xmm4
152 // CHECK: encoding: [0x62,0xf2,0x56,0x08,0x52,0xf4]
153 vdpbf16ps xmm6, xmm5, xmm4
155 // CHECK: vdpbf16ps xmm6 {k7}, xmm5, xmmword ptr [esp + 8*esi + 268435456]
156 // CHECK: encoding: [0x62,0xf2,0x56,0x0f,0x52,0xb4,0xf4,0x00,0x00,0x00,0x10]
157 vdpbf16ps xmm6 {k7}, xmm5, xmmword ptr [esp + 8*esi + 268435456]
159 // CHECK: vdpbf16ps xmm6, xmm5, dword ptr [ecx]{1to4}
160 // CHECK: encoding: [0x62,0xf2,0x56,0x18,0x52,0x31]
161 vdpbf16ps xmm6, xmm5, dword ptr [ecx]{1to4}
163 // CHECK: vdpbf16ps xmm6, xmm5, xmmword ptr [ecx + 2032]
164 // CHECK: encoding: [0x62,0xf2,0x56,0x08,0x52,0x71,0x7f]
165 vdpbf16ps xmm6, xmm5, xmmword ptr [ecx + 2032]
167 // CHECK: vdpbf16ps xmm6 {k7} {z}, xmm5, dword ptr [edx - 512]{1to4}
168 // CHECK: encoding: [0x62,0xf2,0x56,0x9f,0x52,0x72,0x80]
169 vdpbf16ps xmm6 {k7} {z}, xmm5, dword ptr [edx - 512]{1to4}