llvm/llvm/test/MC/Disassembler/X86/apx/movbe.txt

# 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:   movbew	%dx, %ax
# INTEL: movbe	ax, dx
0x62,0xf4,0x7d,0x08,0x61,0xd0

# ATT:   movbew	%dx, 123(%rax,%rbx,4)
# INTEL: movbe	word ptr [rax + 4*rbx + 123], dx
0x62,0xf4,0x7d,0x08,0x61,0x54,0x98,0x7b

# ATT:   movbel	%ecx, %edx
# INTEL: movbe	edx, ecx
0x62,0xf4,0x7c,0x08,0x61,0xca

# ATT:   movbel	%ecx, 123(%rax,%rbx,4)
# INTEL: movbe	dword ptr [rax + 4*rbx + 123], ecx
0x62,0xf4,0x7c,0x08,0x61,0x4c,0x98,0x7b

# ATT:   movbeq	%r9, %r15
# INTEL: movbe	r15, r9
0x62,0x54,0xfc,0x08,0x61,0xcf

# ATT:   movbeq	%r9, 123(%rax,%rbx,4)
# INTEL: movbe	qword ptr [rax + 4*rbx + 123], r9
0x62,0x74,0xfc,0x08,0x61,0x4c,0x98,0x7b

# ATT:   movbew	123(%rax,%rbx,4), %dx
# INTEL: movbe	dx, word ptr [rax + 4*rbx + 123]
0x62,0xf4,0x7d,0x08,0x60,0x54,0x98,0x7b

# ATT:   movbel	123(%rax,%rbx,4), %ecx
# INTEL: movbe	ecx, dword ptr [rax + 4*rbx + 123]
0x62,0xf4,0x7c,0x08,0x60,0x4c,0x98,0x7b

# ATT:   movbeq	123(%rax,%rbx,4), %r9
# INTEL: movbe	r9, qword ptr [rax + 4*rbx + 123]
0x62,0x74,0xfc,0x08,0x60,0x4c,0x98,0x7b

# ATT:   movbew	%r17w, %r21w
# INTEL: movbe	r21w, r17w
0x62,0xec,0x7d,0x08,0x61,0xcd

# ATT:   movbew	%r17w, 291(%r28,%r29,4)
# INTEL: movbe	word ptr [r28 + 4*r29 + 291], r17w
0x62,0x8c,0x79,0x08,0x61,0x8c,0xac,0x23,0x01,0x00,0x00

# ATT:   movbel	%r18d, %r22d
# INTEL: movbe	r22d, r18d
0x62,0xec,0x7c,0x08,0x61,0xd6

# ATT:   movbel	%r18d, 291(%r28,%r29,4)
# INTEL: movbe	dword ptr [r28 + 4*r29 + 291], r18d
0x62,0x8c,0x78,0x08,0x61,0x94,0xac,0x23,0x01,0x00,0x00

# ATT:   movbeq	%r19, %r23
# INTEL: movbe	r23, r19
0x62,0xec,0xfc,0x08,0x61,0xdf

# ATT:   movbeq	%r19, 291(%r28,%r29,4)
# INTEL: movbe	qword ptr [r28 + 4*r29 + 291], r19
0x62,0x8c,0xf8,0x08,0x61,0x9c,0xac,0x23,0x01,0x00,0x00

# ATT:   movbew	291(%r28,%r29,4), %r17w
# INTEL: movbe	r17w, word ptr [r28 + 4*r29 + 291]
0x62,0x8c,0x79,0x08,0x60,0x8c,0xac,0x23,0x01,0x00,0x00

# ATT:   movbel	291(%r28,%r29,4), %r18d
# INTEL: movbe	r18d, dword ptr [r28 + 4*r29 + 291]
0x62,0x8c,0x78,0x08,0x60,0x94,0xac,0x23,0x01,0x00,0x00

# ATT:   movbeq	291(%r28,%r29,4), %r19
# INTEL: movbe	r19, qword ptr [r28 + 4*r29 + 291]
0x62,0x8c,0xf8,0x08,0x60,0x9c,0xac,0x23,0x01,0x00,0x00