1# RUN: llvm-mc -triple x86_64 -disassemble %s | FileCheck %s --check-prefix=ATT 2# RUN: llvm-mc -triple x86_64 -disassemble -output-asm-variant=1 %s | FileCheck %s --check-prefix=INTEL 3 4# ATT: ctestbb {dfv=of} $123, 123(%r8,%rax,4) 5# INTEL: ctestb {dfv=of} byte ptr [r8 + 4*rax + 123], 123 60x62,0xd4,0x44,0x02,0xf6,0x44,0x80,0x7b,0x7b 7 8# ATT: ctestbw {dfv=of} $1234, 123(%r8,%rax,4) 9# INTEL: ctestb {dfv=of} word ptr [r8 + 4*rax + 123], 1234 100x62,0xd4,0x45,0x02,0xf7,0x44,0x80,0x7b,0xd2,0x04 11 12# ATT: ctestbl {dfv=of} $123456, 123(%r8,%rax,4) 13# INTEL: ctestb {dfv=of} dword ptr [r8 + 4*rax + 123], 123456 140x62,0xd4,0x44,0x02,0xf7,0x44,0x80,0x7b,0x40,0xe2,0x01,0x00 15 16# ATT: ctestbq {dfv=of} $123456, 123(%r8,%rax,4) 17# INTEL: ctestb {dfv=of} qword ptr [r8 + 4*rax + 123], 123456 180x62,0xd4,0xc4,0x02,0xf7,0x44,0x80,0x7b,0x40,0xe2,0x01,0x00 19 20# ATT: ctestbb {dfv=of} %bl, 123(%r8,%rax,4) 21# INTEL: ctestb {dfv=of} byte ptr [r8 + 4*rax + 123], bl 220x62,0xd4,0x44,0x02,0x84,0x5c,0x80,0x7b 23 24# ATT: ctestbw {dfv=of} %dx, 123(%r8,%rax,4) 25# INTEL: ctestb {dfv=of} word ptr [r8 + 4*rax + 123], dx 260x62,0xd4,0x45,0x02,0x85,0x54,0x80,0x7b 27 28# ATT: ctestbl {dfv=of} %ecx, 123(%r8,%rax,4) 29# INTEL: ctestb {dfv=of} dword ptr [r8 + 4*rax + 123], ecx 300x62,0xd4,0x44,0x02,0x85,0x4c,0x80,0x7b 31 32# ATT: ctestbq {dfv=of} %r9, 123(%r8,%rax,4) 33# INTEL: ctestb {dfv=of} qword ptr [r8 + 4*rax + 123], r9 340x62,0x54,0xc4,0x02,0x85,0x4c,0x80,0x7b 35 36# ATT: ctestbb {dfv=of} $123, %bl 37# INTEL: ctestb {dfv=of} bl, 123 380x62,0xf4,0x44,0x02,0xf6,0xc3,0x7b 39 40# ATT: ctestbw {dfv=of} $1234, %dx 41# INTEL: ctestb {dfv=of} dx, 1234 420x62,0xf4,0x45,0x02,0xf7,0xc2,0xd2,0x04 43 44# ATT: ctestbl {dfv=of} $123456, %ecx 45# INTEL: ctestb {dfv=of} ecx, 123456 460x62,0xf4,0x44,0x02,0xf7,0xc1,0x40,0xe2,0x01,0x00 47 48# ATT: ctestbq {dfv=of} $123456, %r9 49# INTEL: ctestb {dfv=of} r9, 123456 500x62,0xd4,0xc4,0x02,0xf7,0xc1,0x40,0xe2,0x01,0x00 51 52# ATT: ctestbb {dfv=of} %bl, %dl 53# INTEL: ctestb {dfv=of} dl, bl 540x62,0xf4,0x44,0x02,0x84,0xda 55 56# ATT: ctestbw {dfv=of} %dx, %ax 57# INTEL: ctestb {dfv=of} ax, dx 580x62,0xf4,0x45,0x02,0x85,0xd0 59 60# ATT: ctestbl {dfv=of} %ecx, %edx 61# INTEL: ctestb {dfv=of} edx, ecx 620x62,0xf4,0x44,0x02,0x85,0xca 63 64# ATT: ctestbq {dfv=of} %r9, %r15 65# INTEL: ctestb {dfv=of} r15, r9 660x62,0x54,0xc4,0x02,0x85,0xcf 67 68# ATT: ctestbeb {dfv=of} $123, 123(%r8,%rax,4) 69# INTEL: ctestbe {dfv=of} byte ptr [r8 + 4*rax + 123], 123 700x62,0xd4,0x44,0x06,0xf6,0x44,0x80,0x7b,0x7b 71 72# ATT: ctestbew {dfv=of} $1234, 123(%r8,%rax,4) 73# INTEL: ctestbe {dfv=of} word ptr [r8 + 4*rax + 123], 1234 740x62,0xd4,0x45,0x06,0xf7,0x44,0x80,0x7b,0xd2,0x04 75 76# ATT: ctestbel {dfv=of} $123456, 123(%r8,%rax,4) 77# INTEL: ctestbe {dfv=of} dword ptr [r8 + 4*rax + 123], 123456 780x62,0xd4,0x44,0x06,0xf7,0x44,0x80,0x7b,0x40,0xe2,0x01,0x00 79 80# ATT: ctestbeq {dfv=of} $123456, 123(%r8,%rax,4) 81# INTEL: ctestbe {dfv=of} qword ptr [r8 + 4*rax + 123], 123456 820x62,0xd4,0xc4,0x06,0xf7,0x44,0x80,0x7b,0x40,0xe2,0x01,0x00 83 84# ATT: ctestbeb {dfv=of} %bl, 123(%r8,%rax,4) 85# INTEL: ctestbe {dfv=of} byte ptr [r8 + 4*rax + 123], bl 860x62,0xd4,0x44,0x06,0x84,0x5c,0x80,0x7b 87 88# ATT: ctestbew {dfv=of} %dx, 123(%r8,%rax,4) 89# INTEL: ctestbe {dfv=of} word ptr [r8 + 4*rax + 123], dx 900x62,0xd4,0x45,0x06,0x85,0x54,0x80,0x7b 91 92# ATT: ctestbel {dfv=of} %ecx, 123(%r8,%rax,4) 93# INTEL: ctestbe {dfv=of} dword ptr [r8 + 4*rax + 123], ecx 940x62,0xd4,0x44,0x06,0x85,0x4c,0x80,0x7b 95 96# ATT: ctestbeq {dfv=of} %r9, 123(%r8,%rax,4) 97# INTEL: ctestbe {dfv=of} qword ptr [r8 + 4*rax + 123], r9 980x62,0x54,0xc4,0x06,0x85,0x4c,0x80,0x7b 99 100# ATT: ctestbeb {dfv=of} $123, %bl 101# INTEL: ctestbe {dfv=of} bl, 123 1020x62,0xf4,0x44,0x06,0xf6,0xc3,0x7b 103 104# ATT: ctestbew {dfv=of} $1234, %dx 105# INTEL: ctestbe {dfv=of} dx, 1234 1060x62,0xf4,0x45,0x06,0xf7,0xc2,0xd2,0x04 107 108# ATT: ctestbel {dfv=of} $123456, %ecx 109# INTEL: ctestbe {dfv=of} ecx, 123456 1100x62,0xf4,0x44,0x06,0xf7,0xc1,0x40,0xe2,0x01,0x00 111 112# ATT: ctestbeq {dfv=of} $123456, %r9 113# INTEL: ctestbe {dfv=of} r9, 123456 1140x62,0xd4,0xc4,0x06,0xf7,0xc1,0x40,0xe2,0x01,0x00 115 116# ATT: ctestbeb {dfv=of} %bl, %dl 117# INTEL: ctestbe {dfv=of} dl, bl 1180x62,0xf4,0x44,0x06,0x84,0xda 119 120# ATT: ctestbew {dfv=of} %dx, %ax 121# INTEL: ctestbe {dfv=of} ax, dx 1220x62,0xf4,0x45,0x06,0x85,0xd0 123 124# ATT: ctestbel {dfv=of} %ecx, %edx 125# INTEL: ctestbe {dfv=of} edx, ecx 1260x62,0xf4,0x44,0x06,0x85,0xca 127 128# ATT: ctestbeq {dfv=of} %r9, %r15 129# INTEL: ctestbe {dfv=of} r15, r9 1300x62,0x54,0xc4,0x06,0x85,0xcf 131 132# ATT: ctestfb {dfv=of} $123, 123(%r8,%rax,4) 133# INTEL: ctestf {dfv=of} byte ptr [r8 + 4*rax + 123], 123 1340x62,0xd4,0x44,0x0b,0xf6,0x44,0x80,0x7b,0x7b 135 136# ATT: ctestfw {dfv=of} $1234, 123(%r8,%rax,4) 137# INTEL: ctestf {dfv=of} word ptr [r8 + 4*rax + 123], 1234 1380x62,0xd4,0x45,0x0b,0xf7,0x44,0x80,0x7b,0xd2,0x04 139 140# ATT: ctestfl {dfv=of} $123456, 123(%r8,%rax,4) 141# INTEL: ctestf {dfv=of} dword ptr [r8 + 4*rax + 123], 123456 1420x62,0xd4,0x44,0x0b,0xf7,0x44,0x80,0x7b,0x40,0xe2,0x01,0x00 143 144# ATT: ctestfq {dfv=of} $123456, 123(%r8,%rax,4) 145# INTEL: ctestf {dfv=of} qword ptr [r8 + 4*rax + 123], 123456 1460x62,0xd4,0xc4,0x0b,0xf7,0x44,0x80,0x7b,0x40,0xe2,0x01,0x00 147 148# ATT: ctestfb {dfv=of} %bl, 123(%r8,%rax,4) 149# INTEL: ctestf {dfv=of} byte ptr [r8 + 4*rax + 123], bl 1500x62,0xd4,0x44,0x0b,0x84,0x5c,0x80,0x7b 151 152# ATT: ctestfw {dfv=of} %dx, 123(%r8,%rax,4) 153# INTEL: ctestf {dfv=of} word ptr [r8 + 4*rax + 123], dx 1540x62,0xd4,0x45,0x0b,0x85,0x54,0x80,0x7b 155 156# ATT: ctestfl {dfv=of} %ecx, 123(%r8,%rax,4) 157# INTEL: ctestf {dfv=of} dword ptr [r8 + 4*rax + 123], ecx 1580x62,0xd4,0x44,0x0b,0x85,0x4c,0x80,0x7b 159 160# ATT: ctestfq {dfv=of} %r9, 123(%r8,%rax,4) 161# INTEL: ctestf {dfv=of} qword ptr [r8 + 4*rax + 123], r9 1620x62,0x54,0xc4,0x0b,0x85,0x4c,0x80,0x7b 163 164# ATT: ctestfb {dfv=of} $123, %bl 165# INTEL: ctestf {dfv=of} bl, 123 1660x62,0xf4,0x44,0x0b,0xf6,0xc3,0x7b 167 168# ATT: ctestfw {dfv=of} $1234, %dx 169# INTEL: ctestf {dfv=of} dx, 1234 1700x62,0xf4,0x45,0x0b,0xf7,0xc2,0xd2,0x04 171 172# ATT: ctestfl {dfv=of} $123456, %ecx 173# INTEL: ctestf {dfv=of} ecx, 123456 1740x62,0xf4,0x44,0x0b,0xf7,0xc1,0x40,0xe2,0x01,0x00 175 176# ATT: ctestfq {dfv=of} $123456, %r9 177# INTEL: ctestf {dfv=of} r9, 123456 1780x62,0xd4,0xc4,0x0b,0xf7,0xc1,0x40,0xe2,0x01,0x00 179 180# ATT: ctestfb {dfv=of} %bl, %dl 181# INTEL: ctestf {dfv=of} dl, bl 1820x62,0xf4,0x44,0x0b,0x84,0xda 183 184# ATT: ctestfw {dfv=of} %dx, %ax 185# INTEL: ctestf {dfv=of} ax, dx 1860x62,0xf4,0x45,0x0b,0x85,0xd0 187 188# ATT: ctestfl {dfv=of} %ecx, %edx 189# INTEL: ctestf {dfv=of} edx, ecx 1900x62,0xf4,0x44,0x0b,0x85,0xca 191 192# ATT: ctestfq {dfv=of} %r9, %r15 193# INTEL: ctestf {dfv=of} r15, r9 1940x62,0x54,0xc4,0x0b,0x85,0xcf 195 196# ATT: ctestlb {dfv=of} $123, 123(%r8,%rax,4) 197# INTEL: ctestl {dfv=of} byte ptr [r8 + 4*rax + 123], 123 1980x62,0xd4,0x44,0x0c,0xf6,0x44,0x80,0x7b,0x7b 199 200# ATT: ctestlw {dfv=of} $1234, 123(%r8,%rax,4) 201# INTEL: ctestl {dfv=of} word ptr [r8 + 4*rax + 123], 1234 2020x62,0xd4,0x45,0x0c,0xf7,0x44,0x80,0x7b,0xd2,0x04 203 204# ATT: ctestll {dfv=of} $123456, 123(%r8,%rax,4) 205# INTEL: ctestl {dfv=of} dword ptr [r8 + 4*rax + 123], 123456 2060x62,0xd4,0x44,0x0c,0xf7,0x44,0x80,0x7b,0x40,0xe2,0x01,0x00 207 208# ATT: ctestlq {dfv=of} $123456, 123(%r8,%rax,4) 209# INTEL: ctestl {dfv=of} qword ptr [r8 + 4*rax + 123], 123456 2100x62,0xd4,0xc4,0x0c,0xf7,0x44,0x80,0x7b,0x40,0xe2,0x01,0x00 211 212# ATT: ctestlb {dfv=of} %bl, 123(%r8,%rax,4) 213# INTEL: ctestl {dfv=of} byte ptr [r8 + 4*rax + 123], bl 2140x62,0xd4,0x44,0x0c,0x84,0x5c,0x80,0x7b 215 216# ATT: ctestlw {dfv=of} %dx, 123(%r8,%rax,4) 217# INTEL: ctestl {dfv=of} word ptr [r8 + 4*rax + 123], dx 2180x62,0xd4,0x45,0x0c,0x85,0x54,0x80,0x7b 219 220# ATT: ctestll {dfv=of} %ecx, 123(%r8,%rax,4) 221# INTEL: ctestl {dfv=of} dword ptr [r8 + 4*rax + 123], ecx 2220x62,0xd4,0x44,0x0c,0x85,0x4c,0x80,0x7b 223 224# ATT: ctestlq {dfv=of} %r9, 123(%r8,%rax,4) 225# INTEL: ctestl {dfv=of} qword ptr [r8 + 4*rax + 123], r9 2260x62,0x54,0xc4,0x0c,0x85,0x4c,0x80,0x7b 227 228# ATT: ctestlb {dfv=of} $123, %bl 229# INTEL: ctestl {dfv=of} bl, 123 2300x62,0xf4,0x44,0x0c,0xf6,0xc3,0x7b 231 232# ATT: ctestlw {dfv=of} $1234, %dx 233# INTEL: ctestl {dfv=of} dx, 1234 2340x62,0xf4,0x45,0x0c,0xf7,0xc2,0xd2,0x04 235 236# ATT: ctestll {dfv=of} $123456, %ecx 237# INTEL: ctestl {dfv=of} ecx, 123456 2380x62,0xf4,0x44,0x0c,0xf7,0xc1,0x40,0xe2,0x01,0x00 239 240# ATT: ctestlq {dfv=of} $123456, %r9 241# INTEL: ctestl {dfv=of} r9, 123456 2420x62,0xd4,0xc4,0x0c,0xf7,0xc1,0x40,0xe2,0x01,0x00 243 244# ATT: ctestlb {dfv=of} %bl, %dl 245# INTEL: ctestl {dfv=of} dl, bl 2460x62,0xf4,0x44,0x0c,0x84,0xda 247 248# ATT: ctestlw {dfv=of} %dx, %ax 249# INTEL: ctestl {dfv=of} ax, dx 2500x62,0xf4,0x45,0x0c,0x85,0xd0 251 252# ATT: ctestll {dfv=of} %ecx, %edx 253# INTEL: ctestl {dfv=of} edx, ecx 2540x62,0xf4,0x44,0x0c,0x85,0xca 255 256# ATT: ctestlq {dfv=of} %r9, %r15 257# INTEL: ctestl {dfv=of} r15, r9 2580x62,0x54,0xc4,0x0c,0x85,0xcf 259 260# ATT: ctestleb {dfv=of} $123, 123(%r8,%rax,4) 261# INTEL: ctestle {dfv=of} byte ptr [r8 + 4*rax + 123], 123 2620x62,0xd4,0x44,0x0e,0xf6,0x44,0x80,0x7b,0x7b 263 264# ATT: ctestlew {dfv=of} $1234, 123(%r8,%rax,4) 265# INTEL: ctestle {dfv=of} word ptr [r8 + 4*rax + 123], 1234 2660x62,0xd4,0x45,0x0e,0xf7,0x44,0x80,0x7b,0xd2,0x04 267 268# ATT: ctestlel {dfv=of} $123456, 123(%r8,%rax,4) 269# INTEL: ctestle {dfv=of} dword ptr [r8 + 4*rax + 123], 123456 2700x62,0xd4,0x44,0x0e,0xf7,0x44,0x80,0x7b,0x40,0xe2,0x01,0x00 271 272# ATT: ctestleq {dfv=of} $123456, 123(%r8,%rax,4) 273# INTEL: ctestle {dfv=of} qword ptr [r8 + 4*rax + 123], 123456 2740x62,0xd4,0xc4,0x0e,0xf7,0x44,0x80,0x7b,0x40,0xe2,0x01,0x00 275 276# ATT: ctestleb {dfv=of} %bl, 123(%r8,%rax,4) 277# INTEL: ctestle {dfv=of} byte ptr [r8 + 4*rax + 123], bl 2780x62,0xd4,0x44,0x0e,0x84,0x5c,0x80,0x7b 279 280# ATT: ctestlew {dfv=of} %dx, 123(%r8,%rax,4) 281# INTEL: ctestle {dfv=of} word ptr [r8 + 4*rax + 123], dx 2820x62,0xd4,0x45,0x0e,0x85,0x54,0x80,0x7b 283 284# ATT: ctestlel {dfv=of} %ecx, 123(%r8,%rax,4) 285# INTEL: ctestle {dfv=of} dword ptr [r8 + 4*rax + 123], ecx 2860x62,0xd4,0x44,0x0e,0x85,0x4c,0x80,0x7b 287 288# ATT: ctestleq {dfv=of} %r9, 123(%r8,%rax,4) 289# INTEL: ctestle {dfv=of} qword ptr [r8 + 4*rax + 123], r9 2900x62,0x54,0xc4,0x0e,0x85,0x4c,0x80,0x7b 291 292# ATT: ctestleb {dfv=of} $123, %bl 293# INTEL: ctestle {dfv=of} bl, 123 2940x62,0xf4,0x44,0x0e,0xf6,0xc3,0x7b 295 296# ATT: ctestlew {dfv=of} $1234, %dx 297# INTEL: ctestle {dfv=of} dx, 1234 2980x62,0xf4,0x45,0x0e,0xf7,0xc2,0xd2,0x04 299 300# ATT: ctestlel {dfv=of} $123456, %ecx 301# INTEL: ctestle {dfv=of} ecx, 123456 3020x62,0xf4,0x44,0x0e,0xf7,0xc1,0x40,0xe2,0x01,0x00 303 304# ATT: ctestleq {dfv=of} $123456, %r9 305# INTEL: ctestle {dfv=of} r9, 123456 3060x62,0xd4,0xc4,0x0e,0xf7,0xc1,0x40,0xe2,0x01,0x00 307 308# ATT: ctestleb {dfv=of} %bl, %dl 309# INTEL: ctestle {dfv=of} dl, bl 3100x62,0xf4,0x44,0x0e,0x84,0xda 311 312# ATT: ctestlew {dfv=of} %dx, %ax 313# INTEL: ctestle {dfv=of} ax, dx 3140x62,0xf4,0x45,0x0e,0x85,0xd0 315 316# ATT: ctestlel {dfv=of} %ecx, %edx 317# INTEL: ctestle {dfv=of} edx, ecx 3180x62,0xf4,0x44,0x0e,0x85,0xca 319 320# ATT: ctestleq {dfv=of} %r9, %r15 321# INTEL: ctestle {dfv=of} r15, r9 3220x62,0x54,0xc4,0x0e,0x85,0xcf 323 324# ATT: ctestaeb {dfv=of} $123, 123(%r8,%rax,4) 325# INTEL: ctestae {dfv=of} byte ptr [r8 + 4*rax + 123], 123 3260x62,0xd4,0x44,0x03,0xf6,0x44,0x80,0x7b,0x7b 327 328# ATT: ctestaew {dfv=of} $1234, 123(%r8,%rax,4) 329# INTEL: ctestae {dfv=of} word ptr [r8 + 4*rax + 123], 1234 3300x62,0xd4,0x45,0x03,0xf7,0x44,0x80,0x7b,0xd2,0x04 331 332# ATT: ctestael {dfv=of} $123456, 123(%r8,%rax,4) 333# INTEL: ctestae {dfv=of} dword ptr [r8 + 4*rax + 123], 123456 3340x62,0xd4,0x44,0x03,0xf7,0x44,0x80,0x7b,0x40,0xe2,0x01,0x00 335 336# ATT: ctestaeq {dfv=of} $123456, 123(%r8,%rax,4) 337# INTEL: ctestae {dfv=of} qword ptr [r8 + 4*rax + 123], 123456 3380x62,0xd4,0xc4,0x03,0xf7,0x44,0x80,0x7b,0x40,0xe2,0x01,0x00 339 340# ATT: ctestaeb {dfv=of} %bl, 123(%r8,%rax,4) 341# INTEL: ctestae {dfv=of} byte ptr [r8 + 4*rax + 123], bl 3420x62,0xd4,0x44,0x03,0x84,0x5c,0x80,0x7b 343 344# ATT: ctestaew {dfv=of} %dx, 123(%r8,%rax,4) 345# INTEL: ctestae {dfv=of} word ptr [r8 + 4*rax + 123], dx 3460x62,0xd4,0x45,0x03,0x85,0x54,0x80,0x7b 347 348# ATT: ctestael {dfv=of} %ecx, 123(%r8,%rax,4) 349# INTEL: ctestae {dfv=of} dword ptr [r8 + 4*rax + 123], ecx 3500x62,0xd4,0x44,0x03,0x85,0x4c,0x80,0x7b 351 352# ATT: ctestaeq {dfv=of} %r9, 123(%r8,%rax,4) 353# INTEL: ctestae {dfv=of} qword ptr [r8 + 4*rax + 123], r9 3540x62,0x54,0xc4,0x03,0x85,0x4c,0x80,0x7b 355 356# ATT: ctestaeb {dfv=of} $123, %bl 357# INTEL: ctestae {dfv=of} bl, 123 3580x62,0xf4,0x44,0x03,0xf6,0xc3,0x7b 359 360# ATT: ctestaew {dfv=of} $1234, %dx 361# INTEL: ctestae {dfv=of} dx, 1234 3620x62,0xf4,0x45,0x03,0xf7,0xc2,0xd2,0x04 363 364# ATT: ctestael {dfv=of} $123456, %ecx 365# INTEL: ctestae {dfv=of} ecx, 123456 3660x62,0xf4,0x44,0x03,0xf7,0xc1,0x40,0xe2,0x01,0x00 367 368# ATT: ctestaeq {dfv=of} $123456, %r9 369# INTEL: ctestae {dfv=of} r9, 123456 3700x62,0xd4,0xc4,0x03,0xf7,0xc1,0x40,0xe2,0x01,0x00 371 372# ATT: ctestaeb {dfv=of} %bl, %dl 373# INTEL: ctestae {dfv=of} dl, bl 3740x62,0xf4,0x44,0x03,0x84,0xda 375 376# ATT: ctestaew {dfv=of} %dx, %ax 377# INTEL: ctestae {dfv=of} ax, dx 3780x62,0xf4,0x45,0x03,0x85,0xd0 379 380# ATT: ctestael {dfv=of} %ecx, %edx 381# INTEL: ctestae {dfv=of} edx, ecx 3820x62,0xf4,0x44,0x03,0x85,0xca 383 384# ATT: ctestaeq {dfv=of} %r9, %r15 385# INTEL: ctestae {dfv=of} r15, r9 3860x62,0x54,0xc4,0x03,0x85,0xcf 387 388# ATT: ctestab {dfv=of} $123, 123(%r8,%rax,4) 389# INTEL: ctesta {dfv=of} byte ptr [r8 + 4*rax + 123], 123 3900x62,0xd4,0x44,0x07,0xf6,0x44,0x80,0x7b,0x7b 391 392# ATT: ctestaw {dfv=of} $1234, 123(%r8,%rax,4) 393# INTEL: ctesta {dfv=of} word ptr [r8 + 4*rax + 123], 1234 3940x62,0xd4,0x45,0x07,0xf7,0x44,0x80,0x7b,0xd2,0x04 395 396# ATT: ctestal {dfv=of} $123456, 123(%r8,%rax,4) 397# INTEL: ctesta {dfv=of} dword ptr [r8 + 4*rax + 123], 123456 3980x62,0xd4,0x44,0x07,0xf7,0x44,0x80,0x7b,0x40,0xe2,0x01,0x00 399 400# ATT: ctestaq {dfv=of} $123456, 123(%r8,%rax,4) 401# INTEL: ctesta {dfv=of} qword ptr [r8 + 4*rax + 123], 123456 4020x62,0xd4,0xc4,0x07,0xf7,0x44,0x80,0x7b,0x40,0xe2,0x01,0x00 403 404# ATT: ctestab {dfv=of} %bl, 123(%r8,%rax,4) 405# INTEL: ctesta {dfv=of} byte ptr [r8 + 4*rax + 123], bl 4060x62,0xd4,0x44,0x07,0x84,0x5c,0x80,0x7b 407 408# ATT: ctestaw {dfv=of} %dx, 123(%r8,%rax,4) 409# INTEL: ctesta {dfv=of} word ptr [r8 + 4*rax + 123], dx 4100x62,0xd4,0x45,0x07,0x85,0x54,0x80,0x7b 411 412# ATT: ctestal {dfv=of} %ecx, 123(%r8,%rax,4) 413# INTEL: ctesta {dfv=of} dword ptr [r8 + 4*rax + 123], ecx 4140x62,0xd4,0x44,0x07,0x85,0x4c,0x80,0x7b 415 416# ATT: ctestaq {dfv=of} %r9, 123(%r8,%rax,4) 417# INTEL: ctesta {dfv=of} qword ptr [r8 + 4*rax + 123], r9 4180x62,0x54,0xc4,0x07,0x85,0x4c,0x80,0x7b 419 420# ATT: ctestab {dfv=of} $123, %bl 421# INTEL: ctesta {dfv=of} bl, 123 4220x62,0xf4,0x44,0x07,0xf6,0xc3,0x7b 423 424# ATT: ctestaw {dfv=of} $1234, %dx 425# INTEL: ctesta {dfv=of} dx, 1234 4260x62,0xf4,0x45,0x07,0xf7,0xc2,0xd2,0x04 427 428# ATT: ctestal {dfv=of} $123456, %ecx 429# INTEL: ctesta {dfv=of} ecx, 123456 4300x62,0xf4,0x44,0x07,0xf7,0xc1,0x40,0xe2,0x01,0x00 431 432# ATT: ctestaq {dfv=of} $123456, %r9 433# INTEL: ctesta {dfv=of} r9, 123456 4340x62,0xd4,0xc4,0x07,0xf7,0xc1,0x40,0xe2,0x01,0x00 435 436# ATT: ctestab {dfv=of} %bl, %dl 437# INTEL: ctesta {dfv=of} dl, bl 4380x62,0xf4,0x44,0x07,0x84,0xda 439 440# ATT: ctestaw {dfv=of} %dx, %ax 441# INTEL: ctesta {dfv=of} ax, dx 4420x62,0xf4,0x45,0x07,0x85,0xd0 443 444# ATT: ctestal {dfv=of} %ecx, %edx 445# INTEL: ctesta {dfv=of} edx, ecx 4460x62,0xf4,0x44,0x07,0x85,0xca 447 448# ATT: ctestaq {dfv=of} %r9, %r15 449# INTEL: ctesta {dfv=of} r15, r9 4500x62,0x54,0xc4,0x07,0x85,0xcf 451 452# ATT: ctestgeb {dfv=of} $123, 123(%r8,%rax,4) 453# INTEL: ctestge {dfv=of} byte ptr [r8 + 4*rax + 123], 123 4540x62,0xd4,0x44,0x0d,0xf6,0x44,0x80,0x7b,0x7b 455 456# ATT: ctestgew {dfv=of} $1234, 123(%r8,%rax,4) 457# INTEL: ctestge {dfv=of} word ptr [r8 + 4*rax + 123], 1234 4580x62,0xd4,0x45,0x0d,0xf7,0x44,0x80,0x7b,0xd2,0x04 459 460# ATT: ctestgel {dfv=of} $123456, 123(%r8,%rax,4) 461# INTEL: ctestge {dfv=of} dword ptr [r8 + 4*rax + 123], 123456 4620x62,0xd4,0x44,0x0d,0xf7,0x44,0x80,0x7b,0x40,0xe2,0x01,0x00 463 464# ATT: ctestgeq {dfv=of} $123456, 123(%r8,%rax,4) 465# INTEL: ctestge {dfv=of} qword ptr [r8 + 4*rax + 123], 123456 4660x62,0xd4,0xc4,0x0d,0xf7,0x44,0x80,0x7b,0x40,0xe2,0x01,0x00 467 468# ATT: ctestgeb {dfv=of} %bl, 123(%r8,%rax,4) 469# INTEL: ctestge {dfv=of} byte ptr [r8 + 4*rax + 123], bl 4700x62,0xd4,0x44,0x0d,0x84,0x5c,0x80,0x7b 471 472# ATT: ctestgew {dfv=of} %dx, 123(%r8,%rax,4) 473# INTEL: ctestge {dfv=of} word ptr [r8 + 4*rax + 123], dx 4740x62,0xd4,0x45,0x0d,0x85,0x54,0x80,0x7b 475 476# ATT: ctestgel {dfv=of} %ecx, 123(%r8,%rax,4) 477# INTEL: ctestge {dfv=of} dword ptr [r8 + 4*rax + 123], ecx 4780x62,0xd4,0x44,0x0d,0x85,0x4c,0x80,0x7b 479 480# ATT: ctestgeq {dfv=of} %r9, 123(%r8,%rax,4) 481# INTEL: ctestge {dfv=of} qword ptr [r8 + 4*rax + 123], r9 4820x62,0x54,0xc4,0x0d,0x85,0x4c,0x80,0x7b 483 484# ATT: ctestgeb {dfv=of} $123, %bl 485# INTEL: ctestge {dfv=of} bl, 123 4860x62,0xf4,0x44,0x0d,0xf6,0xc3,0x7b 487 488# ATT: ctestgew {dfv=of} $1234, %dx 489# INTEL: ctestge {dfv=of} dx, 1234 4900x62,0xf4,0x45,0x0d,0xf7,0xc2,0xd2,0x04 491 492# ATT: ctestgel {dfv=of} $123456, %ecx 493# INTEL: ctestge {dfv=of} ecx, 123456 4940x62,0xf4,0x44,0x0d,0xf7,0xc1,0x40,0xe2,0x01,0x00 495 496# ATT: ctestgeq {dfv=of} $123456, %r9 497# INTEL: ctestge {dfv=of} r9, 123456 4980x62,0xd4,0xc4,0x0d,0xf7,0xc1,0x40,0xe2,0x01,0x00 499 500# ATT: ctestgeb {dfv=of} %bl, %dl 501# INTEL: ctestge {dfv=of} dl, bl 5020x62,0xf4,0x44,0x0d,0x84,0xda 503 504# ATT: ctestgew {dfv=of} %dx, %ax 505# INTEL: ctestge {dfv=of} ax, dx 5060x62,0xf4,0x45,0x0d,0x85,0xd0 507 508# ATT: ctestgel {dfv=of} %ecx, %edx 509# INTEL: ctestge {dfv=of} edx, ecx 5100x62,0xf4,0x44,0x0d,0x85,0xca 511 512# ATT: ctestgeq {dfv=of} %r9, %r15 513# INTEL: ctestge {dfv=of} r15, r9 5140x62,0x54,0xc4,0x0d,0x85,0xcf 515 516# ATT: ctestgb {dfv=of} $123, 123(%r8,%rax,4) 517# INTEL: ctestg {dfv=of} byte ptr [r8 + 4*rax + 123], 123 5180x62,0xd4,0x44,0x0f,0xf6,0x44,0x80,0x7b,0x7b 519 520# ATT: ctestgw {dfv=of} $1234, 123(%r8,%rax,4) 521# INTEL: ctestg {dfv=of} word ptr [r8 + 4*rax + 123], 1234 5220x62,0xd4,0x45,0x0f,0xf7,0x44,0x80,0x7b,0xd2,0x04 523 524# ATT: ctestgl {dfv=of} $123456, 123(%r8,%rax,4) 525# INTEL: ctestg {dfv=of} dword ptr [r8 + 4*rax + 123], 123456 5260x62,0xd4,0x44,0x0f,0xf7,0x44,0x80,0x7b,0x40,0xe2,0x01,0x00 527 528# ATT: ctestgq {dfv=of} $123456, 123(%r8,%rax,4) 529# INTEL: ctestg {dfv=of} qword ptr [r8 + 4*rax + 123], 123456 5300x62,0xd4,0xc4,0x0f,0xf7,0x44,0x80,0x7b,0x40,0xe2,0x01,0x00 531 532# ATT: ctestgb {dfv=of} %bl, 123(%r8,%rax,4) 533# INTEL: ctestg {dfv=of} byte ptr [r8 + 4*rax + 123], bl 5340x62,0xd4,0x44,0x0f,0x84,0x5c,0x80,0x7b 535 536# ATT: ctestgw {dfv=of} %dx, 123(%r8,%rax,4) 537# INTEL: ctestg {dfv=of} word ptr [r8 + 4*rax + 123], dx 5380x62,0xd4,0x45,0x0f,0x85,0x54,0x80,0x7b 539 540# ATT: ctestgl {dfv=of} %ecx, 123(%r8,%rax,4) 541# INTEL: ctestg {dfv=of} dword ptr [r8 + 4*rax + 123], ecx 5420x62,0xd4,0x44,0x0f,0x85,0x4c,0x80,0x7b 543 544# ATT: ctestgq {dfv=of} %r9, 123(%r8,%rax,4) 545# INTEL: ctestg {dfv=of} qword ptr [r8 + 4*rax + 123], r9 5460x62,0x54,0xc4,0x0f,0x85,0x4c,0x80,0x7b 547 548# ATT: ctestgb {dfv=of} $123, %bl 549# INTEL: ctestg {dfv=of} bl, 123 5500x62,0xf4,0x44,0x0f,0xf6,0xc3,0x7b 551 552# ATT: ctestgw {dfv=of} $1234, %dx 553# INTEL: ctestg {dfv=of} dx, 1234 5540x62,0xf4,0x45,0x0f,0xf7,0xc2,0xd2,0x04 555 556# ATT: ctestgl {dfv=of} $123456, %ecx 557# INTEL: ctestg {dfv=of} ecx, 123456 5580x62,0xf4,0x44,0x0f,0xf7,0xc1,0x40,0xe2,0x01,0x00 559 560# ATT: ctestgq {dfv=of} $123456, %r9 561# INTEL: ctestg {dfv=of} r9, 123456 5620x62,0xd4,0xc4,0x0f,0xf7,0xc1,0x40,0xe2,0x01,0x00 563 564# ATT: ctestgb {dfv=of} %bl, %dl 565# INTEL: ctestg {dfv=of} dl, bl 5660x62,0xf4,0x44,0x0f,0x84,0xda 567 568# ATT: ctestgw {dfv=of} %dx, %ax 569# INTEL: ctestg {dfv=of} ax, dx 5700x62,0xf4,0x45,0x0f,0x85,0xd0 571 572# ATT: ctestgl {dfv=of} %ecx, %edx 573# INTEL: ctestg {dfv=of} edx, ecx 5740x62,0xf4,0x44,0x0f,0x85,0xca 575 576# ATT: ctestgq {dfv=of} %r9, %r15 577# INTEL: ctestg {dfv=of} r15, r9 5780x62,0x54,0xc4,0x0f,0x85,0xcf 579 580# ATT: ctestnob {dfv=of} $123, 123(%r8,%rax,4) 581# INTEL: ctestno {dfv=of} byte ptr [r8 + 4*rax + 123], 123 5820x62,0xd4,0x44,0x01,0xf6,0x44,0x80,0x7b,0x7b 583 584# ATT: ctestnow {dfv=of} $1234, 123(%r8,%rax,4) 585# INTEL: ctestno {dfv=of} word ptr [r8 + 4*rax + 123], 1234 5860x62,0xd4,0x45,0x01,0xf7,0x44,0x80,0x7b,0xd2,0x04 587 588# ATT: ctestnol {dfv=of} $123456, 123(%r8,%rax,4) 589# INTEL: ctestno {dfv=of} dword ptr [r8 + 4*rax + 123], 123456 5900x62,0xd4,0x44,0x01,0xf7,0x44,0x80,0x7b,0x40,0xe2,0x01,0x00 591 592# ATT: ctestnoq {dfv=of} $123456, 123(%r8,%rax,4) 593# INTEL: ctestno {dfv=of} qword ptr [r8 + 4*rax + 123], 123456 5940x62,0xd4,0xc4,0x01,0xf7,0x44,0x80,0x7b,0x40,0xe2,0x01,0x00 595 596# ATT: ctestnob {dfv=of} %bl, 123(%r8,%rax,4) 597# INTEL: ctestno {dfv=of} byte ptr [r8 + 4*rax + 123], bl 5980x62,0xd4,0x44,0x01,0x84,0x5c,0x80,0x7b 599 600# ATT: ctestnow {dfv=of} %dx, 123(%r8,%rax,4) 601# INTEL: ctestno {dfv=of} word ptr [r8 + 4*rax + 123], dx 6020x62,0xd4,0x45,0x01,0x85,0x54,0x80,0x7b 603 604# ATT: ctestnol {dfv=of} %ecx, 123(%r8,%rax,4) 605# INTEL: ctestno {dfv=of} dword ptr [r8 + 4*rax + 123], ecx 6060x62,0xd4,0x44,0x01,0x85,0x4c,0x80,0x7b 607 608# ATT: ctestnoq {dfv=of} %r9, 123(%r8,%rax,4) 609# INTEL: ctestno {dfv=of} qword ptr [r8 + 4*rax + 123], r9 6100x62,0x54,0xc4,0x01,0x85,0x4c,0x80,0x7b 611 612# ATT: ctestnob {dfv=of} $123, %bl 613# INTEL: ctestno {dfv=of} bl, 123 6140x62,0xf4,0x44,0x01,0xf6,0xc3,0x7b 615 616# ATT: ctestnow {dfv=of} $1234, %dx 617# INTEL: ctestno {dfv=of} dx, 1234 6180x62,0xf4,0x45,0x01,0xf7,0xc2,0xd2,0x04 619 620# ATT: ctestnol {dfv=of} $123456, %ecx 621# INTEL: ctestno {dfv=of} ecx, 123456 6220x62,0xf4,0x44,0x01,0xf7,0xc1,0x40,0xe2,0x01,0x00 623 624# ATT: ctestnoq {dfv=of} $123456, %r9 625# INTEL: ctestno {dfv=of} r9, 123456 6260x62,0xd4,0xc4,0x01,0xf7,0xc1,0x40,0xe2,0x01,0x00 627 628# ATT: ctestnob {dfv=of} %bl, %dl 629# INTEL: ctestno {dfv=of} dl, bl 6300x62,0xf4,0x44,0x01,0x84,0xda 631 632# ATT: ctestnow {dfv=of} %dx, %ax 633# INTEL: ctestno {dfv=of} ax, dx 6340x62,0xf4,0x45,0x01,0x85,0xd0 635 636# ATT: ctestnol {dfv=of} %ecx, %edx 637# INTEL: ctestno {dfv=of} edx, ecx 6380x62,0xf4,0x44,0x01,0x85,0xca 639 640# ATT: ctestnoq {dfv=of} %r9, %r15 641# INTEL: ctestno {dfv=of} r15, r9 6420x62,0x54,0xc4,0x01,0x85,0xcf 643 644# ATT: ctestnsb {dfv=of} $123, 123(%r8,%rax,4) 645# INTEL: ctestns {dfv=of} byte ptr [r8 + 4*rax + 123], 123 6460x62,0xd4,0x44,0x09,0xf6,0x44,0x80,0x7b,0x7b 647 648# ATT: ctestnsw {dfv=of} $1234, 123(%r8,%rax,4) 649# INTEL: ctestns {dfv=of} word ptr [r8 + 4*rax + 123], 1234 6500x62,0xd4,0x45,0x09,0xf7,0x44,0x80,0x7b,0xd2,0x04 651 652# ATT: ctestnsl {dfv=of} $123456, 123(%r8,%rax,4) 653# INTEL: ctestns {dfv=of} dword ptr [r8 + 4*rax + 123], 123456 6540x62,0xd4,0x44,0x09,0xf7,0x44,0x80,0x7b,0x40,0xe2,0x01,0x00 655 656# ATT: ctestnsq {dfv=of} $123456, 123(%r8,%rax,4) 657# INTEL: ctestns {dfv=of} qword ptr [r8 + 4*rax + 123], 123456 6580x62,0xd4,0xc4,0x09,0xf7,0x44,0x80,0x7b,0x40,0xe2,0x01,0x00 659 660# ATT: ctestnsb {dfv=of} %bl, 123(%r8,%rax,4) 661# INTEL: ctestns {dfv=of} byte ptr [r8 + 4*rax + 123], bl 6620x62,0xd4,0x44,0x09,0x84,0x5c,0x80,0x7b 663 664# ATT: ctestnsw {dfv=of} %dx, 123(%r8,%rax,4) 665# INTEL: ctestns {dfv=of} word ptr [r8 + 4*rax + 123], dx 6660x62,0xd4,0x45,0x09,0x85,0x54,0x80,0x7b 667 668# ATT: ctestnsl {dfv=of} %ecx, 123(%r8,%rax,4) 669# INTEL: ctestns {dfv=of} dword ptr [r8 + 4*rax + 123], ecx 6700x62,0xd4,0x44,0x09,0x85,0x4c,0x80,0x7b 671 672# ATT: ctestnsq {dfv=of} %r9, 123(%r8,%rax,4) 673# INTEL: ctestns {dfv=of} qword ptr [r8 + 4*rax + 123], r9 6740x62,0x54,0xc4,0x09,0x85,0x4c,0x80,0x7b 675 676# ATT: ctestnsb {dfv=of} $123, %bl 677# INTEL: ctestns {dfv=of} bl, 123 6780x62,0xf4,0x44,0x09,0xf6,0xc3,0x7b 679 680# ATT: ctestnsw {dfv=of} $1234, %dx 681# INTEL: ctestns {dfv=of} dx, 1234 6820x62,0xf4,0x45,0x09,0xf7,0xc2,0xd2,0x04 683 684# ATT: ctestnsl {dfv=of} $123456, %ecx 685# INTEL: ctestns {dfv=of} ecx, 123456 6860x62,0xf4,0x44,0x09,0xf7,0xc1,0x40,0xe2,0x01,0x00 687 688# ATT: ctestnsq {dfv=of} $123456, %r9 689# INTEL: ctestns {dfv=of} r9, 123456 6900x62,0xd4,0xc4,0x09,0xf7,0xc1,0x40,0xe2,0x01,0x00 691 692# ATT: ctestnsb {dfv=of} %bl, %dl 693# INTEL: ctestns {dfv=of} dl, bl 6940x62,0xf4,0x44,0x09,0x84,0xda 695 696# ATT: ctestnsw {dfv=of} %dx, %ax 697# INTEL: ctestns {dfv=of} ax, dx 6980x62,0xf4,0x45,0x09,0x85,0xd0 699 700# ATT: ctestnsl {dfv=of} %ecx, %edx 701# INTEL: ctestns {dfv=of} edx, ecx 7020x62,0xf4,0x44,0x09,0x85,0xca 703 704# ATT: ctestnsq {dfv=of} %r9, %r15 705# INTEL: ctestns {dfv=of} r15, r9 7060x62,0x54,0xc4,0x09,0x85,0xcf 707 708# ATT: ctestneb {dfv=of} $123, 123(%r8,%rax,4) 709# INTEL: ctestne {dfv=of} byte ptr [r8 + 4*rax + 123], 123 7100x62,0xd4,0x44,0x05,0xf6,0x44,0x80,0x7b,0x7b 711 712# ATT: ctestnew {dfv=of} $1234, 123(%r8,%rax,4) 713# INTEL: ctestne {dfv=of} word ptr [r8 + 4*rax + 123], 1234 7140x62,0xd4,0x45,0x05,0xf7,0x44,0x80,0x7b,0xd2,0x04 715 716# ATT: ctestnel {dfv=of} $123456, 123(%r8,%rax,4) 717# INTEL: ctestne {dfv=of} dword ptr [r8 + 4*rax + 123], 123456 7180x62,0xd4,0x44,0x05,0xf7,0x44,0x80,0x7b,0x40,0xe2,0x01,0x00 719 720# ATT: ctestneq {dfv=of} $123456, 123(%r8,%rax,4) 721# INTEL: ctestne {dfv=of} qword ptr [r8 + 4*rax + 123], 123456 7220x62,0xd4,0xc4,0x05,0xf7,0x44,0x80,0x7b,0x40,0xe2,0x01,0x00 723 724# ATT: ctestneb {dfv=of} %bl, 123(%r8,%rax,4) 725# INTEL: ctestne {dfv=of} byte ptr [r8 + 4*rax + 123], bl 7260x62,0xd4,0x44,0x05,0x84,0x5c,0x80,0x7b 727 728# ATT: ctestnew {dfv=of} %dx, 123(%r8,%rax,4) 729# INTEL: ctestne {dfv=of} word ptr [r8 + 4*rax + 123], dx 7300x62,0xd4,0x45,0x05,0x85,0x54,0x80,0x7b 731 732# ATT: ctestnel {dfv=of} %ecx, 123(%r8,%rax,4) 733# INTEL: ctestne {dfv=of} dword ptr [r8 + 4*rax + 123], ecx 7340x62,0xd4,0x44,0x05,0x85,0x4c,0x80,0x7b 735 736# ATT: ctestneq {dfv=of} %r9, 123(%r8,%rax,4) 737# INTEL: ctestne {dfv=of} qword ptr [r8 + 4*rax + 123], r9 7380x62,0x54,0xc4,0x05,0x85,0x4c,0x80,0x7b 739 740# ATT: ctestneb {dfv=of} $123, %bl 741# INTEL: ctestne {dfv=of} bl, 123 7420x62,0xf4,0x44,0x05,0xf6,0xc3,0x7b 743 744# ATT: ctestnew {dfv=of} $1234, %dx 745# INTEL: ctestne {dfv=of} dx, 1234 7460x62,0xf4,0x45,0x05,0xf7,0xc2,0xd2,0x04 747 748# ATT: ctestnel {dfv=of} $123456, %ecx 749# INTEL: ctestne {dfv=of} ecx, 123456 7500x62,0xf4,0x44,0x05,0xf7,0xc1,0x40,0xe2,0x01,0x00 751 752# ATT: ctestneq {dfv=of} $123456, %r9 753# INTEL: ctestne {dfv=of} r9, 123456 7540x62,0xd4,0xc4,0x05,0xf7,0xc1,0x40,0xe2,0x01,0x00 755 756# ATT: ctestneb {dfv=of} %bl, %dl 757# INTEL: ctestne {dfv=of} dl, bl 7580x62,0xf4,0x44,0x05,0x84,0xda 759 760# ATT: ctestnew {dfv=of} %dx, %ax 761# INTEL: ctestne {dfv=of} ax, dx 7620x62,0xf4,0x45,0x05,0x85,0xd0 763 764# ATT: ctestnel {dfv=of} %ecx, %edx 765# INTEL: ctestne {dfv=of} edx, ecx 7660x62,0xf4,0x44,0x05,0x85,0xca 767 768# ATT: ctestneq {dfv=of} %r9, %r15 769# INTEL: ctestne {dfv=of} r15, r9 7700x62,0x54,0xc4,0x05,0x85,0xcf 771 772# ATT: ctestob {dfv=of} $123, 123(%r8,%rax,4) 773# INTEL: ctesto {dfv=of} byte ptr [r8 + 4*rax + 123], 123 7740x62,0xd4,0x44,0x00,0xf6,0x44,0x80,0x7b,0x7b 775 776# ATT: ctestow {dfv=of} $1234, 123(%r8,%rax,4) 777# INTEL: ctesto {dfv=of} word ptr [r8 + 4*rax + 123], 1234 7780x62,0xd4,0x45,0x00,0xf7,0x44,0x80,0x7b,0xd2,0x04 779 780# ATT: ctestol {dfv=of} $123456, 123(%r8,%rax,4) 781# INTEL: ctesto {dfv=of} dword ptr [r8 + 4*rax + 123], 123456 7820x62,0xd4,0x44,0x00,0xf7,0x44,0x80,0x7b,0x40,0xe2,0x01,0x00 783 784# ATT: ctestoq {dfv=of} $123456, 123(%r8,%rax,4) 785# INTEL: ctesto {dfv=of} qword ptr [r8 + 4*rax + 123], 123456 7860x62,0xd4,0xc4,0x00,0xf7,0x44,0x80,0x7b,0x40,0xe2,0x01,0x00 787 788# ATT: ctestob {dfv=of} %bl, 123(%r8,%rax,4) 789# INTEL: ctesto {dfv=of} byte ptr [r8 + 4*rax + 123], bl 7900x62,0xd4,0x44,0x00,0x84,0x5c,0x80,0x7b 791 792# ATT: ctestow {dfv=of} %dx, 123(%r8,%rax,4) 793# INTEL: ctesto {dfv=of} word ptr [r8 + 4*rax + 123], dx 7940x62,0xd4,0x45,0x00,0x85,0x54,0x80,0x7b 795 796# ATT: ctestol {dfv=of} %ecx, 123(%r8,%rax,4) 797# INTEL: ctesto {dfv=of} dword ptr [r8 + 4*rax + 123], ecx 7980x62,0xd4,0x44,0x00,0x85,0x4c,0x80,0x7b 799 800# ATT: ctestoq {dfv=of} %r9, 123(%r8,%rax,4) 801# INTEL: ctesto {dfv=of} qword ptr [r8 + 4*rax + 123], r9 8020x62,0x54,0xc4,0x00,0x85,0x4c,0x80,0x7b 803 804# ATT: ctestob {dfv=of} $123, %bl 805# INTEL: ctesto {dfv=of} bl, 123 8060x62,0xf4,0x44,0x00,0xf6,0xc3,0x7b 807 808# ATT: ctestow {dfv=of} $1234, %dx 809# INTEL: ctesto {dfv=of} dx, 1234 8100x62,0xf4,0x45,0x00,0xf7,0xc2,0xd2,0x04 811 812# ATT: ctestol {dfv=of} $123456, %ecx 813# INTEL: ctesto {dfv=of} ecx, 123456 8140x62,0xf4,0x44,0x00,0xf7,0xc1,0x40,0xe2,0x01,0x00 815 816# ATT: ctestoq {dfv=of} $123456, %r9 817# INTEL: ctesto {dfv=of} r9, 123456 8180x62,0xd4,0xc4,0x00,0xf7,0xc1,0x40,0xe2,0x01,0x00 819 820# ATT: ctestob {dfv=of} %bl, %dl 821# INTEL: ctesto {dfv=of} dl, bl 8220x62,0xf4,0x44,0x00,0x84,0xda 823 824# ATT: ctestow {dfv=of} %dx, %ax 825# INTEL: ctesto {dfv=of} ax, dx 8260x62,0xf4,0x45,0x00,0x85,0xd0 827 828# ATT: ctestol {dfv=of} %ecx, %edx 829# INTEL: ctesto {dfv=of} edx, ecx 8300x62,0xf4,0x44,0x00,0x85,0xca 831 832# ATT: ctestoq {dfv=of} %r9, %r15 833# INTEL: ctesto {dfv=of} r15, r9 8340x62,0x54,0xc4,0x00,0x85,0xcf 835 836# ATT: ctestsb {dfv=of} $123, 123(%r8,%rax,4) 837# INTEL: ctests {dfv=of} byte ptr [r8 + 4*rax + 123], 123 8380x62,0xd4,0x44,0x08,0xf6,0x44,0x80,0x7b,0x7b 839 840# ATT: ctestsw {dfv=of} $1234, 123(%r8,%rax,4) 841# INTEL: ctests {dfv=of} word ptr [r8 + 4*rax + 123], 1234 8420x62,0xd4,0x45,0x08,0xf7,0x44,0x80,0x7b,0xd2,0x04 843 844# ATT: ctestsl {dfv=of} $123456, 123(%r8,%rax,4) 845# INTEL: ctests {dfv=of} dword ptr [r8 + 4*rax + 123], 123456 8460x62,0xd4,0x44,0x08,0xf7,0x44,0x80,0x7b,0x40,0xe2,0x01,0x00 847 848# ATT: ctestsq {dfv=of} $123456, 123(%r8,%rax,4) 849# INTEL: ctests {dfv=of} qword ptr [r8 + 4*rax + 123], 123456 8500x62,0xd4,0xc4,0x08,0xf7,0x44,0x80,0x7b,0x40,0xe2,0x01,0x00 851 852# ATT: ctestsb {dfv=of} %bl, 123(%r8,%rax,4) 853# INTEL: ctests {dfv=of} byte ptr [r8 + 4*rax + 123], bl 8540x62,0xd4,0x44,0x08,0x84,0x5c,0x80,0x7b 855 856# ATT: ctestsw {dfv=of} %dx, 123(%r8,%rax,4) 857# INTEL: ctests {dfv=of} word ptr [r8 + 4*rax + 123], dx 8580x62,0xd4,0x45,0x08,0x85,0x54,0x80,0x7b 859 860# ATT: ctestsl {dfv=of} %ecx, 123(%r8,%rax,4) 861# INTEL: ctests {dfv=of} dword ptr [r8 + 4*rax + 123], ecx 8620x62,0xd4,0x44,0x08,0x85,0x4c,0x80,0x7b 863 864# ATT: ctestsq {dfv=of} %r9, 123(%r8,%rax,4) 865# INTEL: ctests {dfv=of} qword ptr [r8 + 4*rax + 123], r9 8660x62,0x54,0xc4,0x08,0x85,0x4c,0x80,0x7b 867 868# ATT: ctestsb {dfv=of} $123, %bl 869# INTEL: ctests {dfv=of} bl, 123 8700x62,0xf4,0x44,0x08,0xf6,0xc3,0x7b 871 872# ATT: ctestsw {dfv=of} $1234, %dx 873# INTEL: ctests {dfv=of} dx, 1234 8740x62,0xf4,0x45,0x08,0xf7,0xc2,0xd2,0x04 875 876# ATT: ctestsl {dfv=of} $123456, %ecx 877# INTEL: ctests {dfv=of} ecx, 123456 8780x62,0xf4,0x44,0x08,0xf7,0xc1,0x40,0xe2,0x01,0x00 879 880# ATT: ctestsq {dfv=of} $123456, %r9 881# INTEL: ctests {dfv=of} r9, 123456 8820x62,0xd4,0xc4,0x08,0xf7,0xc1,0x40,0xe2,0x01,0x00 883 884# ATT: ctestsb {dfv=of} %bl, %dl 885# INTEL: ctests {dfv=of} dl, bl 8860x62,0xf4,0x44,0x08,0x84,0xda 887 888# ATT: ctestsw {dfv=of} %dx, %ax 889# INTEL: ctests {dfv=of} ax, dx 8900x62,0xf4,0x45,0x08,0x85,0xd0 891 892# ATT: ctestsl {dfv=of} %ecx, %edx 893# INTEL: ctests {dfv=of} edx, ecx 8940x62,0xf4,0x44,0x08,0x85,0xca 895 896# ATT: ctestsq {dfv=of} %r9, %r15 897# INTEL: ctests {dfv=of} r15, r9 8980x62,0x54,0xc4,0x08,0x85,0xcf 899 900# ATT: ctesttb {dfv=of} $123, 123(%r8,%rax,4) 901# INTEL: ctestt {dfv=of} byte ptr [r8 + 4*rax + 123], 123 9020x62,0xd4,0x44,0x0a,0xf6,0x44,0x80,0x7b,0x7b 903 904# ATT: ctesttw {dfv=of} $1234, 123(%r8,%rax,4) 905# INTEL: ctestt {dfv=of} word ptr [r8 + 4*rax + 123], 1234 9060x62,0xd4,0x45,0x0a,0xf7,0x44,0x80,0x7b,0xd2,0x04 907 908# ATT: ctesttl {dfv=of} $123456, 123(%r8,%rax,4) 909# INTEL: ctestt {dfv=of} dword ptr [r8 + 4*rax + 123], 123456 9100x62,0xd4,0x44,0x0a,0xf7,0x44,0x80,0x7b,0x40,0xe2,0x01,0x00 911 912# ATT: ctesttq {dfv=of} $123456, 123(%r8,%rax,4) 913# INTEL: ctestt {dfv=of} qword ptr [r8 + 4*rax + 123], 123456 9140x62,0xd4,0xc4,0x0a,0xf7,0x44,0x80,0x7b,0x40,0xe2,0x01,0x00 915 916# ATT: ctesttb {dfv=of} %bl, 123(%r8,%rax,4) 917# INTEL: ctestt {dfv=of} byte ptr [r8 + 4*rax + 123], bl 9180x62,0xd4,0x44,0x0a,0x84,0x5c,0x80,0x7b 919 920# ATT: ctesttw {dfv=of} %dx, 123(%r8,%rax,4) 921# INTEL: ctestt {dfv=of} word ptr [r8 + 4*rax + 123], dx 9220x62,0xd4,0x45,0x0a,0x85,0x54,0x80,0x7b 923 924# ATT: ctesttl {dfv=of} %ecx, 123(%r8,%rax,4) 925# INTEL: ctestt {dfv=of} dword ptr [r8 + 4*rax + 123], ecx 9260x62,0xd4,0x44,0x0a,0x85,0x4c,0x80,0x7b 927 928# ATT: ctesttq {dfv=of} %r9, 123(%r8,%rax,4) 929# INTEL: ctestt {dfv=of} qword ptr [r8 + 4*rax + 123], r9 9300x62,0x54,0xc4,0x0a,0x85,0x4c,0x80,0x7b 931 932# ATT: ctesttb {dfv=of} $123, %bl 933# INTEL: ctestt {dfv=of} bl, 123 9340x62,0xf4,0x44,0x0a,0xf6,0xc3,0x7b 935 936# ATT: ctesttw {dfv=of} $1234, %dx 937# INTEL: ctestt {dfv=of} dx, 1234 9380x62,0xf4,0x45,0x0a,0xf7,0xc2,0xd2,0x04 939 940# ATT: ctesttl {dfv=of} $123456, %ecx 941# INTEL: ctestt {dfv=of} ecx, 123456 9420x62,0xf4,0x44,0x0a,0xf7,0xc1,0x40,0xe2,0x01,0x00 943 944# ATT: ctesttq {dfv=of} $123456, %r9 945# INTEL: ctestt {dfv=of} r9, 123456 9460x62,0xd4,0xc4,0x0a,0xf7,0xc1,0x40,0xe2,0x01,0x00 947 948# ATT: ctesttb {dfv=of} %bl, %dl 949# INTEL: ctestt {dfv=of} dl, bl 9500x62,0xf4,0x44,0x0a,0x84,0xda 951 952# ATT: ctesttw {dfv=of} %dx, %ax 953# INTEL: ctestt {dfv=of} ax, dx 9540x62,0xf4,0x45,0x0a,0x85,0xd0 955 956# ATT: ctesttl {dfv=of} %ecx, %edx 957# INTEL: ctestt {dfv=of} edx, ecx 9580x62,0xf4,0x44,0x0a,0x85,0xca 959 960# ATT: ctesttq {dfv=of} %r9, %r15 961# INTEL: ctestt {dfv=of} r15, r9 9620x62,0x54,0xc4,0x0a,0x85,0xcf 963 964# ATT: ctesteb {dfv=of} $123, 123(%r8,%rax,4) 965# INTEL: cteste {dfv=of} byte ptr [r8 + 4*rax + 123], 123 9660x62,0xd4,0x44,0x04,0xf6,0x44,0x80,0x7b,0x7b 967 968# ATT: ctestew {dfv=of} $1234, 123(%r8,%rax,4) 969# INTEL: cteste {dfv=of} word ptr [r8 + 4*rax + 123], 1234 9700x62,0xd4,0x45,0x04,0xf7,0x44,0x80,0x7b,0xd2,0x04 971 972# ATT: ctestel {dfv=of} $123456, 123(%r8,%rax,4) 973# INTEL: cteste {dfv=of} dword ptr [r8 + 4*rax + 123], 123456 9740x62,0xd4,0x44,0x04,0xf7,0x44,0x80,0x7b,0x40,0xe2,0x01,0x00 975 976# ATT: ctesteq {dfv=of} $123456, 123(%r8,%rax,4) 977# INTEL: cteste {dfv=of} qword ptr [r8 + 4*rax + 123], 123456 9780x62,0xd4,0xc4,0x04,0xf7,0x44,0x80,0x7b,0x40,0xe2,0x01,0x00 979 980# ATT: ctesteb {dfv=of} %bl, 123(%r8,%rax,4) 981# INTEL: cteste {dfv=of} byte ptr [r8 + 4*rax + 123], bl 9820x62,0xd4,0x44,0x04,0x84,0x5c,0x80,0x7b 983 984# ATT: ctestew {dfv=of} %dx, 123(%r8,%rax,4) 985# INTEL: cteste {dfv=of} word ptr [r8 + 4*rax + 123], dx 9860x62,0xd4,0x45,0x04,0x85,0x54,0x80,0x7b 987 988# ATT: ctestel {dfv=of} %ecx, 123(%r8,%rax,4) 989# INTEL: cteste {dfv=of} dword ptr [r8 + 4*rax + 123], ecx 9900x62,0xd4,0x44,0x04,0x85,0x4c,0x80,0x7b 991 992# ATT: ctesteq {dfv=of} %r9, 123(%r8,%rax,4) 993# INTEL: cteste {dfv=of} qword ptr [r8 + 4*rax + 123], r9 9940x62,0x54,0xc4,0x04,0x85,0x4c,0x80,0x7b 995 996# ATT: ctesteb {dfv=of} $123, %bl 997# INTEL: cteste {dfv=of} bl, 123 9980x62,0xf4,0x44,0x04,0xf6,0xc3,0x7b 999 1000# ATT: ctestew {dfv=of} $1234, %dx 1001# INTEL: cteste {dfv=of} dx, 1234 10020x62,0xf4,0x45,0x04,0xf7,0xc2,0xd2,0x04 1003 1004# ATT: ctestel {dfv=of} $123456, %ecx 1005# INTEL: cteste {dfv=of} ecx, 123456 10060x62,0xf4,0x44,0x04,0xf7,0xc1,0x40,0xe2,0x01,0x00 1007 1008# ATT: ctesteq {dfv=of} $123456, %r9 1009# INTEL: cteste {dfv=of} r9, 123456 10100x62,0xd4,0xc4,0x04,0xf7,0xc1,0x40,0xe2,0x01,0x00 1011 1012# ATT: ctesteb {dfv=of} %bl, %dl 1013# INTEL: cteste {dfv=of} dl, bl 10140x62,0xf4,0x44,0x04,0x84,0xda 1015 1016# ATT: ctestew {dfv=of} %dx, %ax 1017# INTEL: cteste {dfv=of} ax, dx 10180x62,0xf4,0x45,0x04,0x85,0xd0 1019 1020# ATT: ctestel {dfv=of} %ecx, %edx 1021# INTEL: cteste {dfv=of} edx, ecx 10220x62,0xf4,0x44,0x04,0x85,0xca 1023 1024# ATT: ctesteq {dfv=of} %r9, %r15 1025# INTEL: cteste {dfv=of} r15, r9 10260x62,0x54,0xc4,0x04,0x85,0xcf 1027