[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / AArch64 / elf-reloc-tstb.s
blob1070c4d7f3e69f0e532a255f887229fda6462704
1 // RUN: llvm-mc -triple=aarch64-none-linux-gnu -filetype=obj %s -o - | \
2 // RUN: llvm-readobj -r | FileCheck -check-prefix=OBJ %s
3 // RUN: llvm-mc -target-abi=ilp32 -triple=aarch64-none-linux-gnu \
4 // RUN: -filetype=obj %s -o - | \
5 // RUN: llvm-readobj -r | FileCheck -check-prefix=OBJ-ILP32 %s
7 tbz x6, #45, somewhere
8 tbnz w3, #15, somewhere
10 // OBJ: Relocations [
11 // OBJ-NEXT: Section {{.*}} .rela.text {
12 // OBJ-NEXT: 0x0 R_AARCH64_TSTBR14 somewhere 0x0
13 // OBJ-NEXT: 0x4 R_AARCH64_TSTBR14 somewhere 0x0
14 // OBJ-NEXT: }
15 // OBJ-NEXT: ]
17 // OBJ-ILP32: Relocations [
18 // OBJ-ILP32-NEXT: Section {{.*}} .rela.text {
19 // OBJ-ILP32-NEXT: 0x0 R_AARCH64_P32_TSTBR14 somewhere 0x0
20 // OBJ-ILP32-NEXT: 0x4 R_AARCH64_P32_TSTBR14 somewhere 0x0
21 // OBJ-ILP32-NEXT: }
22 // OBJ-ILP32-NEXT: ]