[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / X86 / intel-syntax-x86-64-avx512_bf16.s
blobfaaeaa7321d2548884748376503323f7d09cfb8b
1 // RUN: llvm-mc -triple x86_64-unknown-unknown -x86-asm-syntax=intel -output-asm-variant=1 --show-encoding %s | FileCheck %s
3 // CHECK: vcvtne2ps2bf16 zmm30, zmm29, zmm28
4 // CHECK: encoding: [0x62,0x02,0x17,0x40,0x72,0xf4]
5 vcvtne2ps2bf16 zmm30, zmm29, zmm28
7 // CHECK: vcvtne2ps2bf16 zmm30 {k7}, zmm29, zmm28
8 // CHECK: encoding: [0x62,0x02,0x17,0x47,0x72,0xf4]
9 vcvtne2ps2bf16 zmm30 {k7}, zmm29, zmm28
11 // CHECK: vcvtne2ps2bf16 zmm30 {k7} {z}, zmm29, zmm28
12 // CHECK: encoding: [0x62,0x02,0x17,0xc7,0x72,0xf4]
13 vcvtne2ps2bf16 zmm30 {k7} {z}, zmm29, zmm28
15 // CHECK: vcvtne2ps2bf16 zmm30, zmm29, zmmword ptr [rcx]
16 // CHECK: encoding: [0x62,0x62,0x17,0x40,0x72,0x31]
17 vcvtne2ps2bf16 zmm30, zmm29, zmmword ptr [rcx]
19 // CHECK: vcvtne2ps2bf16 zmm30, zmm29, zmmword ptr [rax + 8*r14 + 291]
20 // CHECK: encoding: [0x62,0x22,0x17,0x40,0x72,0xb4,0xf0,0x23,0x01,0x00,0x00]
21 vcvtne2ps2bf16 zmm30, zmm29, zmmword ptr [rax + 8*r14 + 291]
23 // CHECK: vcvtne2ps2bf16 zmm30, zmm29, zmmword ptr [rax + 8*r14 + 268435456]
24 // CHECK: encoding: [0x62,0x22,0x17,0x40,0x72,0xb4,0xf0,0x00,0x00,0x00,0x10]
25 vcvtne2ps2bf16 zmm30, zmm29, zmmword ptr [rax + 8*r14 + 268435456]
27 // CHECK: vcvtne2ps2bf16 zmm30, zmm29, zmmword ptr [rsp - 4]
28 // CHECK: encoding: [0x62,0x62,0x17,0x40,0x72,0xb4,0x24,0xfc,0xff,0xff,0xff]
29 vcvtne2ps2bf16 zmm30, zmm29, zmmword ptr [rsp - 4]
31 // CHECK: vcvtne2ps2bf16 zmm30, zmm29, dword ptr [rcx]{1to16}
32 // CHECK: encoding: [0x62,0x62,0x17,0x50,0x72,0x31]
33 vcvtne2ps2bf16 zmm30, zmm29, dword ptr [rcx]{1to16}
35 // CHECK: vcvtne2ps2bf16 zmm30, zmm29, zmmword ptr [rdx + 8128]
36 // CHECK: encoding: [0x62,0x62,0x17,0x40,0x72,0x72,0x7f]
37 vcvtne2ps2bf16 zmm30, zmm29, zmmword ptr [rdx + 8128]
39 // CHECK: vcvtne2ps2bf16 zmm30, zmm29, zmmword ptr [rdx - 8192]
40 // CHECK: encoding: [0x62,0x62,0x17,0x40,0x72,0x72,0x80]
41 vcvtne2ps2bf16 zmm30, zmm29, zmmword ptr [rdx - 8192]
43 // CHECK: vcvtne2ps2bf16 zmm30, zmm29, dword ptr [rdx + 508]{1to16}
44 // CHECK: encoding: [0x62,0x62,0x17,0x50,0x72,0x72,0x7f]
45 vcvtne2ps2bf16 zmm30, zmm29, dword ptr [rdx + 508]{1to16}
47 // CHECK: vcvtne2ps2bf16 zmm30, zmm29, dword ptr [rdx - 512]{1to16}
48 // CHECK: encoding: [0x62,0x62,0x17,0x50,0x72,0x72,0x80]
49 vcvtne2ps2bf16 zmm30, zmm29, dword ptr [rdx - 512]{1to16}
51 // CHECK: vcvtneps2bf16 ymm30, zmm29
52 // CHECK: encoding: [0x62,0x02,0x7e,0x48,0x72,0xf5]
53 vcvtneps2bf16 ymm30, zmm29
55 // CHECK: vcvtneps2bf16 ymm30 {k7}, zmmword ptr [rbp + 8*r14 + 268435456]
56 // CHECK: encoding: [0x62,0x22,0x7e,0x4f,0x72,0xb4,0xf5,0x00,0x00,0x00,0x10]
57 vcvtneps2bf16 ymm30 {k7}, zmmword ptr [rbp + 8*r14 + 268435456]
59 // CHECK: vcvtneps2bf16 ymm30, dword ptr [r9]{1to16}
60 // CHECK: encoding: [0x62,0x42,0x7e,0x58,0x72,0x31]
61 vcvtneps2bf16 ymm30, dword ptr [r9]{1to16}
63 // CHECK: vcvtneps2bf16 ymm30, zmmword ptr [rcx + 8128]
64 // CHECK: encoding: [0x62,0x62,0x7e,0x48,0x72,0x71,0x7f]
65 vcvtneps2bf16 ymm30, zmmword ptr [rcx + 8128]
67 // CHECK: vcvtneps2bf16 ymm30 {k7} {z}, dword ptr [rdx - 512]{1to16}
68 // CHECK: encoding: [0x62,0x62,0x7e,0xdf,0x72,0x72,0x80]
69 vcvtneps2bf16 ymm30 {k7} {z}, dword ptr [rdx - 512]{1to16}
71 // CHECK: vdpbf16ps zmm30, zmm29, zmm28
72 // CHECK: encoding: [0x62,0x02,0x16,0x40,0x52,0xf4]
73 vdpbf16ps zmm30, zmm29, zmm28
75 // CHECK: vdpbf16ps zmm30 {k7}, zmm29, zmmword ptr [rbp + 8*r14 + 268435456]
76 // CHECK: encoding: [0x62,0x22,0x16,0x47,0x52,0xb4,0xf5,0x00,0x00,0x00,0x10]
77 vdpbf16ps zmm30 {k7}, zmm29, zmmword ptr [rbp + 8*r14 + 268435456]
79 // CHECK: vdpbf16ps zmm30, zmm29, dword ptr [r9]{1to16}
80 // CHECK: encoding: [0x62,0x42,0x16,0x50,0x52,0x31]
81 vdpbf16ps zmm30, zmm29, dword ptr [r9]{1to16}
83 // CHECK: vdpbf16ps zmm30, zmm29, zmmword ptr [rcx + 8128]
84 // CHECK: encoding: [0x62,0x62,0x16,0x40,0x52,0x71,0x7f]
85 vdpbf16ps zmm30, zmm29, zmmword ptr [rcx + 8128]
87 // CHECK: vdpbf16ps zmm30 {k7} {z}, zmm29, dword ptr [rdx - 512]{1to16}
88 // CHECK: encoding: [0x62,0x62,0x16,0xd7,0x52,0x72,0x80]
89 vdpbf16ps zmm30 {k7} {z}, zmm29, dword ptr [rdx - 512]{1to16}