llvm/llvm/test/MC/Disassembler/X86/apx/enqcmd.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

## enqcmd

# ATT:   enqcmd	123(%eax,%ebx,4), %ecx
# INTEL: enqcmd	ecx, zmmword ptr [eax + 4*ebx + 123]
0x67,0x62,0xf4,0x7f,0x08,0xf8,0x4c,0x98,0x7b

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

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

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

## enqcmds

# ATT:   enqcmds	123(%eax,%ebx,4), %ecx
# INTEL: enqcmds	ecx, zmmword ptr [eax + 4*ebx + 123]
0x67,0x62,0xf4,0x7e,0x08,0xf8,0x4c,0x98,0x7b

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

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

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