# 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: {evex} decb %bl
# INTEL: {evex} dec bl
0x62,0xf4,0x7c,0x08,0xfe,0xcb
# ATT: {nf} decb %bl
# INTEL: {nf} dec bl
0x62,0xf4,0x7c,0x0c,0xfe,0xcb
# ATT: decb %bl, %bl
# INTEL: dec bl, bl
0x62,0xf4,0x64,0x18,0xfe,0xcb
# ATT: {nf} decb %bl, %bl
# INTEL: {nf} dec bl, bl
0x62,0xf4,0x64,0x1c,0xfe,0xcb
# ATT: {evex} decw %dx
# INTEL: {evex} dec dx
0x62,0xf4,0x7d,0x08,0xff,0xca
# ATT: {nf} decw %dx
# INTEL: {nf} dec dx
0x62,0xf4,0x7d,0x0c,0xff,0xca
# ATT: decw %dx, %dx
# INTEL: dec dx, dx
0x62,0xf4,0x6d,0x18,0xff,0xca
# ATT: {nf} decw %dx, %dx
# INTEL: {nf} dec dx, dx
0x62,0xf4,0x6d,0x1c,0xff,0xca
# ATT: {evex} decl %ecx
# INTEL: {evex} dec ecx
0x62,0xf4,0x7c,0x08,0xff,0xc9
# ATT: {nf} decl %ecx
# INTEL: {nf} dec ecx
0x62,0xf4,0x7c,0x0c,0xff,0xc9
# ATT: decl %ecx, %ecx
# INTEL: dec ecx, ecx
0x62,0xf4,0x74,0x18,0xff,0xc9
# ATT: {nf} decl %ecx, %ecx
# INTEL: {nf} dec ecx, ecx
0x62,0xf4,0x74,0x1c,0xff,0xc9
# ATT: {evex} decq %r9
# INTEL: {evex} dec r9
0x62,0xd4,0xfc,0x08,0xff,0xc9
# ATT: {nf} decq %r9
# INTEL: {nf} dec r9
0x62,0xd4,0xfc,0x0c,0xff,0xc9
# ATT: decq %r9, %r9
# INTEL: dec r9, r9
0x62,0xd4,0xb4,0x18,0xff,0xc9
# ATT: {nf} decq %r9, %r9
# INTEL: {nf} dec r9, r9
0x62,0xd4,0xb4,0x1c,0xff,0xc9
# ATT: {evex} decb 291(%r8,%rax,4)
# INTEL: {evex} dec byte ptr [r8 + 4*rax + 291]
0x62,0xd4,0x7c,0x08,0xfe,0x8c,0x80,0x23,0x01,0x00,0x00
# ATT: {nf} decb 291(%r8,%rax,4)
# INTEL: {nf} dec byte ptr [r8 + 4*rax + 291]
0x62,0xd4,0x7c,0x0c,0xfe,0x8c,0x80,0x23,0x01,0x00,0x00
# ATT: decb 291(%r8,%rax,4), %bl
# INTEL: dec bl, byte ptr [r8 + 4*rax + 291]
0x62,0xd4,0x64,0x18,0xfe,0x8c,0x80,0x23,0x01,0x00,0x00
# ATT: {nf} decb 291(%r8,%rax,4), %bl
# INTEL: {nf} dec bl, byte ptr [r8 + 4*rax + 291]
0x62,0xd4,0x64,0x1c,0xfe,0x8c,0x80,0x23,0x01,0x00,0x00
# ATT: {evex} decw 291(%r8,%rax,4)
# INTEL: {evex} dec word ptr [r8 + 4*rax + 291]
0x62,0xd4,0x7d,0x08,0xff,0x8c,0x80,0x23,0x01,0x00,0x00
# ATT: {nf} decw 291(%r8,%rax,4)
# INTEL: {nf} dec word ptr [r8 + 4*rax + 291]
0x62,0xd4,0x7d,0x0c,0xff,0x8c,0x80,0x23,0x01,0x00,0x00
# ATT: decw 291(%r8,%rax,4), %dx
# INTEL: dec dx, word ptr [r8 + 4*rax + 291]
0x62,0xd4,0x6d,0x18,0xff,0x8c,0x80,0x23,0x01,0x00,0x00
# ATT: {nf} decw 291(%r8,%rax,4), %dx
# INTEL: {nf} dec dx, word ptr [r8 + 4*rax + 291]
0x62,0xd4,0x6d,0x1c,0xff,0x8c,0x80,0x23,0x01,0x00,0x00
# ATT: {evex} decl 291(%r8,%rax,4)
# INTEL: {evex} dec dword ptr [r8 + 4*rax + 291]
0x62,0xd4,0x7c,0x08,0xff,0x8c,0x80,0x23,0x01,0x00,0x00
# ATT: {nf} decl 291(%r8,%rax,4)
# INTEL: {nf} dec dword ptr [r8 + 4*rax + 291]
0x62,0xd4,0x7c,0x0c,0xff,0x8c,0x80,0x23,0x01,0x00,0x00
# ATT: decl 291(%r8,%rax,4), %ecx
# INTEL: dec ecx, dword ptr [r8 + 4*rax + 291]
0x62,0xd4,0x74,0x18,0xff,0x8c,0x80,0x23,0x01,0x00,0x00
# ATT: {nf} decl 291(%r8,%rax,4), %ecx
# INTEL: {nf} dec ecx, dword ptr [r8 + 4*rax + 291]
0x62,0xd4,0x74,0x1c,0xff,0x8c,0x80,0x23,0x01,0x00,0x00
# ATT: {evex} decq 291(%r8,%rax,4)
# INTEL: {evex} dec qword ptr [r8 + 4*rax + 291]
0x62,0xd4,0xfc,0x08,0xff,0x8c,0x80,0x23,0x01,0x00,0x00
# ATT: {nf} decq 291(%r8,%rax,4)
# INTEL: {nf} dec qword ptr [r8 + 4*rax + 291]
0x62,0xd4,0xfc,0x0c,0xff,0x8c,0x80,0x23,0x01,0x00,0x00
# ATT: decq 291(%r8,%rax,4), %r9
# INTEL: dec r9, qword ptr [r8 + 4*rax + 291]
0x62,0xd4,0xb4,0x18,0xff,0x8c,0x80,0x23,0x01,0x00,0x00
# ATT: {nf} decq 291(%r8,%rax,4), %r9
# INTEL: {nf} dec r9, qword ptr [r8 + 4*rax + 291]
0x62,0xd4,0xb4,0x1c,0xff,0x8c,0x80,0x23,0x01,0x00,0x00