1 # RUN: llvm-mc --disassemble %s -triple=x86_64-apple-darwin9 | FileCheck %s
3 # CHECK: vcvtne2ps2bf16 %ymm24, %ymm23, %ymm22
4 0x62,0x82,0x47,0x20,0x72,0xf0
6 # CHECK: vcvtne2ps2bf16 %ymm24, %ymm23, %ymm22 {%k7}
7 0x62,0x82,0x47,0x27,0x72,0xf0
9 # CHECK: vcvtne2ps2bf16 %ymm24, %ymm23, %ymm22 {%k7} {z}
10 0x62,0x82,0x47,0xa7,0x72,0xf0
12 # CHECK: vcvtne2ps2bf16 %xmm24, %xmm23, %xmm22
13 0x62,0x82,0x47,0x00,0x72,0xf0
15 # CHECK: vcvtne2ps2bf16 %xmm24, %xmm23, %xmm22 {%k7}
16 0x62,0x82,0x47,0x07,0x72,0xf0
18 # CHECK: vcvtne2ps2bf16 %xmm24, %xmm23, %xmm22 {%k7} {z}
19 0x62,0x82,0x47,0x87,0x72,0xf0
21 # CHECK: vcvtne2ps2bf16 268435456(%rbp,%r14,8), %ymm23, %ymm22
22 0x62,0xa2,0x47,0x20,0x72,0xb4,0xf5,0x00,0x00,0x00,0x10
24 # CHECK: vcvtne2ps2bf16 291(%r8,%rax,4), %ymm23, %ymm22 {%k7}
25 0x62,0xc2,0x47,0x27,0x72,0xb4,0x80,0x23,0x01,0x00,0x00
27 # CHECK: vcvtne2ps2bf16 (%rip){1to8}, %ymm23, %ymm22
28 0x62,0xe2,0x47,0x30,0x72,0x35,0x00,0x00,0x00,0x00
30 # CHECK: vcvtne2ps2bf16 -1024(,%rbp,2), %ymm23, %ymm22
31 0x62,0xe2,0x47,0x20,0x72,0x34,0x6d,0x00,0xfc,0xff,0xff
33 # CHECK: vcvtne2ps2bf16 4064(%rcx), %ymm23, %ymm22 {%k7} {z}
34 0x62,0xe2,0x47,0xa7,0x72,0x71,0x7f
36 # CHECK: vcvtne2ps2bf16 -512(%rdx){1to8}, %ymm23, %ymm22 {%k7} {z}
37 0x62,0xe2,0x47,0xb7,0x72,0x72,0x80
39 # CHECK: vcvtne2ps2bf16 268435456(%rbp,%r14,8), %xmm23, %xmm22
40 0x62,0xa2,0x47,0x00,0x72,0xb4,0xf5,0x00,0x00,0x00,0x10
42 # CHECK: vcvtne2ps2bf16 291(%r8,%rax,4), %xmm23, %xmm22 {%k7}
43 0x62,0xc2,0x47,0x07,0x72,0xb4,0x80,0x23,0x01,0x00,0x00
45 # CHECK: vcvtne2ps2bf16 (%rip){1to4}, %xmm23, %xmm22
46 0x62,0xe2,0x47,0x10,0x72,0x35,0x00,0x00,0x00,0x00
48 # CHECK: vcvtne2ps2bf16 -512(,%rbp,2), %xmm23, %xmm22
49 0x62,0xe2,0x47,0x00,0x72,0x34,0x6d,0x00,0xfe,0xff,0xff
51 # CHECK: vcvtne2ps2bf16 2032(%rcx), %xmm23, %xmm22 {%k7} {z}
52 0x62,0xe2,0x47,0x87,0x72,0x71,0x7f
54 # CHECK: vcvtne2ps2bf16 -512(%rdx){1to4}, %xmm23, %xmm22 {%k7} {z}
55 0x62,0xe2,0x47,0x97,0x72,0x72,0x80
57 # CHECK: vcvtneps2bf16 %xmm23, %xmm22
58 0x62,0xa2,0x7e,0x08,0x72,0xf7
60 # CHECK: vcvtneps2bf16 %xmm23, %xmm22 {%k7}
61 0x62,0xa2,0x7e,0x0f,0x72,0xf7
63 # CHECK: vcvtneps2bf16 %xmm23, %xmm22 {%k7} {z}
64 0x62,0xa2,0x7e,0x8f,0x72,0xf7
66 # CHECK: vcvtneps2bf16 %ymm23, %xmm22
67 0x62,0xa2,0x7e,0x28,0x72,0xf7
69 # CHECK: vcvtneps2bf16 %ymm23, %xmm22 {%k7}
70 0x62,0xa2,0x7e,0x2f,0x72,0xf7
72 # CHECK: vcvtneps2bf16 %ymm23, %xmm22 {%k7} {z}
73 0x62,0xa2,0x7e,0xaf,0x72,0xf7
75 # CHECK: vcvtneps2bf16x 268435456(%rbp,%r14,8), %xmm22
76 0x62,0xa2,0x7e,0x08,0x72,0xb4,0xf5,0x00,0x00,0x00,0x10
78 # CHECK: vcvtneps2bf16x 291(%r8,%rax,4), %xmm22 {%k7}
79 0x62,0xc2,0x7e,0x0f,0x72,0xb4,0x80,0x23,0x01,0x00,0x00
81 # CHECK: vcvtneps2bf16 (%rip){1to4}, %xmm22
82 0x62,0xe2,0x7e,0x18,0x72,0x35,0x00,0x00,0x00,0x00
84 # CHECK: vcvtneps2bf16x -512(,%rbp,2), %xmm22
85 0x62,0xe2,0x7e,0x08,0x72,0x34,0x6d,0x00,0xfe,0xff,0xff
87 # CHECK: vcvtneps2bf16x 2032(%rcx), %xmm22 {%k7} {z}
88 0x62,0xe2,0x7e,0x8f,0x72,0x71,0x7f
90 # CHECK: vcvtneps2bf16 -512(%rdx){1to4}, %xmm22 {%k7} {z}
91 0x62,0xe2,0x7e,0x9f,0x72,0x72,0x80
93 # CHECK: vcvtneps2bf16 (%rip){1to8}, %xmm22
94 0x62,0xe2,0x7e,0x38,0x72,0x35,0x00,0x00,0x00,0x00
96 # CHECK: vcvtneps2bf16y -1024(,%rbp,2), %xmm22
97 0x62,0xe2,0x7e,0x28,0x72,0x34,0x6d,0x00,0xfc,0xff,0xff
99 # CHECK: vcvtneps2bf16y 4064(%rcx), %xmm22 {%k7} {z}
100 0x62,0xe2,0x7e,0xaf,0x72,0x71,0x7f
102 # CHECK: vcvtneps2bf16 -512(%rdx){1to8}, %xmm22 {%k7} {z}
103 0x62,0xe2,0x7e,0xbf,0x72,0x72,0x80
105 # CHECK: vdpbf16ps %ymm24, %ymm23, %ymm22
106 0x62,0x82,0x46,0x20,0x52,0xf0
108 # CHECK: vdpbf16ps %ymm24, %ymm23, %ymm22 {%k7}
109 0x62,0x82,0x46,0x27,0x52,0xf0
111 # CHECK: vdpbf16ps %ymm24, %ymm23, %ymm22 {%k7} {z}
112 0x62,0x82,0x46,0xa7,0x52,0xf0
114 # CHECK: vdpbf16ps %xmm24, %xmm23, %xmm22
115 0x62,0x82,0x46,0x00,0x52,0xf0
117 # CHECK: vdpbf16ps %xmm24, %xmm23, %xmm22 {%k7}
118 0x62,0x82,0x46,0x07,0x52,0xf0
120 # CHECK: vdpbf16ps %xmm24, %xmm23, %xmm22 {%k7} {z}
121 0x62,0x82,0x46,0x87,0x52,0xf0
123 # CHECK: vdpbf16ps 268435456(%rbp,%r14,8), %ymm23, %ymm22
124 0x62,0xa2,0x46,0x20,0x52,0xb4,0xf5,0x00,0x00,0x00,0x10
126 # CHECK: vdpbf16ps 291(%r8,%rax,4), %ymm23, %ymm22 {%k7}
127 0x62,0xc2,0x46,0x27,0x52,0xb4,0x80,0x23,0x01,0x00,0x00
129 # CHECK: vdpbf16ps (%rip){1to8}, %ymm23, %ymm22
130 0x62,0xe2,0x46,0x30,0x52,0x35,0x00,0x00,0x00,0x00
132 # CHECK: vdpbf16ps -1024(,%rbp,2), %ymm23, %ymm22
133 0x62,0xe2,0x46,0x20,0x52,0x34,0x6d,0x00,0xfc,0xff,0xff
135 # CHECK: vdpbf16ps 4064(%rcx), %ymm23, %ymm22 {%k7} {z}
136 0x62,0xe2,0x46,0xa7,0x52,0x71,0x7f
138 # CHECK: vdpbf16ps -512(%rdx){1to8}, %ymm23, %ymm22 {%k7} {z}
139 0x62,0xe2,0x46,0xb7,0x52,0x72,0x80
141 # CHECK: vdpbf16ps 268435456(%rbp,%r14,8), %xmm23, %xmm22
142 0x62,0xa2,0x46,0x00,0x52,0xb4,0xf5,0x00,0x00,0x00,0x10
144 # CHECK: vdpbf16ps 291(%r8,%rax,4), %xmm23, %xmm22 {%k7}
145 0x62,0xc2,0x46,0x07,0x52,0xb4,0x80,0x23,0x01,0x00,0x00
147 # CHECK: vdpbf16ps (%rip){1to4}, %xmm23, %xmm22
148 0x62,0xe2,0x46,0x10,0x52,0x35,0x00,0x00,0x00,0x00
150 # CHECK: vdpbf16ps -512(,%rbp,2), %xmm23, %xmm22
151 0x62,0xe2,0x46,0x00,0x52,0x34,0x6d,0x00,0xfe,0xff,0xff
153 # CHECK: vdpbf16ps 2032(%rcx), %xmm23, %xmm22 {%k7} {z}
154 0x62,0xe2,0x46,0x87,0x52,0x71,0x7f
156 # CHECK: vdpbf16ps -512(%rdx){1to4}, %xmm23, %xmm22 {%k7} {z}
157 0x62,0xe2,0x46,0x97,0x52,0x72,0x80