1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
|
# RUN: llvm-mc -triple x86_64 -show-encoding -x86-asm-syntax=intel -output-asm-variant=1 %s | FileCheck %s
# CHECK: {evex} neg bl
# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0xf6,0xdb]
{evex} neg bl
# CHECK: {nf} neg bl
# CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0xf6,0xdb]
{nf} neg bl
# CHECK: neg bl, bl
# CHECK: encoding: [0x62,0xf4,0x64,0x18,0xf6,0xdb]
neg bl, bl
# CHECK: {nf} neg bl, bl
# CHECK: encoding: [0x62,0xf4,0x64,0x1c,0xf6,0xdb]
{nf} neg bl, bl
# CHECK: {evex} neg dx
# CHECK: encoding: [0x62,0xf4,0x7d,0x08,0xf7,0xda]
{evex} neg dx
# CHECK: {nf} neg dx
# CHECK: encoding: [0x62,0xf4,0x7d,0x0c,0xf7,0xda]
{nf} neg dx
# CHECK: neg dx, dx
# CHECK: encoding: [0x62,0xf4,0x6d,0x18,0xf7,0xda]
neg dx, dx
# CHECK: {nf} neg dx, dx
# CHECK: encoding: [0x62,0xf4,0x6d,0x1c,0xf7,0xda]
{nf} neg dx, dx
# CHECK: {evex} neg ecx
# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0xf7,0xd9]
{evex} neg ecx
# CHECK: {nf} neg ecx
# CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0xf7,0xd9]
{nf} neg ecx
# CHECK: neg ecx, ecx
# CHECK: encoding: [0x62,0xf4,0x74,0x18,0xf7,0xd9]
neg ecx, ecx
# CHECK: {nf} neg ecx, ecx
# CHECK: encoding: [0x62,0xf4,0x74,0x1c,0xf7,0xd9]
{nf} neg ecx, ecx
# CHECK: {evex} neg r9
# CHECK: encoding: [0x62,0xd4,0xfc,0x08,0xf7,0xd9]
{evex} neg r9
# CHECK: {nf} neg r9
# CHECK: encoding: [0x62,0xd4,0xfc,0x0c,0xf7,0xd9]
{nf} neg r9
# CHECK: neg r9, r9
# CHECK: encoding: [0x62,0xd4,0xb4,0x18,0xf7,0xd9]
neg r9, r9
# CHECK: {nf} neg r9, r9
# CHECK: encoding: [0x62,0xd4,0xb4,0x1c,0xf7,0xd9]
{nf} neg r9, r9
# CHECK: {evex} neg byte ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0xf6,0x9c,0x80,0x23,0x01,0x00,0x00]
{evex} neg byte ptr [r8 + 4*rax + 291]
# CHECK: {nf} neg byte ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0xf6,0x9c,0x80,0x23,0x01,0x00,0x00]
{nf} neg byte ptr [r8 + 4*rax + 291]
# CHECK: neg bl, byte ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x64,0x18,0xf6,0x9c,0x80,0x23,0x01,0x00,0x00]
neg bl, byte ptr [r8 + 4*rax + 291]
# CHECK: {nf} neg bl, byte ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x64,0x1c,0xf6,0x9c,0x80,0x23,0x01,0x00,0x00]
{nf} neg bl, byte ptr [r8 + 4*rax + 291]
# CHECK: {evex} neg word ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x7d,0x08,0xf7,0x9c,0x80,0x23,0x01,0x00,0x00]
{evex} neg word ptr [r8 + 4*rax + 291]
# CHECK: {nf} neg word ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x7d,0x0c,0xf7,0x9c,0x80,0x23,0x01,0x00,0x00]
{nf} neg word ptr [r8 + 4*rax + 291]
# CHECK: neg dx, word ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x6d,0x18,0xf7,0x9c,0x80,0x23,0x01,0x00,0x00]
neg dx, word ptr [r8 + 4*rax + 291]
# CHECK: {nf} neg dx, word ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x6d,0x1c,0xf7,0x9c,0x80,0x23,0x01,0x00,0x00]
{nf} neg dx, word ptr [r8 + 4*rax + 291]
# CHECK: {evex} neg dword ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0xf7,0x9c,0x80,0x23,0x01,0x00,0x00]
{evex} neg dword ptr [r8 + 4*rax + 291]
# CHECK: {nf} neg dword ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0xf7,0x9c,0x80,0x23,0x01,0x00,0x00]
{nf} neg dword ptr [r8 + 4*rax + 291]
# CHECK: neg ecx, dword ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x74,0x18,0xf7,0x9c,0x80,0x23,0x01,0x00,0x00]
neg ecx, dword ptr [r8 + 4*rax + 291]
# CHECK: {nf} neg ecx, dword ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0x74,0x1c,0xf7,0x9c,0x80,0x23,0x01,0x00,0x00]
{nf} neg ecx, dword ptr [r8 + 4*rax + 291]
# CHECK: {evex} neg qword ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0xfc,0x08,0xf7,0x9c,0x80,0x23,0x01,0x00,0x00]
{evex} neg qword ptr [r8 + 4*rax + 291]
# CHECK: {nf} neg qword ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0xfc,0x0c,0xf7,0x9c,0x80,0x23,0x01,0x00,0x00]
{nf} neg qword ptr [r8 + 4*rax + 291]
# CHECK: neg r9, qword ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0xb4,0x18,0xf7,0x9c,0x80,0x23,0x01,0x00,0x00]
neg r9, qword ptr [r8 + 4*rax + 291]
# CHECK: {nf} neg r9, qword ptr [r8 + 4*rax + 291]
# CHECK: encoding: [0x62,0xd4,0xb4,0x1c,0xf7,0x9c,0x80,0x23,0x01,0x00,0x00]
{nf} neg r9, qword ptr [r8 + 4*rax + 291]
|