[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / X86 / intel-syntax-avx512_bf16.s
blob3c9fca96deb6d38c856efe075346e9847569f744
1 // RUN: llvm-mc -triple i686-unknown-unknown -x86-asm-syntax=intel -output-asm-variant=1 --show-encoding %s | FileCheck %s
3 // CHECK: vcvtne2ps2bf16 zmm6, zmm5, zmm4
4 // CHECK: encoding: [0x62,0xf2,0x57,0x48,0x72,0xf4]
5 vcvtne2ps2bf16 zmm6, zmm5, zmm4
7 // CHECK: vcvtne2ps2bf16 zmm6 {k7}, zmm5, zmm4
8 // CHECK: encoding: [0x62,0xf2,0x57,0x4f,0x72,0xf4]
9 vcvtne2ps2bf16 zmm6 {k7}, zmm5, zmm4
11 // CHECK: vcvtne2ps2bf16 zmm6 {k7} {z}, zmm5, zmm4
12 // CHECK: encoding: [0x62,0xf2,0x57,0xcf,0x72,0xf4]
13 vcvtne2ps2bf16 zmm6 {k7} {z}, zmm5, zmm4
15 // CHECK: vcvtne2ps2bf16 zmm6, zmm5, zmmword ptr [ecx]
16 // CHECK: encoding: [0x62,0xf2,0x57,0x48,0x72,0x31]
17 vcvtne2ps2bf16 zmm6, zmm5, zmmword ptr [ecx]
19 // CHECK: vcvtne2ps2bf16 zmm6, zmm5, zmmword ptr [esp + 8*esi + 291]
20 // CHECK: encoding: [0x62,0xf2,0x57,0x48,0x72,0xb4,0xf4,0x23,0x01,0x00,0x00]
21 vcvtne2ps2bf16 zmm6, zmm5, zmmword ptr [esp + 8*esi + 291]
23 // CHECK: vcvtne2ps2bf16 zmm6, zmm5, zmmword ptr [esp + 8*esi + 268435456]
24 // CHECK: encoding: [0x62,0xf2,0x57,0x48,0x72,0xb4,0xf4,0x00,0x00,0x00,0x10]
25 vcvtne2ps2bf16 zmm6, zmm5, zmmword ptr [esp + 8*esi + 268435456]
27 // CHECK: vcvtne2ps2bf16 zmm6, zmm5, zmmword ptr [esp - 4]
28 // CHECK: encoding: [0x62,0xf2,0x57,0x48,0x72,0xb4,0x24,0xfc,0xff,0xff,0xff]
29 vcvtne2ps2bf16 zmm6, zmm5, zmmword ptr [esp - 4]
31 // CHECK: vcvtne2ps2bf16 zmm6, zmm5, dword ptr [eax]{1to16}
32 // CHECK: encoding: [0x62,0xf2,0x57,0x58,0x72,0x30]
33 vcvtne2ps2bf16 zmm6, zmm5, dword ptr [eax]{1to16}
35 // CHECK: vcvtne2ps2bf16 zmm6, zmm5, zmmword ptr [edx + 8128]
36 // CHECK: encoding: [0x62,0xf2,0x57,0x48,0x72,0x72,0x7f]
37 vcvtne2ps2bf16 zmm6, zmm5, zmmword ptr [edx + 8128]
39 // CHECK: vcvtne2ps2bf16 zmm6, zmm5, zmmword ptr [edx - 8192]
40 // CHECK: encoding: [0x62,0xf2,0x57,0x48,0x72,0x72,0x80]
41 vcvtne2ps2bf16 zmm6, zmm5, zmmword ptr [edx - 8192]
43 // CHECK: vcvtne2ps2bf16 zmm6, zmm5, dword ptr [edx + 508]{1to16}
44 // CHECK: encoding: [0x62,0xf2,0x57,0x58,0x72,0x72,0x7f]
45 vcvtne2ps2bf16 zmm6, zmm5, dword ptr [edx + 508]{1to16}
47 // CHECK: vcvtne2ps2bf16 zmm6, zmm5, dword ptr [edx - 512]{1to16}
48 // CHECK: encoding: [0x62,0xf2,0x57,0x58,0x72,0x72,0x80]
49 vcvtne2ps2bf16 zmm6, zmm5, dword ptr [edx - 512]{1to16}
51 // CHECK: vcvtneps2bf16 ymm6, zmm5
52 // CHECK: encoding: [0x62,0xf2,0x7e,0x48,0x72,0xf5]
53 vcvtneps2bf16 ymm6, zmm5
55 // CHECK: vcvtneps2bf16 ymm6 {k7}, zmmword ptr [esp + 8*esi + 268435456]
56 // CHECK: encoding: [0x62,0xf2,0x7e,0x4f,0x72,0xb4,0xf4,0x00,0x00,0x00,0x10]
57 vcvtneps2bf16 ymm6 {k7}, zmmword ptr [esp + 8*esi + 268435456]
59 // CHECK: vcvtneps2bf16 ymm6, dword ptr [ecx]{1to16}
60 // CHECK: encoding: [0x62,0xf2,0x7e,0x58,0x72,0x31]
61 vcvtneps2bf16 ymm6, dword ptr [ecx]{1to16}
63 // CHECK: vcvtneps2bf16 ymm6, zmmword ptr [ecx + 8128]
64 // CHECK: encoding: [0x62,0xf2,0x7e,0x48,0x72,0x71,0x7f]
65 vcvtneps2bf16 ymm6, zmmword ptr [ecx + 8128]
67 // CHECK: vcvtneps2bf16 ymm6 {k7} {z}, dword ptr [edx - 512]{1to16}
68 // CHECK: encoding: [0x62,0xf2,0x7e,0xdf,0x72,0x72,0x80]
69 vcvtneps2bf16 ymm6 {k7} {z}, dword ptr [edx - 512]{1to16}
71 // CHECK: vdpbf16ps zmm6, zmm5, zmm4
72 // CHECK: encoding: [0x62,0xf2,0x56,0x48,0x52,0xf4]
73 vdpbf16ps zmm6, zmm5, zmm4
75 // CHECK: vdpbf16ps zmm6 {k7}, zmm5, zmmword ptr [esp + 8*esi + 268435456]
76 // CHECK: encoding: [0x62,0xf2,0x56,0x4f,0x52,0xb4,0xf4,0x00,0x00,0x00,0x10]
77 vdpbf16ps zmm6 {k7}, zmm5, zmmword ptr [esp + 8*esi + 268435456]
79 // CHECK: vdpbf16ps zmm6, zmm5, dword ptr [ecx]{1to16}
80 // CHECK: encoding: [0x62,0xf2,0x56,0x58,0x52,0x31]
81 vdpbf16ps zmm6, zmm5, dword ptr [ecx]{1to16}
83 // CHECK: vdpbf16ps zmm6, zmm5, zmmword ptr [ecx + 8128]
84 // CHECK: encoding: [0x62,0xf2,0x56,0x48,0x52,0x71,0x7f]
85 vdpbf16ps zmm6, zmm5, zmmword ptr [ecx + 8128]
87 // CHECK: vdpbf16ps zmm6 {k7} {z}, zmm5, dword ptr [edx - 512]{1to16}
88 // CHECK: encoding: [0x62,0xf2,0x56,0xdf,0x52,0x72,0x80]
89 vdpbf16ps zmm6 {k7} {z}, zmm5, dword ptr [edx - 512]{1to16}