# RUN: llvm-mc --disassemble %s -triple=i386 | FileCheck %s --check-prefixes=ATT
# RUN: llvm-mc --disassemble %s -triple=i386 --output-asm-variant=1 | FileCheck %s --check-prefixes=INTEL
# ATT: vcomxsd %xmm3, %xmm2
# INTEL: vcomxsd xmm2, xmm3
0x62,0xf1,0xfe,0x08,0x2f,0xd3
# ATT: vcomxsd {sae}, %xmm3, %xmm2
# INTEL: vcomxsd xmm2, xmm3, {sae}
0x62,0xf1,0xfe,0x18,0x2f,0xd3
# ATT: vcomxsd 268435456(%esp,%esi,8), %xmm2
# INTEL: vcomxsd xmm2, qword ptr [esp + 8*esi + 268435456]
0x62,0xf1,0xfe,0x08,0x2f,0x94,0xf4,0x00,0x00,0x00,0x10
# ATT: vcomxsd 291(%edi,%eax,4), %xmm2
# INTEL: vcomxsd xmm2, qword ptr [edi + 4*eax + 291]
0x62,0xf1,0xfe,0x08,0x2f,0x94,0x87,0x23,0x01,0x00,0x00
# ATT: vcomxsd (%eax), %xmm2
# INTEL: vcomxsd xmm2, qword ptr [eax]
0x62,0xf1,0xfe,0x08,0x2f,0x10
# ATT: vcomxsd -256(,%ebp,2), %xmm2
# INTEL: vcomxsd xmm2, qword ptr [2*ebp - 256]
0x62,0xf1,0xfe,0x08,0x2f,0x14,0x6d,0x00,0xff,0xff,0xff
# ATT: vcomxsd 1016(%ecx), %xmm2
# INTEL: vcomxsd xmm2, qword ptr [ecx + 1016]
0x62,0xf1,0xfe,0x08,0x2f,0x51,0x7f
# ATT: vcomxsd -1024(%edx), %xmm2
# INTEL: vcomxsd xmm2, qword ptr [edx - 1024]
0x62,0xf1,0xfe,0x08,0x2f,0x52,0x80
# ATT: vcomxsh %xmm3, %xmm2
# INTEL: vcomxsh xmm2, xmm3
0x62,0xf5,0x7f,0x08,0x2f,0xd3
# ATT: vcomxsh {sae}, %xmm3, %xmm2
# INTEL: vcomxsh xmm2, xmm3, {sae}
0x62,0xf5,0x7f,0x18,0x2f,0xd3
# ATT: vcomxsh 268435456(%esp,%esi,8), %xmm2
# INTEL: vcomxsh xmm2, word ptr [esp + 8*esi + 268435456]
0x62,0xf5,0x7f,0x08,0x2f,0x94,0xf4,0x00,0x00,0x00,0x10
# ATT: vcomxsh 291(%edi,%eax,4), %xmm2
# INTEL: vcomxsh xmm2, word ptr [edi + 4*eax + 291]
0x62,0xf5,0x7f,0x08,0x2f,0x94,0x87,0x23,0x01,0x00,0x00
# ATT: vcomxsh (%eax), %xmm2
# INTEL: vcomxsh xmm2, word ptr [eax]
0x62,0xf5,0x7f,0x08,0x2f,0x10
# ATT: vcomxsh -64(,%ebp,2), %xmm2
# INTEL: vcomxsh xmm2, word ptr [2*ebp - 64]
0x62,0xf5,0x7f,0x08,0x2f,0x14,0x6d,0xc0,0xff,0xff,0xff
# ATT: vcomxsh 254(%ecx), %xmm2
# INTEL: vcomxsh xmm2, word ptr [ecx + 254]
0x62,0xf5,0x7f,0x08,0x2f,0x51,0x7f
# ATT: vcomxsh -256(%edx), %xmm2
# INTEL: vcomxsh xmm2, word ptr [edx - 256]
0x62,0xf5,0x7f,0x08,0x2f,0x52,0x80
# ATT: vcomxss %xmm3, %xmm2
# INTEL: vcomxss xmm2, xmm3
0x62,0xf1,0x7f,0x08,0x2f,0xd3
# ATT: vcomxss {sae}, %xmm3, %xmm2
# INTEL: vcomxss xmm2, xmm3, {sae}
0x62,0xf1,0x7f,0x18,0x2f,0xd3
# ATT: vcomxss 268435456(%esp,%esi,8), %xmm2
# INTEL: vcomxss xmm2, dword ptr [esp + 8*esi + 268435456]
0x62,0xf1,0x7f,0x08,0x2f,0x94,0xf4,0x00,0x00,0x00,0x10
# ATT: vcomxss 291(%edi,%eax,4), %xmm2
# INTEL: vcomxss xmm2, dword ptr [edi + 4*eax + 291]
0x62,0xf1,0x7f,0x08,0x2f,0x94,0x87,0x23,0x01,0x00,0x00
# ATT: vcomxss (%eax), %xmm2
# INTEL: vcomxss xmm2, dword ptr [eax]
0x62,0xf1,0x7f,0x08,0x2f,0x10
# ATT: vcomxss -128(,%ebp,2), %xmm2
# INTEL: vcomxss xmm2, dword ptr [2*ebp - 128]
0x62,0xf1,0x7f,0x08,0x2f,0x14,0x6d,0x80,0xff,0xff,0xff
# ATT: vcomxss 508(%ecx), %xmm2
# INTEL: vcomxss xmm2, dword ptr [ecx + 508]
0x62,0xf1,0x7f,0x08,0x2f,0x51,0x7f
# ATT: vcomxss -512(%edx), %xmm2
# INTEL: vcomxss xmm2, dword ptr [edx - 512]
0x62,0xf1,0x7f,0x08,0x2f,0x52,0x80
# ATT: vucomxsd %xmm3, %xmm2
# INTEL: vucomxsd xmm2, xmm3
0x62,0xf1,0xfe,0x08,0x2e,0xd3
# ATT: vucomxsd {sae}, %xmm3, %xmm2
# INTEL: vucomxsd xmm2, xmm3, {sae}
0x62,0xf1,0xfe,0x18,0x2e,0xd3
# ATT: vucomxsd 268435456(%esp,%esi,8), %xmm2
# INTEL: vucomxsd xmm2, qword ptr [esp + 8*esi + 268435456]
0x62,0xf1,0xfe,0x08,0x2e,0x94,0xf4,0x00,0x00,0x00,0x10
# ATT: vucomxsd 291(%edi,%eax,4), %xmm2
# INTEL: vucomxsd xmm2, qword ptr [edi + 4*eax + 291]
0x62,0xf1,0xfe,0x08,0x2e,0x94,0x87,0x23,0x01,0x00,0x00
# ATT: vucomxsd (%eax), %xmm2
# INTEL: vucomxsd xmm2, qword ptr [eax]
0x62,0xf1,0xfe,0x08,0x2e,0x10
# ATT: vucomxsd -256(,%ebp,2), %xmm2
# INTEL: vucomxsd xmm2, qword ptr [2*ebp - 256]
0x62,0xf1,0xfe,0x08,0x2e,0x14,0x6d,0x00,0xff,0xff,0xff
# ATT: vucomxsd 1016(%ecx), %xmm2
# INTEL: vucomxsd xmm2, qword ptr [ecx + 1016]
0x62,0xf1,0xfe,0x08,0x2e,0x51,0x7f
# ATT: vucomxsd -1024(%edx), %xmm2
# INTEL: vucomxsd xmm2, qword ptr [edx - 1024]
0x62,0xf1,0xfe,0x08,0x2e,0x52,0x80
# ATT: vucomxsh %xmm3, %xmm2
# INTEL: vucomxsh xmm2, xmm3
0x62,0xf5,0x7f,0x08,0x2e,0xd3
# ATT: vucomxsh {sae}, %xmm3, %xmm2
# INTEL: vucomxsh xmm2, xmm3, {sae}
0x62,0xf5,0x7f,0x18,0x2e,0xd3
# ATT: vucomxsh 268435456(%esp,%esi,8), %xmm2
# INTEL: vucomxsh xmm2, word ptr [esp + 8*esi + 268435456]
0x62,0xf5,0x7f,0x08,0x2e,0x94,0xf4,0x00,0x00,0x00,0x10
# ATT: vucomxsh 291(%edi,%eax,4), %xmm2
# INTEL: vucomxsh xmm2, word ptr [edi + 4*eax + 291]
0x62,0xf5,0x7f,0x08,0x2e,0x94,0x87,0x23,0x01,0x00,0x00
# ATT: vucomxsh (%eax), %xmm2
# INTEL: vucomxsh xmm2, word ptr [eax]
0x62,0xf5,0x7f,0x08,0x2e,0x10
# ATT: vucomxsh -64(,%ebp,2), %xmm2
# INTEL: vucomxsh xmm2, word ptr [2*ebp - 64]
0x62,0xf5,0x7f,0x08,0x2e,0x14,0x6d,0xc0,0xff,0xff,0xff
# ATT: vucomxsh 254(%ecx), %xmm2
# INTEL: vucomxsh xmm2, word ptr [ecx + 254]
0x62,0xf5,0x7f,0x08,0x2e,0x51,0x7f
# ATT: vucomxsh -256(%edx), %xmm2
# INTEL: vucomxsh xmm2, word ptr [edx - 256]
0x62,0xf5,0x7f,0x08,0x2e,0x52,0x80
# ATT: vucomxss %xmm3, %xmm2
# INTEL: vucomxss xmm2, xmm3
0x62,0xf1,0x7f,0x08,0x2e,0xd3
# ATT: vucomxss {sae}, %xmm3, %xmm2
# INTEL: vucomxss xmm2, xmm3, {sae}
0x62,0xf1,0x7f,0x18,0x2e,0xd3
# ATT: vucomxss 268435456(%esp,%esi,8), %xmm2
# INTEL: vucomxss xmm2, dword ptr [esp + 8*esi + 268435456]
0x62,0xf1,0x7f,0x08,0x2e,0x94,0xf4,0x00,0x00,0x00,0x10
# ATT: vucomxss 291(%edi,%eax,4), %xmm2
# INTEL: vucomxss xmm2, dword ptr [edi + 4*eax + 291]
0x62,0xf1,0x7f,0x08,0x2e,0x94,0x87,0x23,0x01,0x00,0x00
# ATT: vucomxss (%eax), %xmm2
# INTEL: vucomxss xmm2, dword ptr [eax]
0x62,0xf1,0x7f,0x08,0x2e,0x10
# ATT: vucomxss -128(,%ebp,2), %xmm2
# INTEL: vucomxss xmm2, dword ptr [2*ebp - 128]
0x62,0xf1,0x7f,0x08,0x2e,0x14,0x6d,0x80,0xff,0xff,0xff
# ATT: vucomxss 508(%ecx), %xmm2
# INTEL: vucomxss xmm2, dword ptr [ecx + 508]
0x62,0xf1,0x7f,0x08,0x2e,0x51,0x7f
# ATT: vucomxss -512(%edx), %xmm2
# INTEL: vucomxss xmm2, dword ptr [edx - 512]
0x62,0xf1,0x7f,0x08,0x2e,0x52,0x80