llvm/llvm/test/MC/Disassembler/X86/avx512_bf16_vl-64.txt

# RUN: llvm-mc -triple x86_64 -disassemble %s | FileCheck %s --check-prefix=ATT
# RUN: llvm-mc -triple x86_64 -disassemble -output-asm-variant=1 %s | FileCheck %s --check-prefix=INTEL

# ATT:   vcvtne2ps2bf16	%xmm28, %xmm29, %xmm30
# INTEL: vcvtne2ps2bf16	xmm30, xmm29, xmm28
0x62,0x02,0x17,0x00,0x72,0xf4

# ATT:   vcvtne2ps2bf16	%xmm28, %xmm29, %xmm30 {%k7}
# INTEL: vcvtne2ps2bf16	xmm30 {k7}, xmm29, xmm28
0x62,0x02,0x17,0x07,0x72,0xf4

# ATT:   vcvtne2ps2bf16	%xmm28, %xmm29, %xmm30 {%k7} {z}
# INTEL: vcvtne2ps2bf16	xmm30 {k7} {z}, xmm29, xmm28
0x62,0x02,0x17,0x87,0x72,0xf4

# ATT:   vcvtne2ps2bf16	(%rcx), %xmm29, %xmm30
# INTEL: vcvtne2ps2bf16	xmm30, xmm29, xmmword ptr [rcx]
0x62,0x62,0x17,0x00,0x72,0x31

# ATT:   vcvtne2ps2bf16	291(%rax,%r14,8), %xmm29, %xmm30
# INTEL: vcvtne2ps2bf16	xmm30, xmm29, xmmword ptr [rax + 8*r14 + 291]
0x62,0x22,0x17,0x00,0x72,0xb4,0xf0,0x23,0x01,0x00,0x00

# ATT:   vcvtne2ps2bf16	268435456(%rax,%r14,8), %xmm29, %xmm30
# INTEL: vcvtne2ps2bf16	xmm30, xmm29, xmmword ptr [rax + 8*r14 + 268435456]
0x62,0x22,0x17,0x00,0x72,0xb4,0xf0,0x00,0x00,0x00,0x10

# ATT:   vcvtne2ps2bf16	-16(%rsp), %xmm29, %xmm30
# INTEL: vcvtne2ps2bf16	xmm30, xmm29, xmmword ptr [rsp - 16]
0x62,0x62,0x17,0x00,0x72,0x74,0x24,0xff

# ATT:   vcvtne2ps2bf16	(%rcx){1to4}, %xmm29, %xmm30
# INTEL: vcvtne2ps2bf16	xmm30, xmm29, dword ptr [rcx]{1to4}
0x62,0x62,0x17,0x10,0x72,0x31

# ATT:   vcvtne2ps2bf16	2032(%rdx), %xmm29, %xmm30
# INTEL: vcvtne2ps2bf16	xmm30, xmm29, xmmword ptr [rdx + 2032]
0x62,0x62,0x17,0x00,0x72,0x72,0x7f

# ATT:   vcvtne2ps2bf16	-2048(%rdx), %xmm29, %xmm30
# INTEL: vcvtne2ps2bf16	xmm30, xmm29, xmmword ptr [rdx - 2048]
0x62,0x62,0x17,0x00,0x72,0x72,0x80

# ATT:   vcvtne2ps2bf16	508(%rdx){1to4}, %xmm29, %xmm30
# INTEL: vcvtne2ps2bf16	xmm30, xmm29, dword ptr [rdx + 508]{1to4}
0x62,0x62,0x17,0x10,0x72,0x72,0x7f

# ATT:   vcvtne2ps2bf16	-512(%rdx){1to4}, %xmm29, %xmm30
# INTEL: vcvtne2ps2bf16	xmm30, xmm29, dword ptr [rdx - 512]{1to4}
0x62,0x62,0x17,0x10,0x72,0x72,0x80

# ATT:   vcvtne2ps2bf16	%ymm28, %ymm29, %ymm30
# INTEL: vcvtne2ps2bf16	ymm30, ymm29, ymm28
0x62,0x02,0x17,0x20,0x72,0xf4

# ATT:   vcvtne2ps2bf16	%ymm28, %ymm29, %ymm30 {%k7}
# INTEL: vcvtne2ps2bf16	ymm30 {k7}, ymm29, ymm28
0x62,0x02,0x17,0x27,0x72,0xf4

