75 lines · plain
1# RUN: llvm-mc --disassemble %s -triple=x86_64 | FileCheck %s --check-prefixes=ATT2# RUN: llvm-mc --disassemble %s -triple=x86_64 -x86-asm-syntax=intel --output-asm-variant=1 | FileCheck %s --check-prefixes=INTEL3 4# ATT: movbew %dx, %ax5# INTEL: movbe ax, dx60x62,0xf4,0x7d,0x08,0x61,0xd07 8# ATT: movbew %dx, 123(%rax,%rbx,4)9# INTEL: movbe word ptr [rax + 4*rbx + 123], dx100x62,0xf4,0x7d,0x08,0x61,0x54,0x98,0x7b11 12# ATT: movbel %ecx, %edx13# INTEL: movbe edx, ecx140x62,0xf4,0x7c,0x08,0x61,0xca15 16# ATT: movbel %ecx, 123(%rax,%rbx,4)17# INTEL: movbe dword ptr [rax + 4*rbx + 123], ecx180x62,0xf4,0x7c,0x08,0x61,0x4c,0x98,0x7b19 20# ATT: movbeq %r9, %r1521# INTEL: movbe r15, r9220x62,0x54,0xfc,0x08,0x61,0xcf23 24# ATT: movbeq %r9, 123(%rax,%rbx,4)25# INTEL: movbe qword ptr [rax + 4*rbx + 123], r9260x62,0x74,0xfc,0x08,0x61,0x4c,0x98,0x7b27 28# ATT: movbew 123(%rax,%rbx,4), %dx29# INTEL: movbe dx, word ptr [rax + 4*rbx + 123]300x62,0xf4,0x7d,0x08,0x60,0x54,0x98,0x7b31 32# ATT: movbel 123(%rax,%rbx,4), %ecx33# INTEL: movbe ecx, dword ptr [rax + 4*rbx + 123]340x62,0xf4,0x7c,0x08,0x60,0x4c,0x98,0x7b35 36# ATT: movbeq 123(%rax,%rbx,4), %r937# INTEL: movbe r9, qword ptr [rax + 4*rbx + 123]380x62,0x74,0xfc,0x08,0x60,0x4c,0x98,0x7b39 40# ATT: movbew %r17w, %r21w41# INTEL: movbe r21w, r17w420x62,0xec,0x7d,0x08,0x61,0xcd43 44# ATT: movbew %r17w, 291(%r28,%r29,4)45# INTEL: movbe word ptr [r28 + 4*r29 + 291], r17w460x62,0x8c,0x79,0x08,0x61,0x8c,0xac,0x23,0x01,0x00,0x0047 48# ATT: movbel %r18d, %r22d49# INTEL: movbe r22d, r18d500x62,0xec,0x7c,0x08,0x61,0xd651 52# ATT: movbel %r18d, 291(%r28,%r29,4)53# INTEL: movbe dword ptr [r28 + 4*r29 + 291], r18d540x62,0x8c,0x78,0x08,0x61,0x94,0xac,0x23,0x01,0x00,0x0055 56# ATT: movbeq %r19, %r2357# INTEL: movbe r23, r19580x62,0xec,0xfc,0x08,0x61,0xdf59 60# ATT: movbeq %r19, 291(%r28,%r29,4)61# INTEL: movbe qword ptr [r28 + 4*r29 + 291], r19620x62,0x8c,0xf8,0x08,0x61,0x9c,0xac,0x23,0x01,0x00,0x0063 64# ATT: movbew 291(%r28,%r29,4), %r17w65# INTEL: movbe r17w, word ptr [r28 + 4*r29 + 291]660x62,0x8c,0x79,0x08,0x60,0x8c,0xac,0x23,0x01,0x00,0x0067 68# ATT: movbel 291(%r28,%r29,4), %r18d69# INTEL: movbe r18d, dword ptr [r28 + 4*r29 + 291]700x62,0x8c,0x78,0x08,0x60,0x94,0xac,0x23,0x01,0x00,0x0071 72# ATT: movbeq 291(%r28,%r29,4), %r1973# INTEL: movbe r19, qword ptr [r28 + 4*r29 + 291]740x62,0x8c,0xf8,0x08,0x60,0x9c,0xac,0x23,0x01,0x00,0x0075