llvm/llvm/test/MC/Disassembler/X86/avx512vp2intersectvl-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:   vp2intersectd	%ymm24, %ymm23, %k6
# INTEL: vp2intersectd	k6, ymm23, ymm24
0x62,0x92,0x47,0x20,0x68,0xf0

# ATT:   vp2intersectd	%xmm24, %xmm23, %k6
# INTEL: vp2intersectd	k6, xmm23, xmm24
0x62,0x92,0x47,0x00,0x68,0xf0

# ATT:   vp2intersectd	268435456(%rbp,%r14,8), %ymm23, %k6
# INTEL: vp2intersectd	k6, ymm23, ymmword ptr [rbp + 8*r14 + 268435456]
0x62,0xb2,0x47,0x20,0x68,0xb4,0xf5,0x00,0x00,0x00,0x10

# ATT:   vp2intersectd	291(%r8,%rax,4), %ymm23, %k6
# INTEL: vp2intersectd	k6, ymm23, ymmword ptr [r8 + 4*rax + 291]
0x62,0xd2,0x47,0x20,0x68,0xb4,0x80,0x23,0x01,0x00,0x00

# ATT:   vp2intersectd	(%rip){1to8}, %ymm23, %k6
# INTEL: vp2intersectd	k6, ymm23, dword ptr [rip]{1to8}
0x62,0xf2,0x47,0x30,0x68,0x35,0x00,0x00,0x00,0x00

# ATT:   vp2intersectd	-1024(,%rbp,2), %ymm23, %k6
# INTEL: vp2intersectd	k6, ymm23, ymmword ptr [2*rbp - 1024]
0x62,0xf2,0x47,0x20,0x68,0x34,0x6d,0x00,0xfc,0xff,0xff

# ATT:   vp2intersectd	4064(%rcx), %ymm23, %k6
# INTEL: vp2intersectd	k6, ymm23, ymmword ptr [rcx + 4064]
0x62,0xf2,0x47,0x20,0x68,0x71,0x7f

# ATT:   vp2intersectd	-512(%rdx){1to8}, %ymm23, %k6
# INTEL: vp2intersectd	k6, ymm23, dword ptr [rdx - 512]{1to8}
0x62,0xf2,0x47,0x30,0x68,0x72,0x80

# ATT:   vp2intersectd	268435456(%rbp,%r14,8), %xmm23, %k6
# INTEL: vp2intersectd	k6, xmm23, xmmword ptr [rbp + 8*r14 + 268435456]
0x62,0xb2,0x47,0x00,0x68,0xb4,0xf5,0x00,0x00,0x00,0x10

# ATT:   vp2intersectd	291(%r8,%rax,4), %xmm23, %k6
# INTEL: vp2intersectd	k6, xmm23, xmmword ptr [r8 + 4*rax + 291]
0x62,0xd2,0x47,0x00,0x68,0xb4,0x80,0x23,0x01,0x00,0x00

# ATT:   vp2intersectd	(%rip){1to4}, %xmm23, %k6
# INTEL: vp2intersectd	k6, xmm23, dword ptr [rip]{1to4}
0x62,0xf2,0x47,0x10,0x68,0x35,0x00,0x00,0x00,0x00

# ATT:   vp2intersectd	-512(,%rbp,2), %xmm23, %k6
# INTEL: vp2intersectd	k6, xmm23, xmmword ptr [2*rbp - 512]
0x62,0xf2,0x47,0x00,0x68,0x34,0x6d,0x00,0xfe,0xff,0xff

# ATT:   vp2intersectd	2032(%rcx), %xmm23, %k6
# INTEL: vp2intersectd	k6, xmm23, xmmword ptr [rcx + 2032]
0x62,0xf2,0x47,0x00,0x68,0x71,0x7f

# ATT:   vp2intersectd	-512(%rdx){1to4}, %xmm23, %k6
# INTEL: vp2intersectd	k6, xmm23, dword ptr [rdx - 512]{1to4}
0x62,0xf2,0x47,0x10,0x68,0x72,0x80

