# 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: vcvtps2qq 128(%rcx), %xmm2 {%k2} {z}
# INTEL: vcvtps2qq xmm2 {k2} {z}, qword ptr [rcx + 128]
0x62,0xf1,0x7d,0x8a,0x7b,0x51,0x10
# ATT: vcvtps2qq 128(%rcx), %xmm2 {%k2}
# INTEL: vcvtps2qq xmm2 {k2}, qword ptr [rcx + 128]
0x62,0xf1,0x7d,0x0a,0x7b,0x51,0x10
# ATT: vcvtps2qq 128(%rcx), %xmm2
# INTEL: vcvtps2qq xmm2, qword ptr [rcx + 128]
0x62,0xf1,0x7d,0x08,0x7b,0x51,0x10
# ATT: vcvttps2qq 128(%rcx), %xmm1 {%k2} {z}
# INTEL: vcvttps2qq xmm1 {k2} {z}, qword ptr [rcx + 128]
0x62,0xf1,0x7d,0x8a,0x7a,0x49,0x10
# ATT: vcvttps2qq 128(%rcx), %xmm1 {%k2}
# INTEL: vcvttps2qq xmm1 {k2}, qword ptr [rcx + 128]
0x62,0xf1,0x7d,0x0a,0x7a,0x49,0x10
# ATT: vcvttps2qq 128(%rcx), %xmm1
# INTEL: vcvttps2qq xmm1, qword ptr [rcx + 128]
0x62,0xf1,0x7d,0x08,0x7a,0x49,0x10
# ATT: vcvtps2uqq 128(%rcx), %xmm1 {%k2} {z}
# INTEL: vcvtps2uqq xmm1 {k2} {z}, qword ptr [rcx + 128]
0x62,0xf1,0x7d,0x8a,0x79,0x49,0x10
# ATT: vcvtps2uqq 128(%rcx), %xmm1 {%k2}
# INTEL: vcvtps2uqq xmm1 {k2}, qword ptr [rcx + 128]
0x62,0xf1,0x7d,0x0a,0x79,0x49,0x10
# ATT: vcvtps2uqq 128(%rcx), %xmm1
# INTEL: vcvtps2uqq xmm1, qword ptr [rcx + 128]
0x62,0xf1,0x7d,0x08,0x79,0x49,0x10
# ATT: vcvttps2uqq 128(%rcx), %xmm1 {%k2} {z}
# INTEL: vcvttps2uqq xmm1 {k2} {z}, qword ptr [rcx + 128]
0x62,0xf1,0x7d,0x8a,0x78,0x49,0x10
# ATT: vcvttps2uqq 128(%rcx), %xmm1 {%k2}
# INTEL: vcvttps2uqq xmm1 {k2}, qword ptr [rcx + 128]
0x62,0xf1,0x7d,0x0a,0x78,0x49,0x10
# ATT: vcvttps2uqq 128(%rcx), %xmm1
# INTEL: vcvttps2uqq xmm1, qword ptr [rcx + 128]
0x62,0xf1,0x7d,0x08,0x78,0x49,0x10
# ATT: vcvtps2qq 128(%rcx), %xmm2 {%k2} {z}
# INTEL: vcvtps2qq xmm2 {k2} {z}, qword ptr [rcx + 128]
0x62,0xf1,0x7d,0x8a,0x7b,0x51,0x10
# ATT: vcvtps2qq 128(%rcx), %xmm2 {%k2}
# INTEL: vcvtps2qq xmm2 {k2}, qword ptr [rcx + 128]
0x62,0xf1,0x7d,0x0a,0x7b,0x51,0x10
# ATT: vcvtps2qq 128(%rcx), %xmm2
# INTEL: vcvtps2qq xmm2, qword ptr [rcx + 128]
0x62,0xf1,0x7d,0x08,0x7b,0x51,0x10
# ATT: vcvttps2qq 128(%rcx), %xmm1 {%k2} {z}
# INTEL: vcvttps2qq xmm1 {k2} {z}, qword ptr [rcx + 128]
0x62,0xf1,0x7d,0x8a,0x7a,0x49,0x10
# ATT: vcvttps2qq 128(%rcx), %xmm1 {%k2}
# INTEL: vcvttps2qq xmm1 {k2}, qword ptr [rcx + 128]
0x62,0xf1,0x7d,0x0a,0x7a,0x49,0x10
# ATT: vcvttps2qq 128(%rcx), %xmm1
# INTEL: vcvttps2qq xmm1, qword ptr [rcx + 128]
0x62,0xf1,0x7d,0x08,0x7a,0x49,0x10
# ATT: vcvtps2uqq 128(%rcx), %xmm1 {%k2} {z}
# INTEL: vcvtps2uqq xmm1 {k2} {z}, qword ptr [rcx + 128]
0x62,0xf1,0x7d,0x8a,0x79,0x49,0x10
# ATT: vcvtps2uqq 128(%rcx), %xmm1 {%k2}
# INTEL: vcvtps2uqq xmm1 {k2}, qword ptr [rcx + 128]
0x62,0xf1,0x7d,0x0a,0x79,0x49,0x10
# ATT: vcvtps2uqq 128(%rcx), %xmm1
# INTEL: vcvtps2uqq xmm1, qword ptr [rcx + 128]
0x62,0xf1,0x7d,0x08,0x79,0x49,0x10
# ATT: vcvttps2uqq 128(%rcx), %xmm1 {%k2} {z}
# INTEL: vcvttps2uqq xmm1 {k2} {z}, qword ptr [rcx + 128]
0x62,0xf1,0x7d,0x8a,0x78,0x49,0x10
# ATT: vcvttps2uqq 128(%rcx), %xmm1 {%k2}
# INTEL: vcvttps2uqq xmm1 {k2}, qword ptr [rcx + 128]
0x62,0xf1,0x7d,0x0a,0x78,0x49,0x10
# ATT: vcvttps2uqq 128(%rcx), %xmm1
# INTEL: vcvttps2uqq xmm1, qword ptr [rcx + 128]
0x62,0xf1,0x7d,0x08,0x78,0x49,0x10
# ATT: vfpclasspd $171, %xmm18, %k2
# INTEL: vfpclasspd k2, xmm18, 171
0x62,0xb3,0xfd,0x08,0x66,0xd2,0xab
# ATT: vfpclasspd $171, %xmm18, %k2 {%k7}
# INTEL: vfpclasspd k2 {k7}, xmm18, 171
0x62,0xb3,0xfd,0x0f,0x66,0xd2,0xab
# ATT: vfpclasspdx $123, (%rcx), %k2
# INTEL: vfpclasspd k2, xmmword ptr [rcx], 123
0x62,0xf3,0xfd,0x08,0x66,0x11,0x7b
# ATT: vfpclasspdx $123, (%rcx), %k2 {%k7}
# INTEL: vfpclasspd k2 {k7}, xmmword ptr [rcx], 123
0x62,0xf3,0xfd,0x0f,0x66,0x11,0x7b
# ATT: vfpclasspd $123, (%rcx){1to2}, %k2
# INTEL: vfpclasspd k2, qword ptr [rcx]{1to2}, 123
0x62,0xf3,0xfd,0x18,0x66,0x11,0x7b
# ATT: vfpclasspd $123, (%rcx){1to2}, %k2 {%k7}
# INTEL: vfpclasspd k2 {k7}, qword ptr [rcx]{1to2}, 123
0x62,0xf3,0xfd,0x1f,0x66,0x11,0x7b
# ATT: vfpclassps $171, %xmm18, %k2
# INTEL: vfpclassps k2, xmm18, 171
0x62,0xb3,0x7d,0x08,0x66,0xd2,0xab
# ATT: vfpclassps $171, %xmm18, %k2 {%k7}
# INTEL: vfpclassps k2 {k7}, xmm18, 171
0x62,0xb3,0x7d,0x0f,0x66,0xd2,0xab
# ATT: vfpclasspsx $123, (%rcx), %k2
# INTEL: vfpclassps k2, xmmword ptr [rcx], 123
0x62,0xf3,0x7d,0x08,0x66,0x11,0x7b
# ATT: vfpclasspsx $123, (%rcx), %k2 {%k7}
# INTEL: vfpclassps k2 {k7}, xmmword ptr [rcx], 123
0x62,0xf3,0x7d,0x0f,0x66,0x11,0x7b
# ATT: vfpclassps $123, (%rcx){1to4}, %k2
# INTEL: vfpclassps k2, dword ptr [rcx]{1to4}, 123
0x62,0xf3,0x7d,0x18,0x66,0x11,0x7b
# ATT: vfpclassps $123, (%rcx){1to4}, %k2 {%k7}
# INTEL: vfpclassps k2 {k7}, dword ptr [rcx]{1to4}, 123
0x62,0xf3,0x7d,0x1f,0x66,0x11,0x7b
# ATT: vfpclasspd $171, %ymm18, %k2
# INTEL: vfpclasspd k2, ymm18, 171
0x62,0xb3,0xfd,0x28,0x66,0xd2,0xab
# ATT: vfpclasspd $171, %ymm18, %k2 {%k7}
# INTEL: vfpclasspd k2 {k7}, ymm18, 171
0x62,0xb3,0xfd,0x2f,0x66,0xd2,0xab
# ATT: vfpclasspdy $123, (%rcx), %k2
# INTEL: vfpclasspd k2, ymmword ptr [rcx], 123
0x62,0xf3,0xfd,0x28,0x66,0x11,0x7b
# ATT: vfpclasspdy $123, (%rcx), %k2 {%k7}
# INTEL: vfpclasspd k2 {k7}, ymmword ptr [rcx], 123
0x62,0xf3,0xfd,0x2f,0x66,0x11,0x7b
# ATT: vfpclasspd $123, (%rcx){1to4}, %k2
# INTEL: vfpclasspd k2, qword ptr [rcx]{1to4}, 123
0x62,0xf3,0xfd,0x38,0x66,0x11,0x7b
# ATT: vfpclasspd $123, (%rcx){1to4}, %k2 {%k7}
# INTEL: vfpclasspd k2 {k7}, qword ptr [rcx]{1to4}, 123
0x62,0xf3,0xfd,0x3f,0x66,0x11,0x7b
# ATT: vfpclassps $171, %ymm18, %k2
# INTEL: vfpclassps k2, ymm18, 171
0x62,0xb3,0x7d,0x28,0x66,0xd2,0xab
# ATT: vfpclassps $171, %ymm18, %k2 {%k7}
# INTEL: vfpclassps k2 {k7}, ymm18, 171
0x62,0xb3,0x7d,0x2f,0x66,0xd2,0xab
# ATT: vfpclasspsy $123, (%rcx), %k2
# INTEL: vfpclassps k2, ymmword ptr [rcx], 123
0x62,0xf3,0x7d,0x28,0x66,0x11,0x7b
# ATT: vfpclasspsy $123, (%rcx), %k2 {%k7}
# INTEL: vfpclassps k2 {k7}, ymmword ptr [rcx], 123
0x62,0xf3,0x7d,0x2f,0x66,0x11,0x7b
# ATT: vfpclassps $123, (%rcx){1to8}, %k2
# INTEL: vfpclassps k2, dword ptr [rcx]{1to8}, 123
0x62,0xf3,0x7d,0x38,0x66,0x11,0x7b
# ATT: vfpclassps $123, (%rcx){1to8}, %k2 {%k7}
# INTEL: vfpclassps k2 {k7}, dword ptr [rcx]{1to8}, 123
0x62,0xf3,0x7d,0x3f,0x66,0x11,0x7b
# ATT: vcvttps2uqq 128(%ecx), %xmm1 {%k2}
# INTEL: vcvttps2uqq xmm1 {k2}, qword ptr [ecx + 128]
0x67,0x62,0xf1,0x7d,0x0a,0x78,0x49,0x10