[AMDGPU] Add commute for some VOP3 inst (#121326)
[llvm-project.git] / llvm / test / MC / AArch64 / ELF_ARM64_large-relocations.s
blob8259484d956d034d97fc66324768ce4545892b25
1 # RUN: llvm-mc -triple=arm64-none-linux-gnu -large-code-model -filetype=obj -o %T/large-reloc.o %s
2 # RUN: llvm-rtdyld -triple=arm64-none-linux-gnu -verify -map-section large-reloc.o,.eh_frame=0x10000 -map-section large-reloc.o,.text=0xffff000000000000 -check=%s %T/large-reloc.o
3 # RUN: llvm-mc -triple=aarch64_be-none-linux-gnu -large-code-model -filetype=obj -o %T/large-reloc.o %s
4 # RUN: llvm-rtdyld -triple=aarch64_be-none-linux-gnu -verify -map-section large-reloc.o,.eh_frame=0x10000 -map-section large-reloc.o,.text=0xffff000000000000 -check=%s %T/large-reloc.o
6 .text
7 .globl g
8 .p2align 2
9 .type g,@function
11 .cfi_startproc
12 mov x0, xzr
13 ret
14 .Lfunc_end0:
15 .size g, .Lfunc_end0-g
16 .cfi_endproc
18 # Skip the CIE and load the 8 bytes PC begin pointer.
19 # Assuming the CIE and the FDE length are both 4 bytes.
20 # rtdyld-check: *{8}(section_addr(large-reloc.o, .eh_frame) + (*{4}(section_addr(large-reloc.o, .eh_frame))) + 0xc) = g - (section_addr(large-reloc.o, .eh_frame) + (*{4}(section_addr(large-reloc.o, .eh_frame))) + 0xc)