54 lines · plain
1# RUN: llvm-mc -triple x86_64 -show-encoding %s | FileCheck %s2# RUN: not llvm-mc -triple i386 -show-encoding %s 2>&1 | FileCheck %s --check-prefix=ERROR3 4# ERROR-COUNT-16: error:5# ERROR-NOT: error:6# CHECK: {evex} mulb %bl7# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0xf6,0xe3]8 {evex} mulb %bl9# CHECK: {nf} mulb %bl10# CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0xf6,0xe3]11 {nf} mulb %bl12# CHECK: {evex} mulw %dx13# CHECK: encoding: [0x62,0xf4,0x7d,0x08,0xf7,0xe2]14 {evex} mulw %dx15# CHECK: {nf} mulw %dx16# CHECK: encoding: [0x62,0xf4,0x7d,0x0c,0xf7,0xe2]17 {nf} mulw %dx18# CHECK: {evex} mull %ecx19# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0xf7,0xe1]20 {evex} mull %ecx21# CHECK: {nf} mull %ecx22# CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0xf7,0xe1]23 {nf} mull %ecx24# CHECK: {evex} mulq %r925# CHECK: encoding: [0x62,0xd4,0xfc,0x08,0xf7,0xe1]26 {evex} mulq %r927# CHECK: {nf} mulq %r928# CHECK: encoding: [0x62,0xd4,0xfc,0x0c,0xf7,0xe1]29 {nf} mulq %r930# CHECK: {evex} mulb 291(%r8,%rax,4)31# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0xf6,0xa4,0x80,0x23,0x01,0x00,0x00]32 {evex} mulb 291(%r8,%rax,4)33# CHECK: {nf} mulb 291(%r8,%rax,4)34# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0xf6,0xa4,0x80,0x23,0x01,0x00,0x00]35 {nf} mulb 291(%r8,%rax,4)36# CHECK: {evex} mulw 291(%r8,%rax,4)37# CHECK: encoding: [0x62,0xd4,0x7d,0x08,0xf7,0xa4,0x80,0x23,0x01,0x00,0x00]38 {evex} mulw 291(%r8,%rax,4)39# CHECK: {nf} mulw 291(%r8,%rax,4)40# CHECK: encoding: [0x62,0xd4,0x7d,0x0c,0xf7,0xa4,0x80,0x23,0x01,0x00,0x00]41 {nf} mulw 291(%r8,%rax,4)42# CHECK: {evex} mull 291(%r8,%rax,4)43# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0xf7,0xa4,0x80,0x23,0x01,0x00,0x00]44 {evex} mull 291(%r8,%rax,4)45# CHECK: {nf} mull 291(%r8,%rax,4)46# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0xf7,0xa4,0x80,0x23,0x01,0x00,0x00]47 {nf} mull 291(%r8,%rax,4)48# CHECK: {evex} mulq 291(%r8,%rax,4)49# CHECK: encoding: [0x62,0xd4,0xfc,0x08,0xf7,0xa4,0x80,0x23,0x01,0x00,0x00]50 {evex} mulq 291(%r8,%rax,4)51# CHECK: {nf} mulq 291(%r8,%rax,4)52# CHECK: encoding: [0x62,0xd4,0xfc,0x0c,0xf7,0xa4,0x80,0x23,0x01,0x00,0x00]53 {nf} mulq 291(%r8,%rax,4)54