# RUN: llvm-mc -triple x86_64 -disassemble %s | FileCheck %s --check-prefix=ATT
# RUN: llvm-mc -triple x86_64 -disassemble -output-asm-variant=1 %s | FileCheck %s --check-prefix=INTEL
# ATT: push2 %rax, %rdi
# INTEL: push2 rdi, rax
0x62,0xf4,0x44,0x18,0xff,0xf0
# ATT: push2 %rdi, %r8
# INTEL: push2 r8, rdi
0x62,0xf4,0x3c,0x18,0xff,0xf7
# ATT: push2 %r8, %r15
# INTEL: push2 r15, r8
0x62,0xd4,0x04,0x18,0xff,0xf0
# ATT: push2 %r15, %r16
# INTEL: push2 r16, r15
0x62,0xd4,0x7c,0x10,0xff,0xf7
# ATT: push2 %r16, %r23
# INTEL: push2 r23, r16
0x62,0xfc,0x44,0x10,0xff,0xf0
# ATT: push2 %r23, %r24
# INTEL: push2 r24, r23
0x62,0xfc,0x3c,0x10,0xff,0xf7
# ATT: push2 %r24, %r31
# INTEL: push2 r31, r24
0x62,0xdc,0x04,0x10,0xff,0xf0
# ATT: pop2 %rax, %rdi
# INTEL: pop2 rdi, rax
0x62,0xf4,0x44,0x18,0x8f,0xc0
# ATT: pop2 %rdi, %r8
# INTEL: pop2 r8, rdi
0x62,0xf4,0x3c,0x18,0x8f,0xc7
# ATT: pop2 %r8, %r15
# INTEL: pop2 r15, r8
0x62,0xd4,0x04,0x18,0x8f,0xc0
# ATT: pop2 %r15, %r16
# INTEL: pop2 r16, r15
0x62,0xd4,0x7c,0x10,0x8f,0xc7
# ATT: pop2 %r16, %r23
# INTEL: pop2 r23, r16
0x62,0xfc,0x44,0x10,0x8f,0xc0
# ATT: pop2 %r23, %r24
# INTEL: pop2 r24, r23
0x62,0xfc,0x3c,0x10,0x8f,0xc7
# ATT: pop2 %r24, %r31
# INTEL: pop2 r31, r24
0x62,0xdc,0x04,0x10,0x8f,0xc0