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