# ATT:   vcvtne2ps2bf16	%ymm28, %ymm29, %ymm30 {%k7} {z}
# INTEL: vcvtne2ps2bf16	ymm30 {k7} {z}, ymm29, ymm28
0x62,0x02,0x17,0xa7,0x72,0xf4

# ATT:   vcvtne2ps2bf16	(%rcx), %ymm29, %ymm30
# INTEL: vcvtne2ps2bf16	ymm30, ymm29, ymmword ptr [rcx]
0x62,0x62,0x17,0x20,0x72,0x31

# ATT:   vcvtne2ps2bf16	291(%rax,%r14,8), %ymm29, %ymm30
# INTEL: vcvtne2ps2bf16	ymm30, ymm29, ymmword ptr [rax + 8*r14 + 291]
0x62,0x22,0x17,0x20,0x72,0xb4,0xf0,0x23,0x01,0x00,0x00

# ATT:   vcvtne2ps2bf16	268435456(%rax,%r14,8), %ymm29, %ymm30
# INTEL: vcvtne2ps2bf16	ymm30, ymm29, ymmword ptr [rax + 8*r14 + 268435456]
0x62,0x22,0x17,0x20,0x72,0xb4,0xf0,0x00,0x00,0x00,0x10

# ATT:   vcvtne2ps2bf16	-32(%rsp), %ymm29, %ymm30
# INTEL: vcvtne2ps2bf16	ymm30, ymm29, ymmword ptr [rsp - 32]
0x62,0x62,0x17,0x20,0x72,0x74,0x24,0xff

# ATT:   vcvtne2ps2bf16	(%rcx){1to8}, %ymm29, %ymm30
# INTEL: vcvtne2ps2bf16	ymm30, ymm29, dword ptr [rcx]{1to8}
0x62,0x62,0x17,0x30,0x72,0x31

# ATT:   vcvtne2ps2bf16	4064(%rdx), %ymm29, %ymm30
# INTEL: vcvtne2ps2bf16	ymm30, ymm29, ymmword ptr [rdx + 4064]
0x62,0x62,0x17,0x20,0x72,0x72,0x7f

# ATT:   vcvtne2ps2bf16	-4096(%rdx), %ymm29, %ymm30
# INTEL: vcvtne2ps2bf16	ymm30, ymm29, ymmword ptr [rdx - 4096]
0x62,0x62,0x17,0x20,0x72,0x72,0x80

# ATT:   vcvtne2ps2bf16	508(%rdx){1to8}, %ymm29, %ymm30
# INTEL: vcvtne2ps2bf16	ymm30, ymm29, dword ptr [rdx + 508]{1to8}
0x62,0x62,0x17,0x30,0x72,0x72,0x7f

# ATT:   vcvtne2ps2bf16	-512(%rdx){1to8}, %ymm29, %ymm30
# INTEL: vcvtne2ps2bf16	ymm30, ymm29, dword ptr [rdx - 512]{1to8}
0x62,0x62,0x17,0x30,0x72,0x72,0x80

# ATT:   vcvtneps2bf16	%xmm29, %xmm30
# INTEL: vcvtneps2bf16	xmm30, xmm29
0x62,0x02,0x7e,0x08,0x72,0xf5

# ATT:   vcvtneps2bf16x	268435456(%rbp,%r14,8), %xmm30 {%k7}
# INTEL: vcvtneps2bf16	xmm30 {k7}, xmmword ptr [rbp + 8*r14 + 268435456]
0x62,0x22,0x7e,0x0f,0x72,0xb4,0xf5,0x00,0x00,0x00,0x10

# ATT:   vcvtneps2bf16	(%r9){1to4}, %xmm30
# INTEL: vcvtneps2bf16	xmm30, dword ptr [r9]{1to4}
0x62,0x42,0x7e,0x18,0x72,0x31

# ATT:   vcvtneps2bf16x	2032(%rcx), %xmm30
# INTEL: vcvtneps2bf16	xmm30, xmmword ptr [rcx + 2032]
0x62,0x62,0x7e,0x08,0x72,0x71,0x7f

# ATT:   vcvtneps2bf16	-512(%rdx){1to4}, %xmm30 {%k7} {z}
# INTEL: vcvtneps2bf16	xmm30 {k7} {z}, dword ptr [rdx - 512]{1to4}
0x62,0x62,0x7e,0x9f,0x72,0x72,0x80

