# RUN: llvm-mc --disassemble %s -triple=x86_64 | FileCheck %s --check-prefixes=ATT
# RUN: llvm-mc --disassemble %s -triple=x86_64 --output-asm-variant=1 | FileCheck %s --check-prefixes=INTEL
# ATT: vcomxsd %xmm23, %xmm22
# INTEL: vcomxsd xmm22, xmm23
0x62,0xa1,0xfe,0x08,0x2f,0xf7
# ATT: vcomxsd {sae}, %xmm23, %xmm22
# INTEL: vcomxsd xmm22, xmm23, {sae}
0x62,0xa1,0xfe,0x18,0x2f,0xf7
# ATT: vcomxsd 268435456(%rbp,%r14,8), %xmm22
# INTEL: vcomxsd xmm22, qword ptr [rbp + 8*r14 + 268435456]
0x62,0xa1,0xfe,0x08,0x2f,0xb4,0xf5,0x00,0x00,0x00,0x10
# ATT: vcomxsd 291(%r8,%rax,4), %xmm22
# INTEL: vcomxsd xmm22, qword ptr [r8 + 4*rax + 291]
0x62,0xc1,0xfe,0x08,0x2f,0xb4,0x80,0x23,0x01,0x00,0x00
# ATT: vcomxsd (%rip), %xmm22
# INTEL: vcomxsd xmm22, qword ptr [rip]
0x62,0xe1,0xfe,0x08,0x2f,0x35,0x00,0x00,0x00,0x00
# ATT: vcomxsd -256(,%rbp,2), %xmm22
# INTEL: vcomxsd xmm22, qword ptr [2*rbp - 256]
0x62,0xe1,0xfe,0x08,0x2f,0x34,0x6d,0x00,0xff,0xff,0xff
# ATT: vcomxsd 1016(%rcx), %xmm22
# INTEL: vcomxsd xmm22, qword ptr [rcx + 1016]
0x62,0xe1,0xfe,0x08,0x2f,0x71,0x7f
# ATT: vcomxsd -1024(%rdx), %xmm22
# INTEL: vcomxsd xmm22, qword ptr [rdx - 1024]
0x62,0xe1,0xfe,0x08,0x2f,0x72,0x80
# ATT: vcomxsh %xmm23, %xmm22
# INTEL: vcomxsh xmm22, xmm23
0x62,0xa5,0x7f,0x08,0x2f,0xf7
# ATT: vcomxsh {sae}, %xmm23, %xmm22
# INTEL: vcomxsh xmm22, xmm23, {sae}
0x62,0xa5,0x7f,0x18,0x2f,0xf7
# ATT: vcomxsh 268435456(%rbp,%r14,8), %xmm22
# INTEL: vcomxsh xmm22, word ptr [rbp + 8*r14 + 268435456]
0x62,0xa5,0x7f,0x08,0x2f,0xb4,0xf5,0x00,0x00,0x00,0x10
# ATT: vcomxsh 291(%r8,%rax,4), %xmm22
# INTEL: vcomxsh xmm22, word ptr [r8 + 4*rax + 291]
0x62,0xc5,0x7f,0x08,0x2f,0xb4,0x80,0x23,0x01,0x00,0x00
# ATT: vcomxsh (%rip), %xmm22
# INTEL: vcomxsh xmm22, word ptr [rip]
0x62,0xe5,0x7f,0x08,0x2f,0x35,0x00,0x00,0x00,0x00
# ATT: vcomxsh -64(,%rbp,2), %xmm22
# INTEL: vcomxsh xmm22, word ptr [2*rbp - 64]
0x62,0xe5,0x7f,0x08,0x2f,0x34,0x6d,0xc0,0xff,0xff,0xff
# ATT: vcomxsh 254(%rcx), %xmm22
# INTEL: vcomxsh xmm22, word ptr [rcx + 254]
0x62,0xe5,0x7f,0x08,0x2f,0x71,0x7f
# ATT: vcomxsh -256(%rdx), %xmm22
# INTEL: vcomxsh xmm22, word ptr [rdx - 256]
0x62,0xe5,0x7f,0x08,0x2f,0x72,0x80
# ATT: vcomxss %xmm23, %xmm22
# INTEL: vcomxss xmm22, xmm23
0x62,0xa1,0x7f,0x08,0x2f,0xf7
# ATT: vcomxss {sae}, %xmm23, %xmm22
# INTEL: vcomxss xmm22, xmm23, {sae}
0x62,0xa1,0x7f,0x18,0x2f,0xf7
# ATT: vcomxss 268435456(%rbp,%r14,8), %xmm22
# INTEL: vcomxss xmm22, dword ptr [rbp + 8*r14 + 268435456]
0x62,0xa1,0x7f,0x08,0x2f,0xb4,0xf5,0x00,0x00,0x00,0x10
# ATT: vcomxss 291(%r8,%rax,4), %xmm22
# INTEL: vcomxss xmm22, dword ptr [r8 + 4*rax + 291]
0x62,0xc1,0x7f,0x08,0x2f,0xb4,0x80,0x23,0x01,0x00,0x00
# ATT: vcomxss (%rip), %xmm22
# INTEL: vcomxss xmm22, dword ptr [rip]
0x62,0xe1,0x7f,0x08,0x2f,0x35,0x00,0x00,0x00,0x00
# ATT: vcomxss -128(,%rbp,2), %xmm22
# INTEL: vcomxss xmm22, dword ptr [2*rbp - 128]
0x62,0xe1,0x7f,0x08,0x2f,0x34,0x6d,0x80,0xff,0xff,0xff
# ATT: vcomxss 508(%rcx), %xmm22
# INTEL: vcomxss xmm22, dword ptr [rcx + 508]
0x62,0xe1,0x7f,0x08,0x2f,0x71,0x7f
# ATT: vcomxss -512(%rdx), %xmm22
# INTEL: vcomxss xmm22, dword ptr [rdx - 512]
0x62,0xe1,0x7f,0x08,0x2f,0x72,0x80
# ATT: vucomxsd %xmm23, %xmm22
# INTEL: vucomxsd xmm22, xmm23
0x62,0xa1,0xfe,0x08,0x2e,0xf7
# ATT: vucomxsd {sae}, %xmm23, %xmm22
# INTEL: vucomxsd xmm22, xmm23, {sae}
0x62,0xa1,0xfe,0x18,0x2e,0xf7
# ATT: vucomxsd 268435456(%rbp,%r14,8), %xmm22
# INTEL: vucomxsd xmm22, qword ptr [rbp + 8*r14 + 268435456]
0x62,0xa1,0xfe,0x08,0x2e,0xb4,0xf5,0x00,0x00,0x00,0x10
# ATT: vucomxsd 291(%r8,%rax,4), %xmm22
# INTEL: vucomxsd xmm22, qword ptr [r8 + 4*rax + 291]
0x62,0xc1,0xfe,0x08,0x2e,0xb4,0x80,0x23,0x01,0x00,0x00
# ATT: vucomxsd (%rip), %xmm22
# INTEL: vucomxsd xmm22, qword ptr [rip]
0x62,0xe1,0xfe,0x08,0x2e,0x35,0x00,0x00,0x00,0x00
# ATT: vucomxsd -256(,%rbp,2), %xmm22
# INTEL: vucomxsd xmm22, qword ptr [2*rbp - 256]
0x62,0xe1,0xfe,0x08,0x2e,0x34,0x6d,0x00,0xff,0xff,0xff
# ATT: vucomxsd 1016(%rcx), %xmm22
# INTEL: vucomxsd xmm22, qword ptr [rcx + 1016]
0x62,0xe1,0xfe,0x08,0x2e,0x71,0x7f
# ATT: vucomxsd -1024(%rdx), %xmm22
# INTEL: vucomxsd xmm22, qword ptr [rdx - 1024]
0x62,0xe1,0xfe,0x08,0x2e,0x72,0x80
# ATT: vucomxsh %xmm23, %xmm22
# INTEL: vucomxsh xmm22, xmm23
0x62,0xa5,0x7f,0x08,0x2e,0xf7
# ATT: vucomxsh {sae}, %xmm23, %xmm22
# INTEL: vucomxsh xmm22, xmm23, {sae}
0x62,0xa5,0x7f,0x18,0x2e,0xf7
# ATT: vucomxsh 268435456(%rbp,%r14,8), %xmm22
# INTEL: vucomxsh xmm22, word ptr [rbp + 8*r14 + 268435456]
0x62,0xa5,0x7f,0x08,0x2e,0xb4,0xf5,0x00,0x00,0x00,0x10
# ATT: vucomxsh 291(%r8,%rax,4), %xmm22
# INTEL: vucomxsh xmm22, word ptr [r8 + 4*rax + 291]
0x62,0xc5,0x7f,0x08,0x2e,0xb4,0x80,0x23,0x01,0x00,0x00
# ATT: vucomxsh (%rip), %xmm22
# INTEL: vucomxsh xmm22, word ptr [rip]
0x62,0xe5,0x7f,0x08,0x2e,0x35,0x00,0x00,0x00,0x00
# ATT: vucomxsh -64(,%rbp,2), %xmm22
# INTEL: vucomxsh xmm22, word ptr [2*rbp - 64]
0x62,0xe5,0x7f,0x08,0x2e,0x34,0x6d,0xc0,0xff,0xff,0xff
# ATT: vucomxsh 254(%rcx), %xmm22
# INTEL: vucomxsh xmm22, word ptr [rcx + 254]
0x62,0xe5,0x7f,0x08,0x2e,0x71,0x7f
# ATT: vucomxsh -256(%rdx), %xmm22
# INTEL: vucomxsh xmm22, word ptr [rdx - 256]
0x62,0xe5,0x7f,0x08,0x2e,0x72,0x80
# ATT: vucomxss %xmm23, %xmm22
# INTEL: vucomxss xmm22, xmm23
0x62,0xa1,0x7f,0x08,0x2e,0xf7
# ATT: vucomxss {sae}, %xmm23, %xmm22
# INTEL: vucomxss xmm22, xmm23, {sae}
0x62,0xa1,0x7f,0x18,0x2e,0xf7
# ATT: vucomxss 268435456(%rbp,%r14,8), %xmm22
# INTEL: vucomxss xmm22, dword ptr [rbp + 8*r14 + 268435456]
0x62,0xa1,0x7f,0x08,0x2e,0xb4,0xf5,0x00,0x00,0x00,0x10
# ATT: vucomxss 291(%r8,%rax,4), %xmm22
# INTEL: vucomxss xmm22, dword ptr [r8 + 4*rax + 291]
0x62,0xc1,0x7f,0x08,0x2e,0xb4,0x80,0x23,0x01,0x00,0x00
# ATT: vucomxss (%rip), %xmm22
# INTEL: vucomxss xmm22, dword ptr [rip]
0x62,0xe1,0x7f,0x08,0x2e,0x35,0x00,0x00,0x00,0x00
# ATT: vucomxss -128(,%rbp,2), %xmm22
# INTEL: vucomxss xmm22, dword ptr [2*rbp - 128]
0x62,0xe1,0x7f,0x08,0x2e,0x34,0x6d,0x80,0xff,0xff,0xff
# ATT: vucomxss 508(%rcx), %xmm22
# INTEL: vucomxss xmm22, dword ptr [rcx + 508]
0x62,0xe1,0x7f,0x08,0x2e,0x71,0x7f
# ATT: vucomxss -512(%rdx), %xmm22
# INTEL: vucomxss xmm22, dword ptr [rdx - 512]
0x62,0xe1,0x7f,0x08,0x2e,0x72,0x80