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