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 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194
|
# RUN: llvm-mc --disassemble %s -triple=x86_64 | FileCheck %s --check-prefixes=ATT
# RUN: llvm-mc --disassemble %s -triple=x86_64 -x86-asm-syntax=intel --output-asm-variant=1 | FileCheck %s --check-prefixes=INTEL
# ATT: aaddq %r9, 268435456(%rbp,%r14,8)
# INTEL: aadd qword ptr [rbp + 8*r14 + 268435456], r9
0x4e,0x0f,0x38,0xfc,0x8c,0xf5,0x00,0x00,0x00,0x10
# ATT: aaddq %r9, 291(%r8,%rax,4)
# INTEL: aadd qword ptr [r8 + 4*rax + 291], r9
0x4d,0x0f,0x38,0xfc,0x8c,0x80,0x23,0x01,0x00,0x00
# ATT: aaddq %r9, (%rip)
# INTEL: aadd qword ptr [rip], r9
0x4c,0x0f,0x38,0xfc,0x0d,0x00,0x00,0x00,0x00
# ATT: aaddq %r9, -512(,%rbp,2)
# INTEL: aadd qword ptr [2*rbp - 512], r9
0x4c,0x0f,0x38,0xfc,0x0c,0x6d,0x00,0xfe,0xff,0xff
# ATT: aaddq %r9, 2032(%rcx)
# INTEL: aadd qword ptr [rcx + 2032], r9
0x4c,0x0f,0x38,0xfc,0x89,0xf0,0x07,0x00,0x00
# ATT: aaddq %r9, -2048(%rdx)
# INTEL: aadd qword ptr [rdx - 2048], r9
0x4c,0x0f,0x38,0xfc,0x8a,0x00,0xf8,0xff,0xff
# ATT: aaddl %ebx, 268435456(%esp,%esi,8)
# INTEL: aadd dword ptr [esp + 8*esi + 268435456], ebx
0x67,0x0f,0x38,0xfc,0x9c,0xf4,0x00,0x00,0x00,0x10
# ATT: aaddl %ebx, 291(%edi,%eax,4)
# INTEL: aadd dword ptr [edi + 4*eax + 291], ebx
0x67,0x0f,0x38,0xfc,0x9c,0x87,0x23,0x01,0x00,0x00
# ATT: aaddl %ebx, (%eax)
# INTEL: aadd dword ptr [eax], ebx
0x67,0x0f,0x38,0xfc,0x18
# ATT: aaddl %ebx, -512(,%ebp,2)
# INTEL: aadd dword ptr [2*ebp - 512], ebx
0x67,0x0f,0x38,0xfc,0x1c,0x6d,0x00,0xfe,0xff,0xff
# ATT: aaddl %ebx, 2032(%ecx)
# INTEL: aadd dword ptr [ecx + 2032], ebx
0x67,0x0f,0x38,0xfc,0x99,0xf0,0x07,0x00,0x00
# ATT: aaddl %ebx, -2048(%edx)
# INTEL: aadd dword ptr [edx - 2048], ebx
0x67,0x0f,0x38,0xfc,0x9a,0x00,0xf8,0xff,0xff
# ATT: aandq %r9, 268435456(%rbp,%r14,8)
# INTEL: aand qword ptr [rbp + 8*r14 + 268435456], r9
0x66,0x4e,0x0f,0x38,0xfc,0x8c,0xf5,0x00,0x00,0x00,0x10
# ATT: aandq %r9, 291(%r8,%rax,4)
# INTEL: aand qword ptr [r8 + 4*rax + 291], r9
0x66,0x4d,0x0f,0x38,0xfc,0x8c,0x80,0x23,0x01,0x00,0x00
# ATT: aandq %r9, (%rip)
# INTEL: aand qword ptr [rip], r9
0x66,0x4c,0x0f,0x38,0xfc,0x0d,0x00,0x00,0x00,0x00
# ATT: aandq %r9, -512(,%rbp,2)
# INTEL: aand qword ptr [2*rbp - 512], r9
0x66,0x4c,0x0f,0x38,0xfc,0x0c,0x6d,0x00,0xfe,0xff,0xff
# ATT: aandq %r9, 2032(%rcx)
# INTEL: aand qword ptr [rcx + 2032], r9
0x66,0x4c,0x0f,0x38,0xfc,0x89,0xf0,0x07,0x00,0x00
# ATT: aandq %r9, -2048(%rdx)
# INTEL: aand qword ptr [rdx - 2048], r9
0x66,0x4c,0x0f,0x38,0xfc,0x8a,0x00,0xf8,0xff,0xff
# ATT: aandl %ebx, 268435456(%esp,%esi,8)
# INTEL: aand dword ptr [esp + 8*esi + 268435456], ebx
0x67,0x66,0x0f,0x38,0xfc,0x9c,0xf4,0x00,0x00,0x00,0x10
# ATT: aandl %ebx, 291(%edi,%eax,4)
# INTEL: aand dword ptr [edi + 4*eax + 291], ebx
0x67,0x66,0x0f,0x38,0xfc,0x9c,0x87,0x23,0x01,0x00,0x00
# ATT: aandl %ebx, (%eax)
# INTEL: aand dword ptr [eax], ebx
0x67,0x66,0x0f,0x38,0xfc,0x18
# ATT: aandl %ebx, -512(,%ebp,2)
# INTEL: aand dword ptr [2*ebp - 512], ebx
0x67,0x66,0x0f,0x38,0xfc,0x1c,0x6d,0x00,0xfe,0xff,0xff
# ATT: aandl %ebx, 2032(%ecx)
# INTEL: aand dword ptr [ecx + 2032], ebx
0x67,0x66,0x0f,0x38,0xfc,0x99,0xf0,0x07,0x00,0x00
# ATT: aandl %ebx, -2048(%edx)
# INTEL: aand dword ptr [edx - 2048], ebx
0x67,0x66,0x0f,0x38,0xfc,0x9a,0x00,0xf8,0xff,0xff
# ATT: aorq %r9, 268435456(%rbp,%r14,8)
# INTEL: aor qword ptr [rbp + 8*r14 + 268435456], r9
0xf2,0x4e,0x0f,0x38,0xfc,0x8c,0xf5,0x00,0x00,0x00,0x10
# ATT: aorq %r9, 291(%r8,%rax,4)
# INTEL: aor qword ptr [r8 + 4*rax + 291], r9
0xf2,0x4d,0x0f,0x38,0xfc,0x8c,0x80,0x23,0x01,0x00,0x00
# ATT: aorq %r9, (%rip)
# INTEL: aor qword ptr [rip], r9
0xf2,0x4c,0x0f,0x38,0xfc,0x0d,0x00,0x00,0x00,0x00
# ATT: aorq %r9, -512(,%rbp,2)
# INTEL: aor qword ptr [2*rbp - 512], r9
0xf2,0x4c,0x0f,0x38,0xfc,0x0c,0x6d,0x00,0xfe,0xff,0xff
# ATT: aorq %r9, 2032(%rcx)
# INTEL: aor qword ptr [rcx + 2032], r9
0xf2,0x4c,0x0f,0x38,0xfc,0x89,0xf0,0x07,0x00,0x00
# ATT: aorq %r9, -2048(%rdx)
# INTEL: aor qword ptr [rdx - 2048], r9
0xf2,0x4c,0x0f,0x38,0xfc,0x8a,0x00,0xf8,0xff,0xff
# ATT: aorl %ebx, 268435456(%esp,%esi,8)
# INTEL: aor dword ptr [esp + 8*esi + 268435456], ebx
0x67,0xf2,0x0f,0x38,0xfc,0x9c,0xf4,0x00,0x00,0x00,0x10
# ATT: aorl %ebx, 291(%edi,%eax,4)
# INTEL: aor dword ptr [edi + 4*eax + 291], ebx
0x67,0xf2,0x0f,0x38,0xfc,0x9c,0x87,0x23,0x01,0x00,0x00
# ATT: aorl %ebx, (%eax)
# INTEL: aor dword ptr [eax], ebx
0x67,0xf2,0x0f,0x38,0xfc,0x18
# ATT: aorl %ebx, -512(,%ebp,2)
# INTEL: aor dword ptr [2*ebp - 512], ebx
0x67,0xf2,0x0f,0x38,0xfc,0x1c,0x6d,0x00,0xfe,0xff,0xff
# ATT: aorl %ebx, 2032(%ecx)
# INTEL: aor dword ptr [ecx + 2032], ebx
0x67,0xf2,0x0f,0x38,0xfc,0x99,0xf0,0x07,0x00,0x00
# ATT: aorl %ebx, -2048(%edx)
# INTEL: aor dword ptr [edx - 2048], ebx
0x67,0xf2,0x0f,0x38,0xfc,0x9a,0x00,0xf8,0xff,0xff
# ATT: axorq %r9, 268435456(%rbp,%r14,8)
# INTEL: axor qword ptr [rbp + 8*r14 + 268435456], r9
0xf3,0x4e,0x0f,0x38,0xfc,0x8c,0xf5,0x00,0x00,0x00,0x10
# ATT: axorq %r9, 291(%r8,%rax,4)
# INTEL: axor qword ptr [r8 + 4*rax + 291], r9
0xf3,0x4d,0x0f,0x38,0xfc,0x8c,0x80,0x23,0x01,0x00,0x00
# ATT: axorq %r9, (%rip)
# INTEL: axor qword ptr [rip], r9
0xf3,0x4c,0x0f,0x38,0xfc,0x0d,0x00,0x00,0x00,0x00
# ATT: axorq %r9, -512(,%rbp,2)
# INTEL: axor qword ptr [2*rbp - 512], r9
0xf3,0x4c,0x0f,0x38,0xfc,0x0c,0x6d,0x00,0xfe,0xff,0xff
# ATT: axorq %r9, 2032(%rcx)
# INTEL: axor qword ptr [rcx + 2032], r9
0xf3,0x4c,0x0f,0x38,0xfc,0x89,0xf0,0x07,0x00,0x00
# ATT: axorq %r9, -2048(%rdx)
# INTEL: axor qword ptr [rdx - 2048], r9
0xf3,0x4c,0x0f,0x38,0xfc,0x8a,0x00,0xf8,0xff,0xff
# ATT: axorl %ebx, 268435456(%esp,%esi,8)
# INTEL: axor dword ptr [esp + 8*esi + 268435456], ebx
0x67,0xf3,0x0f,0x38,0xfc,0x9c,0xf4,0x00,0x00,0x00,0x10
# ATT: axorl %ebx, 291(%edi,%eax,4)
# INTEL: axor dword ptr [edi + 4*eax + 291], ebx
0x67,0xf3,0x0f,0x38,0xfc,0x9c,0x87,0x23,0x01,0x00,0x00
# ATT: axorl %ebx, (%eax)
# INTEL: axor dword ptr [eax], ebx
0x67,0xf3,0x0f,0x38,0xfc,0x18
# ATT: axorl %ebx, -512(,%ebp,2)
# INTEL: axor dword ptr [2*ebp - 512], ebx
0x67,0xf3,0x0f,0x38,0xfc,0x1c,0x6d,0x00,0xfe,0xff,0xff
# ATT: axorl %ebx, 2032(%ecx)
# INTEL: axor dword ptr [ecx + 2032], ebx
0x67,0xf3,0x0f,0x38,0xfc,0x99,0xf0,0x07,0x00,0x00
# ATT: axorl %ebx, -2048(%edx)
# INTEL: axor dword ptr [edx - 2048], ebx
0x67,0xf3,0x0f,0x38,0xfc,0x9a,0x00,0xf8,0xff,0xff
|