llvm/llvm/test/MC/Disassembler/X86/apx/movdir64b.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:   movdir64b	123(%eax,%ebx,4), %ecx
# INTEL: movdir64b	ecx, zmmword ptr [eax + 4*ebx + 123]
0x67,0x62,0xf4,0x7d,0x08,0xf8,0x4c,0x98,0x7b

# ATT:   movdir64b	123(%rax,%rbx,4), %r9
# INTEL: movdir64b	r9, zmmword ptr [rax + 4*rbx + 123]
0x62,0x74,0x7d,0x08,0xf8,0x4c,0x98,0x7b

# ATT:   movdir64b	291(%r28d,%r29d,4), %r18d
# INTEL: movdir64b	r18d, zmmword ptr [r28d + 4*r29d + 291]
0x67,0x62,0x8c,0x79,0x08,0xf8,0x94,0xac,0x23,0x01,0x00,0x00

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