llvm/llvm/test/MC/X86/apx/mul-intel.s

# RUN: llvm-mc -triple x86_64 -show-encoding -x86-asm-syntax=intel -output-asm-variant=1 %s | FileCheck %s

# CHECK: {evex}	mul	bl
# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0xf6,0xe3]
         {evex}	mul	bl
# CHECK: {nf}	mul	bl
# CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0xf6,0xe3]
         {nf}	mul	bl
# CHECK: {evex}	mul	dx
# CHECK: encoding: [0x62,0xf4,0x7d,0x08,0xf7,0xe2]
         {evex}	mul	dx
# CHECK: {nf}	mul	dx
# CHECK: encoding: [0x62,0xf4,0x7d,0x0c,0xf7,0xe2]
         {nf}	mul	dx
# CHECK: {evex}	mul	ecx
# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0xf7,0xe1]
         {evex}	mul	ecx
# CHECK: {nf}	mul	ecx
# CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0xf7,0xe1]
         {nf}	mul	ecx
# CHECK: {evex}	mul	r9
# CHECK: encoding: [0x62,0xd4,0xfc,0x08,0xf7,0xe1]
         {evex}	mul	r9
# CHECK: {nf}	mul	r9
# CHECK: encoding: [0x62,0xd4,0xfc,0x0c,0xf7,0xe1]
         {nf}	mul	r9
# CHECK: {evex}	mul	byte ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0xf6,0xa4,0x80,0x23,0x01,0x00,0x00]
         {evex}	mul	byte ptr [r8 + 4*rax + 291]
# CHECK: {nf}	mul	byte ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0xf6,0xa4,0x80,0x23,0x01,0x00,0x00]
         {nf}	mul	byte ptr [r8 + 4*rax + 291]
# CHECK: {evex}	mul	word ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x7d,0x08,0xf7,0xa4,0x80,0x23,0x01,0x00,0x00]
         {evex}	mul	word ptr [r8 + 4*rax + 291]
# CHECK: {nf}	mul	word ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x7d,0x0c,0xf7,0xa4,0x80,0x23,0x01,0x00,0x00]
         {nf}	mul	word ptr [r8 + 4*rax + 291]
# CHECK: {evex}	mul	dword ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0xf7,0xa4,0x80,0x23,0x01,0x00,0x00]
         {evex}	mul	dword ptr [r8 + 4*rax + 291]
# CHECK: {nf}	mul	dword ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0xf7,0xa4,0x80,0x23,0x01,0x00,0x00]
         {nf}	mul	dword ptr [r8 + 4*rax + 291]
# CHECK: {evex}	mul	qword ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0xfc,0x08,0xf7,0xa4,0x80,0x23,0x01,0x00,0x00]
         {evex}	mul	qword ptr [r8 + 4*rax + 291]
# CHECK: {nf}	mul	qword ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0xfc,0x0c,0xf7,0xa4,0x80,0x23,0x01,0x00,0x00]
         {nf}	mul	qword ptr [r8 + 4*rax + 291]