mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
a00817e988
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
10 lines
228 B
ArmAsm
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
|