# RUN: llvm-mc -triple x86_64 -show-encoding %s | FileCheck %s # RUN: not llvm-mc -triple i386 -show-encoding %s 2>&1 | FileCheck %s --check-prefix=ERROR # ERROR-COUNT-16: error: # ERROR-NOT: error: # CHECK: {evex} idivb %bl # CHECK: encoding: [0x62,0xf4,0x7c,0x08,0xf6,0xfb] {evex} idivb %bl # CHECK: {nf} idivb %bl # CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0xf6,0xfb] {nf} idivb %bl # CHECK: {evex} idivw %dx # CHECK: encoding: [0x62,0xf4,0x7d,0x08,0xf7,0xfa] {evex} idivw %dx # CHECK: {nf} idivw %dx # CHECK: encoding: [0x62,0xf4,0x7d,0x0c,0xf7,0xfa] {nf} idivw %dx # CHECK: {evex} idivl %ecx # CHECK: encoding: [0x62,0xf4,0x7c,0x08,0xf7,0xf9] {evex} idivl %ecx # CHECK: {nf} idivl %ecx # CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0xf7,0xf9] {nf} idivl %ecx # CHECK: {evex} idivq %r9 # CHECK: encoding: [0x62,0xd4,0xfc,0x08,0xf7,0xf9] {evex} idivq %r9 # CHECK: {nf} idivq %r9 # CHECK: encoding: [0x62,0xd4,0xfc,0x0c,0xf7,0xf9] {nf} idivq %r9 # CHECK: {evex} idivb 291(%r8,%rax,4) # CHECK: encoding: [0x62,0xd4,0x7c,0x08,0xf6,0xbc,0x80,0x23,0x01,0x00,0x00] {evex} idivb 291(%r8,%rax,4) # CHECK: {nf} idivb 291(%r8,%rax,4) # CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0xf6,0xbc,0x80,0x23,0x01,0x00,0x00] {nf} idivb 291(%r8,%rax,4) # CHECK: {evex} idivw 291(%r8,%rax,4) # CHECK: encoding: [0x62,0xd4,0x7d,0x08,0xf7,0xbc,0x80,0x23,0x01,0x00,0x00] {evex} idivw 291(%r8,%rax,4) # CHECK: {nf} idivw 291(%r8,%rax,4) # CHECK: encoding: [0x62,0xd4,0x7d,0x0c,0xf7,0xbc,0x80,0x23,0x01,0x00,0x00] {nf} idivw 291(%r8,%rax,4) # CHECK: {evex} idivl 291(%r8,%rax,4) # CHECK: encoding: [0x62,0xd4,0x7c,0x08,0xf7,0xbc,0x80,0x23,0x01,0x00,0x00] {evex} idivl 291(%r8,%rax,4) # CHECK: {nf} idivl 291(%r8,%rax,4) # CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0xf7,0xbc,0x80,0x23,0x01,0x00,0x00] {nf} idivl 291(%r8,%rax,4) # CHECK: {evex} idivq 291(%r8,%rax,4) # CHECK: encoding: [0x62,0xd4,0xfc,0x08,0xf7,0xbc,0x80,0x23,0x01,0x00,0x00] {evex} idivq 291(%r8,%rax,4) # CHECK: {nf} idivq 291(%r8,%rax,4) # CHECK: encoding: [0x62,0xd4,0xfc,0x0c,0xf7,0xbc,0x80,0x23,0x01,0x00,0x00] {nf} idivq 291(%r8,%rax,4)