# RUN: llvm-mc -triple i386 -disassemble %s | FileCheck %s --check-prefix=ATT
# RUN: llvm-mc -triple i386 -disassemble -output-asm-variant=1 %s | FileCheck %s --check-prefix=INTEL
# ATT: vp2intersectd %ymm4, %ymm3, %k6
# INTEL: vp2intersectd k6, ymm3, ymm4
0x62,0xf2,0x67,0x28,0x68,0xf4
# ATT: vp2intersectd %xmm4, %xmm3, %k6
# INTEL: vp2intersectd k6, xmm3, xmm4
0x62,0xf2,0x67,0x08,0x68,0xf4
# ATT: vp2intersectd 268435456(%esp,%esi,8), %ymm3, %k6
# INTEL: vp2intersectd k6, ymm3, ymmword ptr [esp + 8*esi + 268435456]
0x62,0xf2,0x67,0x28,0x68,0xb4,0xf4,0x00,0x00,0x00,0x10
# ATT: vp2intersectd 291(%edi,%eax,4), %ymm3, %k6
# INTEL: vp2intersectd k6, ymm3, ymmword ptr [edi + 4*eax + 291]
0x62,0xf2,0x67,0x28,0x68,0xb4,0x87,0x23,0x01,0x00,0x00
# ATT: vp2intersectd (%eax){1to8}, %ymm3, %k6
# INTEL: vp2intersectd k6, ymm3, dword ptr [eax]{1to8}
0x62,0xf2,0x67,0x38,0x68,0x30
# ATT: vp2intersectd -1024(,%ebp,2), %ymm3, %k6
# INTEL: vp2intersectd k6, ymm3, ymmword ptr [2*ebp - 1024]
0x62,0xf2,0x67,0x28,0x68,0x34,0x6d,0x00,0xfc,0xff,0xff
# ATT: vp2intersectd 4064(%ecx), %ymm3, %k6
# INTEL: vp2intersectd k6, ymm3, ymmword ptr [ecx + 4064]
0x62,0xf2,0x67,0x28,0x68,0x71,0x7f
# ATT: vp2intersectd -512(%edx){1to8}, %ymm3, %k6
# INTEL: vp2intersectd k6, ymm3, dword ptr [edx - 512]{1to8}
0x62,0xf2,0x67,0x38,0x68,0x72,0x80
# ATT: vp2intersectd 268435456(%esp,%esi,8), %xmm3, %k6
# INTEL: vp2intersectd k6, xmm3, xmmword ptr [esp + 8*esi + 268435456]
0x62,0xf2,0x67,0x08,0x68,0xb4,0xf4,0x00,0x00,0x00,0x10
# ATT: vp2intersectd 291(%edi,%eax,4), %xmm3, %k6
# INTEL: vp2intersectd k6, xmm3, xmmword ptr [edi + 4*eax + 291]
0x62,0xf2,0x67,0x08,0x68,0xb4,0x87,0x23,0x01,0x00,0x00
# ATT: vp2intersectd (%eax){1to4}, %xmm3, %k6
# INTEL: vp2intersectd k6, xmm3, dword ptr [eax]{1to4}
0x62,0xf2,0x67,0x18,0x68,0x30
# ATT: vp2intersectd -512(,%ebp,2), %xmm3, %k6
# INTEL: vp2intersectd k6, xmm3, xmmword ptr [2*ebp - 512]
0x62,0xf2,0x67,0x08,0x68,0x34,0x6d,0x00,0xfe,0xff,0xff
# ATT: vp2intersectd 2032(%ecx), %xmm3, %k6
# INTEL: vp2intersectd k6, xmm3, xmmword ptr [ecx + 2032]
0x62,0xf2,0x67,0x08,0x68,0x71,0x7f
# ATT: vp2intersectd -512(%edx){1to4}, %xmm3, %k6
# INTEL: vp2intersectd k6, xmm3, dword ptr [edx - 512]{1to4}
0x62,0xf2,0x67,0x18,0x68,0x72,0x80
# ATT: vp2intersectq %ymm4, %ymm3, %k6
# INTEL: vp2intersectq k6, ymm3, ymm4
0x62,0xf2,0xe7,0x28,0x68,0xf4
# ATT: vp2intersectq %xmm4, %xmm3, %k6
# INTEL: vp2intersectq k6, xmm3, xmm4
0x62,0xf2,0xe7,0x08,0x68,0xf4
# ATT: vp2intersectq 268435456(%esp,%esi,8), %ymm3, %k6
# INTEL: vp2intersectq k6, ymm3, ymmword ptr [esp + 8*esi + 268435456]
0x62,0xf2,0xe7,0x28,0x68,0xb4,0xf4,0x00,0x00,0x00,0x10
# ATT: vp2intersectq 291(%edi,%eax,4), %ymm3, %k6
# INTEL: vp2intersectq k6, ymm3, ymmword ptr [edi + 4*eax + 291]
0x62,0xf2,0xe7,0x28,0x68,0xb4,0x87,0x23,0x01,0x00,0x00
# ATT: vp2intersectq (%eax){1to4}, %ymm3, %k6
# INTEL: vp2intersectq k6, ymm3, qword ptr [eax]{1to4}
0x62,0xf2,0xe7,0x38,0x68,0x30
# ATT: vp2intersectq -1024(,%ebp,2), %ymm3, %k6
# INTEL: vp2intersectq k6, ymm3, ymmword ptr [2*ebp - 1024]
0x62,0xf2,0xe7,0x28,0x68,0x34,0x6d,0x00,0xfc,0xff,0xff
# ATT: vp2intersectq 4064(%ecx), %ymm3, %k6
# INTEL: vp2intersectq k6, ymm3, ymmword ptr [ecx + 4064]
0x62,0xf2,0xe7,0x28,0x68,0x71,0x7f
# ATT: vp2intersectq -1024(%edx){1to4}, %ymm3, %k6
# INTEL: vp2intersectq k6, ymm3, qword ptr [edx - 1024]{1to4}
0x62,0xf2,0xe7,0x38,0x68,0x72,0x80
# ATT: vp2intersectq 268435456(%esp,%esi,8), %xmm3, %k6
# INTEL: vp2intersectq k6, xmm3, xmmword ptr [esp + 8*esi + 268435456]
0x62,0xf2,0xe7,0x08,0x68,0xb4,0xf4,0x00,0x00,0x00,0x10
# ATT: vp2intersectq 291(%edi,%eax,4), %xmm3, %k6
# INTEL: vp2intersectq k6, xmm3, xmmword ptr [edi + 4*eax + 291]
0x62,0xf2,0xe7,0x08,0x68,0xb4,0x87,0x23,0x01,0x00,0x00
# ATT: vp2intersectq (%eax){1to2}, %xmm3, %k6
# INTEL: vp2intersectq k6, xmm3, qword ptr [eax]{1to2}
0x62,0xf2,0xe7,0x18,0x68,0x30
# ATT: vp2intersectq -512(,%ebp,2), %xmm3, %k6
# INTEL: vp2intersectq k6, xmm3, xmmword ptr [2*ebp - 512]
0x62,0xf2,0xe7,0x08,0x68,0x34,0x6d,0x00,0xfe,0xff,0xff
# ATT: vp2intersectq 2032(%ecx), %xmm3, %k6
# INTEL: vp2intersectq k6, xmm3, xmmword ptr [ecx + 2032]
0x62,0xf2,0xe7,0x08,0x68,0x71,0x7f
# ATT: vp2intersectq -1024(%edx){1to2}, %xmm3, %k6
# INTEL: vp2intersectq k6, xmm3, qword ptr [edx - 1024]{1to2}
0x62,0xf2,0xe7,0x18,0x68,0x72,0x80