# RUN: llvm-mc --disassemble %s -triple=i386 -x86-asm-syntax=intel --output-asm-variant=1 | FileCheck %s
# CHECK: vp2intersectd k4, zmm3, zmm4
0x62,0xf2,0x67,0x48,0x68,0xe4

# CHECK: vp2intersectd k4, zmm3, zmmword ptr [esp + 8*esi + 268435456]
0x62,0xf2,0x67,0x48,0x68,0xa4,0xf4,0x00,0x00,0x00,0x10

# CHECK: vp2intersectd k4, zmm3, zmmword ptr [edi + 4*eax + 291]
0x62,0xf2,0x67,0x48,0x68,0xa4,0x87,0x23,0x01,0x00,0x00

# CHECK: vp2intersectd k4, zmm3, dword ptr [eax]{1to16}
0x62,0xf2,0x67,0x58,0x68,0x20

# CHECK: vp2intersectd k4, zmm3, zmmword ptr [2*ebp - 2048]
0x62,0xf2,0x67,0x48,0x68,0x24,0x6d,0x00,0xf8,0xff,0xff

# CHECK: vp2intersectd k4, zmm3, zmmword ptr [ecx + 8128]
0x62,0xf2,0x67,0x48,0x68,0x61,0x7f

# CHECK: vp2intersectd k4, zmm3, dword ptr [edx - 512]{1to16}
0x62,0xf2,0x67,0x58,0x68,0x62,0x80

# CHECK: vp2intersectq k4, zmm3, zmm4
0x62,0xf2,0xe7,0x48,0x68,0xe4

# CHECK: vp2intersectq k4, zmm3, zmmword ptr [esp + 8*esi + 268435456]
0x62,0xf2,0xe7,0x48,0x68,0xa4,0xf4,0x00,0x00,0x00,0x10

# CHECK: vp2intersectq k4, zmm3, zmmword ptr [edi + 4*eax + 291]
0x62,0xf2,0xe7,0x48,0x68,0xa4,0x87,0x23,0x01,0x00,0x00

# CHECK: vp2intersectq k4, zmm3, qword ptr [eax]{1to8}
0x62,0xf2,0xe7,0x58,0x68,0x20

# CHECK: vp2intersectq k4, zmm3, zmmword ptr [2*ebp - 2048]
0x62,0xf2,0xe7,0x48,0x68,0x24,0x6d,0x00,0xf8,0xff,0xff

# CHECK: vp2intersectq k4, zmm3, zmmword ptr [ecx + 8128]
0x62,0xf2,0xe7,0x48,0x68,0x61,0x7f

# CHECK: vp2intersectq k4, zmm3, qword ptr [edx - 1024]{1to8}
0x62,0xf2,0xe7,0x58,0x68,0x62,0x80

