You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
202 B

// RUN: llvm-mc -triple aarch64-none-linux-gnu %s -filetype=obj -o %t
// RUN: llvm-objdump -d %t | FileCheck %s
0:
.skip 4
1:
mov x0, 1b - 0b
// CHECK: mov x0, #4
mov x0, 0b - 1b
// CHECK: mov x0, #-4