[X86][MC,LLD][NFC] Rename R_X86_64_REX2_GOTPCRELX (#116737)
[llvm-project.git] / llvm / test / MC / VE / ATMAM.s
blob67f623cabc8cab8a1fe9f2502cdf92533fd43ffa
1 # RUN: llvm-mc -triple=ve --show-encoding < %s \
2 # RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
3 # RUN: llvm-mc -triple=ve -filetype=obj < %s | llvm-objdump -d - \
4 # RUN: | FileCheck %s --check-prefixes=CHECK-INST
6 # CHECK-INST: atmam %s20, 20(%s11), %s32
7 # CHECK-ENCODING: encoding: [0x14,0x00,0x00,0x00,0x8b,0xa0,0x14,0x53]
8 atmam %s20, 20(%s11), %s32
10 # CHECK-INST: atmam %s20, 8192, 0
11 # CHECK-ENCODING: encoding: [0x00,0x20,0x00,0x00,0x00,0x00,0x14,0x53]
12 atmam %s20, 8192, 0
14 # CHECK-INST: atmam %s20, 8192, 1
15 # CHECK-ENCODING: encoding: [0x00,0x20,0x00,0x00,0x00,0x01,0x14,0x53]
16 atmam %s20, 8192, 1
18 # CHECK-INST: atmam %s20, 8192, 2
19 # CHECK-ENCODING: encoding: [0x00,0x20,0x00,0x00,0x00,0x02,0x14,0x53]
20 atmam %s20, 8192, 2