1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/test/MC/AArch64/adrp-annotation.s
Tim Northover a00817e988 AArch64: print correct annotation for ADRP addresses.
The immediate on an ADRP MCInst needs to be multiplied by 0x1000 to obtain the
actual PC-offset that will be calculated.

llvm-svn: 333525
2018-05-30 09:54:59 +00:00

10 lines
228 B
ArmAsm

; RUN: llvm-mc -triple aarch64-apple-ios %s -filetype=obj -o %t.o
; RUN: llvm-objdump -macho -d %t.o | FileCheck %s
.data_region
.space 0x4124
.end_data_region
; CHECK: 4124{{.*}}adrp x0, 5 ; 0x9000
adrp x0, #0x5000