mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
cade44f8bc
... that were introduced in https://reviews.llvm.org/rG0e1accd0f726eef2c47be9f37dd0a06cb50d207e
18 lines
408 B
ArmAsm
18 lines
408 B
ArmAsm
// RUN: llvm-mc -triple aarch64-none-linux-gnu %s -filetype=obj -o %t
|
|
// RUN: llvm-objdump --triple aarch64-none-linux-gnu -Dr %t | FileCheck %s
|
|
|
|
0:
|
|
.skip 4
|
|
1:
|
|
mov x0, 1b - 0b
|
|
// CHECK: mov x0, #4
|
|
mov x0, 0b - 1b
|
|
// CHECK: mov x0, #-4
|
|
mov x0, 0b - 0b
|
|
// CHECK: mov x0, #0
|
|
mov x0, 1b - 2 - 0b + 6
|
|
// CHECK: mov x0, #8
|
|
mov x0, #:abs_g0_s:1b
|
|
// CHECK: mov x0, #0
|
|
// CHECK-NEXT: R_AARCH64_MOVW_SABS_G0 .text+0x4
|