# ATT:   vp2intersectq	%ymm24, %ymm23, %k6
# INTEL: vp2intersectq	k6, ymm23, ymm24
0x62,0x92,0xc7,0x20,0x68,0xf0

# ATT:   vp2intersectq	%xmm24, %xmm23, %k6
# INTEL: vp2intersectq	k6, xmm23, xmm24
0x62,0x92,0xc7,0x00,0x68,0xf0

# ATT:   vp2intersectq	268435456(%rbp,%r14,8), %ymm23, %k6
# INTEL: vp2intersectq	k6, ymm23, ymmword ptr [rbp + 8*r14 + 268435456]
0x62,0xb2,0xc7,0x20,0x68,0xb4,0xf5,0x00,0x00,0x00,0x10

# ATT:   vp2intersectq	291(%r8,%rax,4), %ymm23, %k6
# INTEL: vp2intersectq	k6, ymm23, ymmword ptr [r8 + 4*rax + 291]
0x62,0xd2,0xc7,0x20,0x68,0xb4,0x80,0x23,0x01,0x00,0x00

# ATT:   vp2intersectq	(%rip){1to4}, %ymm23, %k6
# INTEL: vp2intersectq	k6, ymm23, qword ptr [rip]{1to4}
0x62,0xf2,0xc7,0x30,0x68,0x35,0x00,0x00,0x00,0x00

# ATT:   vp2intersectq	-1024(,%rbp,2), %ymm23, %k6
# INTEL: vp2intersectq	k6, ymm23, ymmword ptr [2*rbp - 1024]
0x62,0xf2,0xc7,0x20,0x68,0x34,0x6d,0x00,0xfc,0xff,0xff

# ATT:   vp2intersectq	4064(%rcx), %ymm23, %k6
# INTEL: vp2intersectq	k6, ymm23, ymmword ptr [rcx + 4064]
0x62,0xf2,0xc7,0x20,0x68,0x71,0x7f

# ATT:   vp2intersectq	-1024(%rdx){1to4}, %ymm23, %k6
# INTEL: vp2intersectq	k6, ymm23, qword ptr [rdx - 1024]{1to4}
0x62,0xf2,0xc7,0x30,0x68,0x72,0x80

# ATT:   vp2intersectq	268435456(%rbp,%r14,8), %xmm23, %k6
# INTEL: vp2intersectq	k6, xmm23, xmmword ptr [rbp + 8*r14 + 268435456]
0x62,0xb2,0xc7,0x00,0x68,0xb4,0xf5,0x00,0x00,0x00,0x10

# ATT:   vp2intersectq	291(%r8,%rax,4), %xmm23, %k6
# INTEL: vp2intersectq	k6, xmm23, xmmword ptr [r8 + 4*rax + 291]
0x62,0xd2,0xc7,0x00,0x68,0xb4,0x80,0x23,0x01,0x00,0x00

# ATT:   vp2intersectq	(%rip){1to2}, %xmm23, %k6
# INTEL: vp2intersectq	k6, xmm23, qword ptr [rip]{1to2}
0x62,0xf2,0xc7,0x10,0x68,0x35,0x00,0x00,0x00,0x00

# ATT:   vp2intersectq	-512(,%rbp,2), %xmm23, %k6
# INTEL: vp2intersectq	k6, xmm23, xmmword ptr [2*rbp - 512]
0x62,0xf2,0xc7,0x00,0x68,0x34,0x6d,0x00,0xfe,0xff,0xff

# ATT:   vp2intersectq	2032(%rcx), %xmm23, %k6
# INTEL: vp2intersectq	k6, xmm23, xmmword ptr [rcx + 2032]
0x62,0xf2,0xc7,0x00,0x68,0x71,0x7f

# ATT:   vp2intersectq	-1024(%rdx){1to2}, %xmm23, %k6
# INTEL: vp2intersectq	k6, xmm23, qword ptr [rdx - 1024]{1to2}
0x62,0xf2,0xc7,0x10,0x68,0x72,0x80