# 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} idivb %bl # INTEL: {evex} idiv bl 0x62,0xf4,0x7c,0x08,0xf6,0xfb # ATT: {nf} idivb %bl # INTEL: {nf} idiv bl 0x62,0xf4,0x7c,0x0c,0xf6,0xfb # ATT: {evex} idivw %dx # INTEL: {evex} idiv dx 0x62,0xf4,0x7d,0x08,0xf7,0xfa # ATT: {nf} idivw %dx # INTEL: {nf} idiv dx 0x62,0xf4,0x7d,0x0c,0xf7,0xfa # ATT: {evex} idivl %ecx # INTEL: {evex} idiv ecx 0x62,0xf4,0x7c,0x08,0xf7,0xf9 # ATT: {nf} idivl %ecx # INTEL: {nf} idiv ecx 0x62,0xf4,0x7c,0x0c,0xf7,0xf9 # ATT: {evex} idivq %r9 # INTEL: {evex} idiv r9 0x62,0xd4,0xfc,0x08,0xf7,0xf9 # ATT: {nf} idivq %r9 # INTEL: {nf} idiv r9 0x62,0xd4,0xfc,0x0c,0xf7,0xf9 # ATT: {evex} idivb 291(%r8,%rax,4) # INTEL: {evex} idiv byte ptr [r8 + 4*rax + 291] 0x62,0xd4,0x7c,0x08,0xf6,0xbc,0x80,0x23,0x01,0x00,0x00 # ATT: {nf} idivb 291(%r8,%rax,4) # INTEL: {nf} idiv byte ptr [r8 + 4*rax + 291] 0x62,0xd4,0x7c,0x0c,0xf6,0xbc,0x80,0x23,0x01,0x00,0x00 # ATT: {evex} idivw 291(%r8,%rax,4) # INTEL: {evex} idiv word ptr [r8 + 4*rax + 291] 0x62,0xd4,0x7d,0x08,0xf7,0xbc,0x80,0x23,0x01,0x00,0x00 # ATT: {nf} idivw 291(%r8,%rax,4) # INTEL: {nf} idiv word ptr [r8 + 4*rax + 291] 0x62,0xd4,0x7d,0x0c,0xf7,0xbc,0x80,0x23,0x01,0x00,0x00 # ATT: {evex} idivl 291(%r8,%rax,4) # INTEL: {evex} idiv dword ptr [r8 + 4*rax + 291] 0x62,0xd4,0x7c,0x08,0xf7,0xbc,0x80,0x23,0x01,0x00,0x00 # ATT: {nf} idivl 291(%r8,%rax,4) # INTEL: {nf} idiv dword ptr [r8 + 4*rax + 291] 0x62,0xd4,0x7c,0x0c,0xf7,0xbc,0x80,0x23,0x01,0x00,0x00 # ATT: {evex} idivq 291(%r8,%rax,4) # INTEL: {evex} idiv qword ptr [r8 + 4*rax + 291] 0x62,0xd4,0xfc,0x08,0xf7,0xbc,0x80,0x23,0x01,0x00,0x00 # ATT: {nf} idivq 291(%r8,%rax,4) # INTEL: {nf} idiv qword ptr [r8 + 4*rax + 291] 0x62,0xd4,0xfc,0x0c,0xf7,0xbc,0x80,0x23,0x01,0x00,0x00