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} neg bl4# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0xf6,0xdb]5 {evex} neg bl6# CHECK: {nf} neg bl7# CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0xf6,0xdb]8 {nf} neg bl9# CHECK: neg bl, bl10# CHECK: encoding: [0x62,0xf4,0x64,0x18,0xf6,0xdb]11 neg bl, bl12# CHECK: {nf} neg bl, bl13# CHECK: encoding: [0x62,0xf4,0x64,0x1c,0xf6,0xdb]14 {nf} neg bl, bl15# CHECK: {evex} neg dx16# CHECK: encoding: [0x62,0xf4,0x7d,0x08,0xf7,0xda]17 {evex} neg dx18# CHECK: {nf} neg dx19# CHECK: encoding: [0x62,0xf4,0x7d,0x0c,0xf7,0xda]20 {nf} neg dx21# CHECK: neg dx, dx22# CHECK: encoding: [0x62,0xf4,0x6d,0x18,0xf7,0xda]23 neg dx, dx24# CHECK: {nf} neg dx, dx25# CHECK: encoding: [0x62,0xf4,0x6d,0x1c,0xf7,0xda]26 {nf} neg dx, dx27# CHECK: {evex} neg ecx28# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0xf7,0xd9]29 {evex} neg ecx30# CHECK: {nf} neg ecx31# CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0xf7,0xd9]32 {nf} neg ecx33# CHECK: neg ecx, ecx34# CHECK: encoding: [0x62,0xf4,0x74,0x18,0xf7,0xd9]35 neg ecx, ecx36# CHECK: {nf} neg ecx, ecx37# CHECK: encoding: [0x62,0xf4,0x74,0x1c,0xf7,0xd9]38 {nf} neg ecx, ecx39# CHECK: {evex} neg r940# CHECK: encoding: [0x62,0xd4,0xfc,0x08,0xf7,0xd9]41 {evex} neg r942# CHECK: {nf} neg r943# CHECK: encoding: [0x62,0xd4,0xfc,0x0c,0xf7,0xd9]44 {nf} neg r945# CHECK: neg r9, r946# CHECK: encoding: [0x62,0xd4,0xb4,0x18,0xf7,0xd9]47 neg r9, r948# CHECK: {nf} neg r9, r949# CHECK: encoding: [0x62,0xd4,0xb4,0x1c,0xf7,0xd9]50 {nf} neg r9, r951# CHECK: {evex} neg byte ptr [r8 + 4*rax + 291]52# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0xf6,0x9c,0x80,0x23,0x01,0x00,0x00]53 {evex} neg byte ptr [r8 + 4*rax + 291]54# CHECK: {nf} neg byte ptr [r8 + 4*rax + 291]55# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0xf6,0x9c,0x80,0x23,0x01,0x00,0x00]56 {nf} neg byte ptr [r8 + 4*rax + 291]57# CHECK: neg bl, byte ptr [r8 + 4*rax + 291]58# CHECK: encoding: [0x62,0xd4,0x64,0x18,0xf6,0x9c,0x80,0x23,0x01,0x00,0x00]59 neg bl, byte ptr [r8 + 4*rax + 291]60# CHECK: {nf} neg bl, byte ptr [r8 + 4*rax + 291]61# CHECK: encoding: [0x62,0xd4,0x64,0x1c,0xf6,0x9c,0x80,0x23,0x01,0x00,0x00]62 {nf} neg bl, byte ptr [r8 + 4*rax + 291]63# CHECK: {evex} neg word ptr [r8 + 4*rax + 291]64# CHECK: encoding: [0x62,0xd4,0x7d,0x08,0xf7,0x9c,0x80,0x23,0x01,0x00,0x00]65 {evex} neg word ptr [r8 + 4*rax + 291]66# CHECK: {nf} neg word ptr [r8 + 4*rax + 291]67# CHECK: encoding: [0x62,0xd4,0x7d,0x0c,0xf7,0x9c,0x80,0x23,0x01,0x00,0x00]68 {nf} neg word ptr [r8 + 4*rax + 291]69# CHECK: neg dx, word ptr [r8 + 4*rax + 291]70# CHECK: encoding: [0x62,0xd4,0x6d,0x18,0xf7,0x9c,0x80,0x23,0x01,0x00,0x00]71 neg dx, word ptr [r8 + 4*rax + 291]72# CHECK: {nf} neg dx, word ptr [r8 + 4*rax + 291]73# CHECK: encoding: [0x62,0xd4,0x6d,0x1c,0xf7,0x9c,0x80,0x23,0x01,0x00,0x00]74 {nf} neg dx, word ptr [r8 + 4*rax + 291]75# CHECK: {evex} neg dword ptr [r8 + 4*rax + 291]76# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0xf7,0x9c,0x80,0x23,0x01,0x00,0x00]77 {evex} neg dword ptr [r8 + 4*rax + 291]78# CHECK: {nf} neg dword ptr [r8 + 4*rax + 291]79# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0xf7,0x9c,0x80,0x23,0x01,0x00,0x00]80 {nf} neg dword ptr [r8 + 4*rax + 291]81# CHECK: neg ecx, dword ptr [r8 + 4*rax + 291]82# CHECK: encoding: [0x62,0xd4,0x74,0x18,0xf7,0x9c,0x80,0x23,0x01,0x00,0x00]83 neg ecx, dword ptr [r8 + 4*rax + 291]84# CHECK: {nf} neg ecx, dword ptr [r8 + 4*rax + 291]85# CHECK: encoding: [0x62,0xd4,0x74,0x1c,0xf7,0x9c,0x80,0x23,0x01,0x00,0x00]86 {nf} neg ecx, dword ptr [r8 + 4*rax + 291]87# CHECK: {evex} neg qword ptr [r8 + 4*rax + 291]88# CHECK: encoding: [0x62,0xd4,0xfc,0x08,0xf7,0x9c,0x80,0x23,0x01,0x00,0x00]89 {evex} neg qword ptr [r8 + 4*rax + 291]90# CHECK: {nf} neg qword ptr [r8 + 4*rax + 291]91# CHECK: encoding: [0x62,0xd4,0xfc,0x0c,0xf7,0x9c,0x80,0x23,0x01,0x00,0x00]92 {nf} neg qword ptr [r8 + 4*rax + 291]93# CHECK: neg r9, qword ptr [r8 + 4*rax + 291]94# CHECK: encoding: [0x62,0xd4,0xb4,0x18,0xf7,0x9c,0x80,0x23,0x01,0x00,0x00]95 neg r9, qword ptr [r8 + 4*rax + 291]96# CHECK: {nf} neg r9, qword ptr [r8 + 4*rax + 291]97# CHECK: encoding: [0x62,0xd4,0xb4,0x1c,0xf7,0x9c,0x80,0x23,0x01,0x00,0x00]98 {nf} neg r9, qword ptr [r8 + 4*rax + 291]99