1// RUN: llvm-mc -triple i686-unknown-unknown -x86-asm-syntax=intel -output-asm-variant=1 --show-encoding %s | FileCheck %s 2 3// CHECK: aadd dword ptr [esp + 8*esi + 268435456], ebx 4// CHECK: encoding: [0x0f,0x38,0xfc,0x9c,0xf4,0x00,0x00,0x00,0x10] 5 aadd dword ptr [esp + 8*esi + 268435456], ebx 6 7// CHECK: aadd dword ptr [edi + 4*eax + 291], ebx 8// CHECK: encoding: [0x0f,0x38,0xfc,0x9c,0x87,0x23,0x01,0x00,0x00] 9 aadd dword ptr [edi + 4*eax + 291], ebx 10 11// CHECK: aadd dword ptr [eax], ebx 12// CHECK: encoding: [0x0f,0x38,0xfc,0x18] 13 aadd dword ptr [eax], ebx 14 15// CHECK: aadd dword ptr [2*ebp - 512], ebx 16// CHECK: encoding: [0x0f,0x38,0xfc,0x1c,0x6d,0x00,0xfe,0xff,0xff] 17 aadd dword ptr [2*ebp - 512], ebx 18 19// CHECK: aadd dword ptr [ecx + 2032], ebx 20// CHECK: encoding: [0x0f,0x38,0xfc,0x99,0xf0,0x07,0x00,0x00] 21 aadd dword ptr [ecx + 2032], ebx 22 23// CHECK: aadd dword ptr [edx - 2048], ebx 24// CHECK: encoding: [0x0f,0x38,0xfc,0x9a,0x00,0xf8,0xff,0xff] 25 aadd dword ptr [edx - 2048], ebx 26 27// CHECK: aand dword ptr [esp + 8*esi + 268435456], ebx 28// CHECK: encoding: [0x66,0x0f,0x38,0xfc,0x9c,0xf4,0x00,0x00,0x00,0x10] 29 aand dword ptr [esp + 8*esi + 268435456], ebx 30 31// CHECK: aand dword ptr [edi + 4*eax + 291], ebx 32// CHECK: encoding: [0x66,0x0f,0x38,0xfc,0x9c,0x87,0x23,0x01,0x00,0x00] 33 aand dword ptr [edi + 4*eax + 291], ebx 34 35// CHECK: aand dword ptr [eax], ebx 36// CHECK: encoding: [0x66,0x0f,0x38,0xfc,0x18] 37 aand dword ptr [eax], ebx 38 39// CHECK: aand dword ptr [2*ebp - 512], ebx 40// CHECK: encoding: [0x66,0x0f,0x38,0xfc,0x1c,0x6d,0x00,0xfe,0xff,0xff] 41 aand dword ptr [2*ebp - 512], ebx 42 43// CHECK: aand dword ptr [ecx + 2032], ebx 44// CHECK: encoding: [0x66,0x0f,0x38,0xfc,0x99,0xf0,0x07,0x00,0x00] 45 aand dword ptr [ecx + 2032], ebx 46 47// CHECK: aand dword ptr [edx - 2048], ebx 48// CHECK: encoding: [0x66,0x0f,0x38,0xfc,0x9a,0x00,0xf8,0xff,0xff] 49 aand dword ptr [edx - 2048], ebx 50 51// CHECK: aor dword ptr [esp + 8*esi + 268435456], ebx 52// CHECK: encoding: [0xf2,0x0f,0x38,0xfc,0x9c,0xf4,0x00,0x00,0x00,0x10] 53 aor dword ptr [esp + 8*esi + 268435456], ebx 54 55// CHECK: aor dword ptr [edi + 4*eax + 291], ebx 56// CHECK: encoding: [0xf2,0x0f,0x38,0xfc,0x9c,0x87,0x23,0x01,0x00,0x00] 57 aor dword ptr [edi + 4*eax + 291], ebx 58 59// CHECK: aor dword ptr [eax], ebx 60// CHECK: encoding: [0xf2,0x0f,0x38,0xfc,0x18] 61 aor dword ptr [eax], ebx 62 63// CHECK: aor dword ptr [2*ebp - 512], ebx 64// CHECK: encoding: [0xf2,0x0f,0x38,0xfc,0x1c,0x6d,0x00,0xfe,0xff,0xff] 65 aor dword ptr [2*ebp - 512], ebx 66 67// CHECK: aor dword ptr [ecx + 2032], ebx 68// CHECK: encoding: [0xf2,0x0f,0x38,0xfc,0x99,0xf0,0x07,0x00,0x00] 69 aor dword ptr [ecx + 2032], ebx 70 71// CHECK: aor dword ptr [edx - 2048], ebx 72// CHECK: encoding: [0xf2,0x0f,0x38,0xfc,0x9a,0x00,0xf8,0xff,0xff] 73 aor dword ptr [edx - 2048], ebx 74 75// CHECK: axor dword ptr [esp + 8*esi + 268435456], ebx 76// CHECK: encoding: [0xf3,0x0f,0x38,0xfc,0x9c,0xf4,0x00,0x00,0x00,0x10] 77 axor dword ptr [esp + 8*esi + 268435456], ebx 78 79// CHECK: axor dword ptr [edi + 4*eax + 291], ebx 80// CHECK: encoding: [0xf3,0x0f,0x38,0xfc,0x9c,0x87,0x23,0x01,0x00,0x00] 81 axor dword ptr [edi + 4*eax + 291], ebx 82 83// CHECK: axor dword ptr [eax], ebx 84// CHECK: encoding: [0xf3,0x0f,0x38,0xfc,0x18] 85 axor dword ptr [eax], ebx 86 87// CHECK: axor dword ptr [2*ebp - 512], ebx 88// CHECK: encoding: [0xf3,0x0f,0x38,0xfc,0x1c,0x6d,0x00,0xfe,0xff,0xff] 89 axor dword ptr [2*ebp - 512], ebx 90 91// CHECK: axor dword ptr [ecx + 2032], ebx 92// CHECK: encoding: [0xf3,0x0f,0x38,0xfc,0x99,0xf0,0x07,0x00,0x00] 93 axor dword ptr [ecx + 2032], ebx 94 95// CHECK: axor dword ptr [edx - 2048], ebx 96// CHECK: encoding: [0xf3,0x0f,0x38,0xfc,0x9a,0x00,0xf8,0xff,0xff] 97 axor dword ptr [edx - 2048], ebx 98