llvm/llvm/test/MC/Disassembler/X86/apx/inc.txt

# 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}	incb	%bl
# INTEL: {evex}	inc	bl
0x62,0xf4,0x7c,0x08,0xfe,0xc3

# ATT:   {nf}	incb	%bl
# INTEL: {nf}	inc	bl
0x62,0xf4,0x7c,0x0c,0xfe,0xc3

# ATT:   incb	%bl, %bl
# INTEL: inc	bl, bl
0x62,0xf4,0x64,0x18,0xfe,0xc3

# ATT:   {nf}	incb	%bl, %bl
# INTEL: {nf}	inc	bl, bl
0x62,0xf4,0x64,0x1c,0xfe,0xc3

# ATT:   {evex}	incw	%dx
# INTEL: {evex}	inc	dx
0x62,0xf4,0x7d,0x08,0xff,0xc2

# ATT:   {nf}	incw	%dx
# INTEL: {nf}	inc	dx
0x62,0xf4,0x7d,0x0c,0xff,0xc2

# ATT:   incw	%dx, %dx
# INTEL: inc	dx, dx
0x62,0xf4,0x6d,0x18,0xff,0xc2

# ATT:   {nf}	incw	%dx, %dx
# INTEL: {nf}	inc	dx, dx
0x62,0xf4,0x6d,0x1c,0xff,0xc2

# ATT:   {evex}	incl	%ecx
# INTEL: {evex}	inc	ecx
0x62,0xf4,0x7c,0x08,0xff,0xc1

# ATT:   {nf}	incl	%ecx
# INTEL: {nf}	inc	ecx
0x62,0xf4,0x7c,0x0c,0xff,0xc1

# ATT:   incl	%ecx, %ecx
# INTEL: inc	ecx, ecx
0x62,0xf4,0x74,0x18,0xff,0xc1

# ATT:   {nf}	incl	%ecx, %ecx
# INTEL: {nf}	inc	ecx, ecx
0x62,0xf4,0x74,0x1c,0xff,0xc1

# ATT:   {evex}	incq	%r9
# INTEL: {evex}	inc	r9
0x62,0xd4,0xfc,0x08,0xff,0xc1

# ATT:   {nf}	incq	%r9
# INTEL: {nf}	inc	r9
0x62,0xd4,0xfc,0x0c,0xff,0xc1

# ATT:   incq	%r9, %r9
# INTEL: inc	r9, r9
0x62,0xd4,0xb4,0x18,0xff,0xc1

# ATT:   {nf}	incq	%r9, %r9
# INTEL: {nf}	inc	r9, r9
0x62,0xd4,0xb4,0x1c,0xff,0xc1

# ATT:   {evex}	incb	291(%r8,%rax,4)
# INTEL: {evex}	inc	byte ptr [r8 + 4*rax + 291]
0x62,0xd4,0x7c,0x08,0xfe,0x84,0x80,0x23,0x01,0x00,0x00

# ATT:   {nf}	incb	291(%r8,%rax,4)
# INTEL: {nf}	inc	byte ptr [r8 + 4*rax + 291]
0x62,0xd4,0x7c,0x0c,0xfe,0x84,0x80,0x23,0x01,0x00,0x00

# ATT:   incb	291(%r8,%rax,4), %bl
# INTEL: inc	bl, byte ptr [r8 + 4*rax + 291]
0x62,0xd4,0x64,0x18,0xfe,0x84,0x80,0x23,0x01,0x00,0x00

# ATT:   {nf}	incb	291(%r8,%rax,4), %bl
# INTEL: {nf}	inc	bl, byte ptr [r8 + 4*rax + 291]
0x62,0xd4,0x64,0x1c,0xfe,0x84,0x80,0x23,0x01,0x00,0x00

# ATT:   {evex}	incw	291(%r8,%rax,4)
# INTEL: {evex}	inc	word ptr [r8 + 4*rax + 291]
0x62,0xd4,0x7d,0x08,0xff,0x84,0x80,0x23,0x01,0x00,0x00

# ATT:   {nf}	incw	291(%r8,%rax,4)
# INTEL: {nf}	inc	word ptr [r8 + 4*rax + 291]
0x62,0xd4,0x7d,0x0c,0xff,0x84,0x80,0x23,0x01,0x00,0x00

# ATT:   incw	291(%r8,%rax,4), %dx
# INTEL: inc	dx, word ptr [r8 + 4*rax + 291]
0x62,0xd4,0x6d,0x18,0xff,0x84,0x80,0x23,0x01,0x00,0x00

# ATT:   {nf}	incw	291(%r8,%rax,4), %dx
# INTEL: {nf}	inc	dx, word ptr [r8 + 4*rax + 291]
0x62,0xd4,0x6d,0x1c,0xff,0x84,0x80,0x23,0x01,0x00,0x00

# ATT:   {evex}	incl	291(%r8,%rax,4)
# INTEL: {evex}	inc	dword ptr [r8 + 4*rax + 291]
0x62,0xd4,0x7c,0x08,0xff,0x84,0x80,0x23,0x01,0x00,0x00

# ATT:   {nf}	incl	291(%r8,%rax,4)
# INTEL: {nf}	inc	dword ptr [r8 + 4*rax + 291]
0x62,0xd4,0x7c,0x0c,0xff,0x84,0x80,0x23,0x01,0x00,0x00

# ATT:   incl	291(%r8,%rax,4), %ecx
# INTEL: inc	ecx, dword ptr [r8 + 4*rax + 291]
0x62,0xd4,0x74,0x18,0xff,0x84,0x80,0x23,0x01,0x00,0x00

# ATT:   {nf}	incl	291(%r8,%rax,4), %ecx
# INTEL: {nf}	inc	ecx, dword ptr [r8 + 4*rax + 291]
0x62,0xd4,0x74,0x1c,0xff,0x84,0x80,0x23,0x01,0x00,0x00

# ATT:   {evex}	incq	291(%r8,%rax,4)
# INTEL: {evex}	inc	qword ptr [r8 + 4*rax + 291]
0x62,0xd4,0xfc,0x08,0xff,0x84,0x80,0x23,0x01,0x00,0x00

# ATT:   {nf}	incq	291(%r8,%rax,4)
# INTEL: {nf}	inc	qword ptr [r8 + 4*rax + 291]
0x62,0xd4,0xfc,0x0c,0xff,0x84,0x80,0x23,0x01,0x00,0x00

# ATT:   incq	291(%r8,%rax,4), %r9
# INTEL: inc	r9, qword ptr [r8 + 4*rax + 291]
0x62,0xd4,0xb4,0x18,0xff,0x84,0x80,0x23,0x01,0x00,0x00

# ATT:   {nf}	incq	291(%r8,%rax,4), %r9
# INTEL: {nf}	inc	r9, qword ptr [r8 + 4*rax + 291]
0x62,0xd4,0xb4,0x1c,0xff,0x84,0x80,0x23,0x01,0x00,0x00