# 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} mulb %bl # INTEL: {evex} mul bl 0x62,0xf4,0x7c,0x08,0xf6,0xe3 # ATT: {nf} mulb %bl # INTEL: {nf} mul bl 0x62,0xf4,0x7c,0x0c,0xf6,0xe3 # ATT: {evex} mulw %dx # INTEL: {evex} mul dx 0x62,0xf4,0x7d,0x08,0xf7,0xe2 # ATT: {nf} mulw %dx # INTEL: {nf} mul dx 0x62,0xf4,0x7d,0x0c,0xf7,0xe2 # ATT: {evex} mull %ecx # INTEL: {evex} mul ecx 0x62,0xf4,0x7c,0x08,0xf7,0xe1 # ATT: {nf} mull %ecx # INTEL: {nf} mul ecx 0x62,0xf4,0x7c,0x0c,0xf7,0xe1 # ATT: {evex} mulq %r9 # INTEL: {evex} mul r9 0x62,0xd4,0xfc,0x08,0xf7,0xe1 # ATT: {nf} mulq %r9 # INTEL: {nf} mul r9 0x62,0xd4,0xfc,0x0c,0xf7,0xe1 # ATT: {evex} mulb 291(%r8,%rax,4) # INTEL: {evex} mul byte ptr [r8 + 4*rax + 291] 0x62,0xd4,0x7c,0x08,0xf6,0xa4,0x80,0x23,0x01,0x00,0x00 # ATT: {nf} mulb 291(%r8,%rax,4) # INTEL: {nf} mul byte ptr [r8 + 4*rax + 291] 0x62,0xd4,0x7c,0x0c,0xf6,0xa4,0x80,0x23,0x01,0x00,0x00 # ATT: {evex} mulw 291(%r8,%rax,4) # INTEL: {evex} mul word ptr [r8 + 4*rax + 291] 0x62,0xd4,0x7d,0x08,0xf7,0xa4,0x80,0x23,0x01,0x00,0x00 # ATT: {nf} mulw 291(%r8,%rax,4) # INTEL: {nf} mul word ptr [r8 + 4*rax + 291] 0x62,0xd4,0x7d,0x0c,0xf7,0xa4,0x80,0x23,0x01,0x00,0x00 # ATT: {evex} mull 291(%r8,%rax,4) # INTEL: {evex} mul dword ptr [r8 + 4*rax + 291] 0x62,0xd4,0x7c,0x08,0xf7,0xa4,0x80,0x23,0x01,0x00,0x00 # ATT: {nf} mull 291(%r8,%rax,4) # INTEL: {nf} mul dword ptr [r8 + 4*rax + 291] 0x62,0xd4,0x7c,0x0c,0xf7,0xa4,0x80,0x23,0x01,0x00,0x00 # ATT: {evex} mulq 291(%r8,%rax,4) # INTEL: {evex} mul qword ptr [r8 + 4*rax + 291] 0x62,0xd4,0xfc,0x08,0xf7,0xa4,0x80,0x23,0x01,0x00,0x00 # ATT: {nf} mulq 291(%r8,%rax,4) # INTEL: {nf} mul qword ptr [r8 + 4*rax + 291] 0x62,0xd4,0xfc,0x0c,0xf7,0xa4,0x80,0x23,0x01,0x00,0x00