# 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
## aadd
# ATT: aaddl %ecx, 123(%rax,%rbx,4)
# INTEL: aadd dword ptr [rax + 4*rbx + 123], ecx
0x62,0xf4,0x7c,0x08,0xfc,0x4c,0x98,0x7b
# ATT: aaddq %r9, 123(%rax,%rbx,4)
# INTEL: aadd qword ptr [rax + 4*rbx + 123], r9
0x62,0x74,0xfc,0x08,0xfc,0x4c,0x98,0x7b
# ATT: aaddl %r18d, 291(%r28,%r29,4)
# INTEL: aadd dword ptr [r28 + 4*r29 + 291], r18d
0x62,0x8c,0x78,0x08,0xfc,0x94,0xac,0x23,0x01,0x00,0x00
# ATT: aaddq %r19, 291(%r28,%r29,4)
# INTEL: aadd qword ptr [r28 + 4*r29 + 291], r19
0x62,0x8c,0xf8,0x08,0xfc,0x9c,0xac,0x23,0x01,0x00,0x00
## aand
# ATT: aandl %ecx, 123(%rax,%rbx,4)
# INTEL: aand dword ptr [rax + 4*rbx + 123], ecx
0x62,0xf4,0x7d,0x08,0xfc,0x4c,0x98,0x7b
# ATT: aandq %r9, 123(%rax,%rbx,4)
# INTEL: aand qword ptr [rax + 4*rbx + 123], r9
0x62,0x74,0xfd,0x08,0xfc,0x4c,0x98,0x7b
# ATT: aandl %r18d, 291(%r28,%r29,4)
# INTEL: aand dword ptr [r28 + 4*r29 + 291], r18d
0x62,0x8c,0x79,0x08,0xfc,0x94,0xac,0x23,0x01,0x00,0x00
# ATT: aandq %r19, 291(%r28,%r29,4)
# INTEL: aand qword ptr [r28 + 4*r29 + 291], r19
0x62,0x8c,0xf9,0x08,0xfc,0x9c,0xac,0x23,0x01,0x00,0x00
## aor
# ATT: aorl %ecx, 123(%rax,%rbx,4)
# INTEL: aor dword ptr [rax + 4*rbx + 123], ecx
0x62,0xf4,0x7f,0x08,0xfc,0x4c,0x98,0x7b
# ATT: aorq %r9, 123(%rax,%rbx,4)
# INTEL: aor qword ptr [rax + 4*rbx + 123], r9
0x62,0x74,0xff,0x08,0xfc,0x4c,0x98,0x7b
# ATT: aorl %r18d, 291(%r28,%r29,4)
# INTEL: aor dword ptr [r28 + 4*r29 + 291], r18d
0x62,0x8c,0x7b,0x08,0xfc,0x94,0xac,0x23,0x01,0x00,0x00
# ATT: aorq %r19, 291(%r28,%r29,4)
# INTEL: aor qword ptr [r28 + 4*r29 + 291], r19
0x62,0x8c,0xfb,0x08,0xfc,0x9c,0xac,0x23,0x01,0x00,0x00
## axor
# ATT: axorl %ecx, 123(%rax,%rbx,4)
# INTEL: axor dword ptr [rax + 4*rbx + 123], ecx
0x62,0xf4,0x7e,0x08,0xfc,0x4c,0x98,0x7b
# ATT: axorq %r9, 123(%rax,%rbx,4)
# INTEL: axor qword ptr [rax + 4*rbx + 123], r9
0x62,0x74,0xfe,0x08,0xfc,0x4c,0x98,0x7b
# ATT: axorl %r18d, 291(%r28,%r29,4)
# INTEL: axor dword ptr [r28 + 4*r29 + 291], r18d
0x62,0x8c,0x7a,0x08,0xfc,0x94,0xac,0x23,0x01,0x00,0x00
# ATT: axorq %r19, 291(%r28,%r29,4)
# INTEL: axor qword ptr [r28 + 4*r29 + 291], r19
0x62,0x8c,0xfa,0x08,0xfc,0x9c,0xac,0x23,0x01,0x00,0x00