bolt/deps/llvm-18.1.8/llvm/test/MC/X86/cmpccxadd-intel-64-alias.s

26 lines
1 KiB
ArmAsm
Raw Normal View History

2025-02-14 19:21:04 +01:00
// RUN: llvm-mc -triple x86_64 -x86-asm-syntax=intel -output-asm-variant=1 --show-encoding %s | FileCheck %s
// CHECK: cmpnbxadd dword ptr [rip], ecx, eax
// CHECK: encoding: [0xc4,0xe2,0x79,0xe3,0x0d,0x00,0x00,0x00,0x00]
cmpaexadd dword ptr [rip], ecx, eax
// CHECK: cmpzxadd dword ptr [rip], ecx, eax
// CHECK: encoding: [0xc4,0xe2,0x79,0xe4,0x0d,0x00,0x00,0x00,0x00]
cmpexadd dword ptr [rip], ecx, eax
// CHECK: cmpnzxadd dword ptr [rip], ecx, eax
// CHECK: encoding: [0xc4,0xe2,0x79,0xe5,0x0d,0x00,0x00,0x00,0x00]
cmpnexadd dword ptr [rip], ecx, eax
// CHECK: cmpnbexadd dword ptr [rip], ecx, eax
// CHECK: encoding: [0xc4,0xe2,0x79,0xe7,0x0d,0x00,0x00,0x00,0x00]
cmpaxadd dword ptr [rip], ecx, eax
// CHECK: cmpnlxadd dword ptr [rip], ecx, eax
// CHECK: encoding: [0xc4,0xe2,0x79,0xed,0x0d,0x00,0x00,0x00,0x00]
cmpgexadd dword ptr [rip], ecx, eax
// CHECK: cmpnlexadd dword ptr [rip], ecx, eax
// CHECK: encoding: [0xc4,0xe2,0x79,0xef,0x0d,0x00,0x00,0x00,0x00]
cmpgxadd dword ptr [rip], ecx, eax