# ATT:   vcvtneps2bf16	%ymm29, %xmm30
# INTEL: vcvtneps2bf16	xmm30, ymm29
0x62,0x02,0x7e,0x28,0x72,0xf5

# ATT:   vcvtneps2bf16y	268435456(%rbp,%r14,8), %xmm30 {%k7}
# INTEL: vcvtneps2bf16	xmm30 {k7}, ymmword ptr [rbp + 8*r14 + 268435456]
0x62,0x22,0x7e,0x2f,0x72,0xb4,0xf5,0x00,0x00,0x00,0x10

# ATT:   vcvtneps2bf16	(%r9){1to8}, %xmm30
# INTEL: vcvtneps2bf16	xmm30, dword ptr [r9]{1to8}
0x62,0x42,0x7e,0x38,0x72,0x31

# ATT:   vcvtneps2bf16y	4064(%rcx), %xmm30
# INTEL: vcvtneps2bf16	xmm30, ymmword ptr [rcx + 4064]
0x62,0x62,0x7e,0x28,0x72,0x71,0x7f

# ATT:   vcvtneps2bf16	-512(%rdx){1to8}, %xmm30 {%k7} {z}
# INTEL: vcvtneps2bf16	xmm30 {k7} {z}, dword ptr [rdx - 512]{1to8}
0x62,0x62,0x7e,0xbf,0x72,0x72,0x80

# ATT:   vdpbf16ps	%ymm28, %ymm29, %ymm30
# INTEL: vdpbf16ps	ymm30, ymm29, ymm28
0x62,0x02,0x16,0x20,0x52,0xf4

# ATT:   vdpbf16ps	268435456(%rbp,%r14,8), %ymm29, %ymm30 {%k7}
# INTEL: vdpbf16ps	ymm30 {k7}, ymm29, ymmword ptr [rbp + 8*r14 + 268435456]
0x62,0x22,0x16,0x27,0x52,0xb4,0xf5,0x00,0x00,0x00,0x10

# ATT:   vdpbf16ps	(%r9){1to8}, %ymm29, %ymm30
# INTEL: vdpbf16ps	ymm30, ymm29, dword ptr [r9]{1to8}
0x62,0x42,0x16,0x30,0x52,0x31

# ATT:   vdpbf16ps	4064(%rcx), %ymm29, %ymm30
# INTEL: vdpbf16ps	ymm30, ymm29, ymmword ptr [rcx + 4064]
0x62,0x62,0x16,0x20,0x52,0x71,0x7f

# ATT:   vdpbf16ps	-512(%rdx){1to8}, %ymm29, %ymm30 {%k7} {z}
# INTEL: vdpbf16ps	ymm30 {k7} {z}, ymm29, dword ptr [rdx - 512]{1to8}
0x62,0x62,0x16,0xb7,0x52,0x72,0x80

# ATT:   vdpbf16ps	%xmm28, %xmm29, %xmm30
# INTEL: vdpbf16ps	xmm30, xmm29, xmm28
0x62,0x02,0x16,0x00,0x52,0xf4

# ATT:   vdpbf16ps	268435456(%rbp,%r14,8), %xmm29, %xmm30 {%k7}
# INTEL: vdpbf16ps	xmm30 {k7}, xmm29, xmmword ptr [rbp + 8*r14 + 268435456]
0x62,0x22,0x16,0x07,0x52,0xb4,0xf5,0x00,0x00,0x00,0x10

# ATT:   vdpbf16ps	(%r9){1to4}, %xmm29, %xmm30
# INTEL: vdpbf16ps	xmm30, xmm29, dword ptr [r9]{1to4}
0x62,0x42,0x16,0x10,0x52,0x31

# ATT:   vdpbf16ps	2032(%rcx), %xmm29, %xmm30
# INTEL: vdpbf16ps	xmm30, xmm29, xmmword ptr [rcx + 2032]
0x62,0x62,0x16,0x00,0x52,0x71,0x7f

# ATT:   vdpbf16ps	-512(%rdx){1to4}, %xmm29, %xmm30 {%k7} {z}
# INTEL: vdpbf16ps	xmm30 {k7} {z}, xmm29, dword ptr [rdx - 512]{1to4}
0x62,0x62,0x16,0x97,0x52,0x72,0x80