99 lines · plain
1# RUN: llvm-mc -triple x86_64 -show-encoding -x86-asm-syntax=intel -output-asm-variant=1 %s | FileCheck %s2 3# CHECK: {evex} dec bl4# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0xfe,0xcb]5 {evex} dec bl6# CHECK: {nf} dec bl7# CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0xfe,0xcb]8 {nf} dec bl9# CHECK: dec bl, bl10# CHECK: encoding: [0x62,0xf4,0x64,0x18,0xfe,0xcb]11 dec bl, bl12# CHECK: {nf} dec bl, bl13# CHECK: encoding: [0x62,0xf4,0x64,0x1c,0xfe,0xcb]14 {nf} dec bl, bl15# CHECK: {evex} dec dx16# CHECK: encoding: [0x62,0xf4,0x7d,0x08,0xff,0xca]17 {evex} dec dx18# CHECK: {nf} dec dx19# CHECK: encoding: [0x62,0xf4,0x7d,0x0c,0xff,0xca]20 {nf} dec dx21# CHECK: dec dx, dx22# CHECK: encoding: [0x62,0xf4,0x6d,0x18,0xff,0xca]23 dec dx, dx24# CHECK: {nf} dec dx, dx25# CHECK: encoding: [0x62,0xf4,0x6d,0x1c,0xff,0xca]26 {nf} dec dx, dx27# CHECK: {evex} dec ecx28# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0xff,0xc9]29 {evex} dec ecx30# CHECK: {nf} dec ecx31# CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0xff,0xc9]32 {nf} dec ecx33# CHECK: dec ecx, ecx34# CHECK: encoding: [0x62,0xf4,0x74,0x18,0xff,0xc9]35 dec ecx, ecx36# CHECK: {nf} dec ecx, ecx37# CHECK: encoding: [0x62,0xf4,0x74,0x1c,0xff,0xc9]38 {nf} dec ecx, ecx39# CHECK: {evex} dec r940# CHECK: encoding: [0x62,0xd4,0xfc,0x08,0xff,0xc9]41 {evex} dec r942# CHECK: {nf} dec r943# CHECK: encoding: [0x62,0xd4,0xfc,0x0c,0xff,0xc9]44 {nf} dec r945# CHECK: dec r9, r946# CHECK: encoding: [0x62,0xd4,0xb4,0x18,0xff,0xc9]47 dec r9, r948# CHECK: {nf} dec r9, r949# CHECK: encoding: [0x62,0xd4,0xb4,0x1c,0xff,0xc9]50 {nf} dec r9, r951# CHECK: {evex} dec byte ptr [r8 + 4*rax + 291]52# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0xfe,0x8c,0x80,0x23,0x01,0x00,0x00]53 {evex} dec byte ptr [r8 + 4*rax + 291]54# CHECK: {nf} dec byte ptr [r8 + 4*rax + 291]55# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0xfe,0x8c,0x80,0x23,0x01,0x00,0x00]56 {nf} dec byte ptr [r8 + 4*rax + 291]57# CHECK: dec bl, byte ptr [r8 + 4*rax + 291]58# CHECK: encoding: [0x62,0xd4,0x64,0x18,0xfe,0x8c,0x80,0x23,0x01,0x00,0x00]59 dec bl, byte ptr [r8 + 4*rax + 291]60# CHECK: {nf} dec bl, byte ptr [r8 + 4*rax + 291]61# CHECK: encoding: [0x62,0xd4,0x64,0x1c,0xfe,0x8c,0x80,0x23,0x01,0x00,0x00]62 {nf} dec bl, byte ptr [r8 + 4*rax + 291]63# CHECK: {evex} dec word ptr [r8 + 4*rax + 291]64# CHECK: encoding: [0x62,0xd4,0x7d,0x08,0xff,0x8c,0x80,0x23,0x01,0x00,0x00]65 {evex} dec word ptr [r8 + 4*rax + 291]66# CHECK: {nf} dec word ptr [r8 + 4*rax + 291]67# CHECK: encoding: [0x62,0xd4,0x7d,0x0c,0xff,0x8c,0x80,0x23,0x01,0x00,0x00]68 {nf} dec word ptr [r8 + 4*rax + 291]69# CHECK: dec dx, word ptr [r8 + 4*rax + 291]70# CHECK: encoding: [0x62,0xd4,0x6d,0x18,0xff,0x8c,0x80,0x23,0x01,0x00,0x00]71 dec dx, word ptr [r8 + 4*rax + 291]72# CHECK: {nf} dec dx, word ptr [r8 + 4*rax + 291]73# CHECK: encoding: [0x62,0xd4,0x6d,0x1c,0xff,0x8c,0x80,0x23,0x01,0x00,0x00]74 {nf} dec dx, word ptr [r8 + 4*rax + 291]75# CHECK: {evex} dec dword ptr [r8 + 4*rax + 291]76# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0xff,0x8c,0x80,0x23,0x01,0x00,0x00]77 {evex} dec dword ptr [r8 + 4*rax + 291]78# CHECK: {nf} dec dword ptr [r8 + 4*rax + 291]79# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0xff,0x8c,0x80,0x23,0x01,0x00,0x00]80 {nf} dec dword ptr [r8 + 4*rax + 291]81# CHECK: dec ecx, dword ptr [r8 + 4*rax + 291]82# CHECK: encoding: [0x62,0xd4,0x74,0x18,0xff,0x8c,0x80,0x23,0x01,0x00,0x00]83 dec ecx, dword ptr [r8 + 4*rax + 291]84# CHECK: {nf} dec ecx, dword ptr [r8 + 4*rax + 291]85# CHECK: encoding: [0x62,0xd4,0x74,0x1c,0xff,0x8c,0x80,0x23,0x01,0x00,0x00]86 {nf} dec ecx, dword ptr [r8 + 4*rax + 291]87# CHECK: {evex} dec qword ptr [r8 + 4*rax + 291]88# CHECK: encoding: [0x62,0xd4,0xfc,0x08,0xff,0x8c,0x80,0x23,0x01,0x00,0x00]89 {evex} dec qword ptr [r8 + 4*rax + 291]90# CHECK: {nf} dec qword ptr [r8 + 4*rax + 291]91# CHECK: encoding: [0x62,0xd4,0xfc,0x0c,0xff,0x8c,0x80,0x23,0x01,0x00,0x00]92 {nf} dec qword ptr [r8 + 4*rax + 291]93# CHECK: dec r9, qword ptr [r8 + 4*rax + 291]94# CHECK: encoding: [0x62,0xd4,0xb4,0x18,0xff,0x8c,0x80,0x23,0x01,0x00,0x00]95 dec r9, qword ptr [r8 + 4*rax + 291]96# CHECK: {nf} dec r9, qword ptr [r8 + 4*rax + 291]97# CHECK: encoding: [0x62,0xd4,0xb4,0x1c,0xff,0x8c,0x80,0x23,0x01,0x00,0x00]98 {nf} dec r9, qword ptr [r8 + 4*rax + 291]99