# 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: adcxl %r16d, %r17d
# INTEL: adcx r17d, r16d
0x62,0xec,0x7d,0x08,0x66,0xc8
# ATT: adcxl %r16d, %r17d, %r18d
# INTEL: adcx r18d, r17d, r16d
0x62,0xec,0x6d,0x10,0x66,0xc8
# ATT: adcxq %r16, %r17
# INTEL: adcx r17, r16
0x62,0xec,0xfd,0x08,0x66,0xc8
# ATT: adcxq %r16, %r17, %r18
# INTEL: adcx r18, r17, r16
0x62,0xec,0xed,0x10,0x66,0xc8
# ATT: adcxl (%r16), %r17d
# INTEL: adcx r17d, dword ptr [r16]
0x62,0xec,0x7d,0x08,0x66,0x08
# ATT: adcxl (%r16), %r17d, %r18d
# INTEL: adcx r18d, r17d, dword ptr [r16]
0x62,0xec,0x6d,0x10,0x66,0x08
# ATT: adcxq (%r16), %r17
# INTEL: adcx r17, qword ptr [r16]
0x62,0xec,0xfd,0x08,0x66,0x08
# ATT: adcxq (%r16), %r17, %r18
# INTEL: adcx r18, r17, qword ptr [r16]
0x62,0xec,0xed,0x10,0x66,0x08
# ATT: adoxl %r16d, %r17d
# INTEL: adox r17d, r16d
0x62,0xec,0x7e,0x08,0x66,0xc8
# ATT: adoxl %r16d, %r17d, %r18d
# INTEL: adox r18d, r17d, r16d
0x62,0xec,0x6e,0x10,0x66,0xc8
# ATT: adoxq %r16, %r17
# INTEL: adox r17, r16
0x62,0xec,0xfe,0x08,0x66,0xc8
# ATT: adoxq %r16, %r17, %r18
# INTEL: adox r18, r17, r16
0x62,0xec,0xee,0x10,0x66,0xc8
# ATT: adoxl (%r16), %r17d
# INTEL: adox r17d, dword ptr [r16]
0x62,0xec,0x7e,0x08,0x66,0x08
# ATT: adoxl (%r16), %r17d, %r18d
# INTEL: adox r18d, r17d, dword ptr [r16]
0x62,0xec,0x6e,0x10,0x66,0x08
# ATT: adoxq (%r16), %r17
# INTEL: adox r17, qword ptr [r16]
0x62,0xec,0xfe,0x08,0x66,0x08
# ATT: adoxq (%r16), %r17, %r18
# INTEL: adox r18, r17, qword ptr [r16]
0x62,0xec,0xee,0x10,0x66,0x08