98 lines · plain
1// RUN: llvm-mc -triple i686-unknown-unknown -x86-asm-syntax=intel -output-asm-variant=1 --show-encoding %s | FileCheck %s2 3// CHECK: aadd dword ptr [esp + 8*esi + 268435456], ebx4// CHECK: encoding: [0x0f,0x38,0xfc,0x9c,0xf4,0x00,0x00,0x00,0x10]5 aadd dword ptr [esp + 8*esi + 268435456], ebx6 7// CHECK: aadd dword ptr [edi + 4*eax + 291], ebx8// CHECK: encoding: [0x0f,0x38,0xfc,0x9c,0x87,0x23,0x01,0x00,0x00]9 aadd dword ptr [edi + 4*eax + 291], ebx10 11// CHECK: aadd dword ptr [eax], ebx12// CHECK: encoding: [0x0f,0x38,0xfc,0x18]13 aadd dword ptr [eax], ebx14 15// CHECK: aadd dword ptr [2*ebp - 512], ebx16// CHECK: encoding: [0x0f,0x38,0xfc,0x1c,0x6d,0x00,0xfe,0xff,0xff]17 aadd dword ptr [2*ebp - 512], ebx18 19// CHECK: aadd dword ptr [ecx + 2032], ebx20// CHECK: encoding: [0x0f,0x38,0xfc,0x99,0xf0,0x07,0x00,0x00]21 aadd dword ptr [ecx + 2032], ebx22 23// CHECK: aadd dword ptr [edx - 2048], ebx24// CHECK: encoding: [0x0f,0x38,0xfc,0x9a,0x00,0xf8,0xff,0xff]25 aadd dword ptr [edx - 2048], ebx26 27// CHECK: aand dword ptr [esp + 8*esi + 268435456], ebx28// CHECK: encoding: [0x66,0x0f,0x38,0xfc,0x9c,0xf4,0x00,0x00,0x00,0x10]29 aand dword ptr [esp + 8*esi + 268435456], ebx30 31// CHECK: aand dword ptr [edi + 4*eax + 291], ebx32// CHECK: encoding: [0x66,0x0f,0x38,0xfc,0x9c,0x87,0x23,0x01,0x00,0x00]33 aand dword ptr [edi + 4*eax + 291], ebx34 35// CHECK: aand dword ptr [eax], ebx36// CHECK: encoding: [0x66,0x0f,0x38,0xfc,0x18]37 aand dword ptr [eax], ebx38 39// CHECK: aand dword ptr [2*ebp - 512], ebx40// CHECK: encoding: [0x66,0x0f,0x38,0xfc,0x1c,0x6d,0x00,0xfe,0xff,0xff]41 aand dword ptr [2*ebp - 512], ebx42 43// CHECK: aand dword ptr [ecx + 2032], ebx44// CHECK: encoding: [0x66,0x0f,0x38,0xfc,0x99,0xf0,0x07,0x00,0x00]45 aand dword ptr [ecx + 2032], ebx46 47// CHECK: aand dword ptr [edx - 2048], ebx48// CHECK: encoding: [0x66,0x0f,0x38,0xfc,0x9a,0x00,0xf8,0xff,0xff]49 aand dword ptr [edx - 2048], ebx50 51// CHECK: aor dword ptr [esp + 8*esi + 268435456], ebx52// CHECK: encoding: [0xf2,0x0f,0x38,0xfc,0x9c,0xf4,0x00,0x00,0x00,0x10]53 aor dword ptr [esp + 8*esi + 268435456], ebx54 55// CHECK: aor dword ptr [edi + 4*eax + 291], ebx56// CHECK: encoding: [0xf2,0x0f,0x38,0xfc,0x9c,0x87,0x23,0x01,0x00,0x00]57 aor dword ptr [edi + 4*eax + 291], ebx58 59// CHECK: aor dword ptr [eax], ebx60// CHECK: encoding: [0xf2,0x0f,0x38,0xfc,0x18]61 aor dword ptr [eax], ebx62 63// CHECK: aor dword ptr [2*ebp - 512], ebx64// CHECK: encoding: [0xf2,0x0f,0x38,0xfc,0x1c,0x6d,0x00,0xfe,0xff,0xff]65 aor dword ptr [2*ebp - 512], ebx66 67// CHECK: aor dword ptr [ecx + 2032], ebx68// CHECK: encoding: [0xf2,0x0f,0x38,0xfc,0x99,0xf0,0x07,0x00,0x00]69 aor dword ptr [ecx + 2032], ebx70 71// CHECK: aor dword ptr [edx - 2048], ebx72// CHECK: encoding: [0xf2,0x0f,0x38,0xfc,0x9a,0x00,0xf8,0xff,0xff]73 aor dword ptr [edx - 2048], ebx74 75// CHECK: axor dword ptr [esp + 8*esi + 268435456], ebx76// CHECK: encoding: [0xf3,0x0f,0x38,0xfc,0x9c,0xf4,0x00,0x00,0x00,0x10]77 axor dword ptr [esp + 8*esi + 268435456], ebx78 79// CHECK: axor dword ptr [edi + 4*eax + 291], ebx80// CHECK: encoding: [0xf3,0x0f,0x38,0xfc,0x9c,0x87,0x23,0x01,0x00,0x00]81 axor dword ptr [edi + 4*eax + 291], ebx82 83// CHECK: axor dword ptr [eax], ebx84// CHECK: encoding: [0xf3,0x0f,0x38,0xfc,0x18]85 axor dword ptr [eax], ebx86 87// CHECK: axor dword ptr [2*ebp - 512], ebx88// CHECK: encoding: [0xf3,0x0f,0x38,0xfc,0x1c,0x6d,0x00,0xfe,0xff,0xff]89 axor dword ptr [2*ebp - 512], ebx90 91// CHECK: axor dword ptr [ecx + 2032], ebx92// CHECK: encoding: [0xf3,0x0f,0x38,0xfc,0x99,0xf0,0x07,0x00,0x00]93 axor dword ptr [ecx + 2032], ebx94 95// CHECK: axor dword ptr [edx - 2048], ebx96// CHECK: encoding: [0xf3,0x0f,0x38,0xfc,0x9a,0x00,0xf8,0xff,0xff]97 axor dword ptr [edx - 2048], ebx98