1# RUN: llvm-mc -triple x86_64 -show-encoding -x86-asm-syntax=intel -output-asm-variant=1 %s | FileCheck %s 2 3# CHECK: {evex} mul bl 4# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0xf6,0xe3] 5 {evex} mul bl 6# CHECK: {nf} mul bl 7# CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0xf6,0xe3] 8 {nf} mul bl 9# CHECK: {evex} mul dx 10# CHECK: encoding: [0x62,0xf4,0x7d,0x08,0xf7,0xe2] 11 {evex} mul dx 12# CHECK: {nf} mul dx 13# CHECK: encoding: [0x62,0xf4,0x7d,0x0c,0xf7,0xe2] 14 {nf} mul dx 15# CHECK: {evex} mul ecx 16# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0xf7,0xe1] 17 {evex} mul ecx 18# CHECK: {nf} mul ecx 19# CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0xf7,0xe1] 20 {nf} mul ecx 21# CHECK: {evex} mul r9 22# CHECK: encoding: [0x62,0xd4,0xfc,0x08,0xf7,0xe1] 23 {evex} mul r9 24# CHECK: {nf} mul r9 25# CHECK: encoding: [0x62,0xd4,0xfc,0x0c,0xf7,0xe1] 26 {nf} mul r9 27# CHECK: {evex} mul byte ptr [r8 + 4*rax + 291] 28# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0xf6,0xa4,0x80,0x23,0x01,0x00,0x00] 29 {evex} mul byte ptr [r8 + 4*rax + 291] 30# CHECK: {nf} mul byte ptr [r8 + 4*rax + 291] 31# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0xf6,0xa4,0x80,0x23,0x01,0x00,0x00] 32 {nf} mul byte ptr [r8 + 4*rax + 291] 33# CHECK: {evex} mul word ptr [r8 + 4*rax + 291] 34# CHECK: encoding: [0x62,0xd4,0x7d,0x08,0xf7,0xa4,0x80,0x23,0x01,0x00,0x00] 35 {evex} mul word ptr [r8 + 4*rax + 291] 36# CHECK: {nf} mul word ptr [r8 + 4*rax + 291] 37# CHECK: encoding: [0x62,0xd4,0x7d,0x0c,0xf7,0xa4,0x80,0x23,0x01,0x00,0x00] 38 {nf} mul word ptr [r8 + 4*rax + 291] 39# CHECK: {evex} mul dword ptr [r8 + 4*rax + 291] 40# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0xf7,0xa4,0x80,0x23,0x01,0x00,0x00] 41 {evex} mul dword ptr [r8 + 4*rax + 291] 42# CHECK: {nf} mul dword ptr [r8 + 4*rax + 291] 43# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0xf7,0xa4,0x80,0x23,0x01,0x00,0x00] 44 {nf} mul dword ptr [r8 + 4*rax + 291] 45# CHECK: {evex} mul qword ptr [r8 + 4*rax + 291] 46# CHECK: encoding: [0x62,0xd4,0xfc,0x08,0xf7,0xa4,0x80,0x23,0x01,0x00,0x00] 47 {evex} mul qword ptr [r8 + 4*rax + 291] 48# CHECK: {nf} mul qword ptr [r8 + 4*rax + 291] 49# CHECK: encoding: [0x62,0xd4,0xfc,0x0c,0xf7,0xa4,0x80,0x23,0x01,0x00,0x00] 50 {nf} mul qword ptr [r8 + 4*rax + 291] 51