1 # RUN: llvm-mc -filetype=obj -triple=csky < %s \
2 # RUN: | llvm-objdump --no-show-raw-insn -M no-aliases -d -r - | FileCheck %s
30 bsr
.L6 - 64*1024*1024
32 bsr
.L7 + 64*1024*1024 - 2
36 # CHECK: 00000000: R_CKCORE_PCREL_IMM26_2 lnk
38 # CHECK: 00000004: R_CKCORE_PCREL_IMM26_2 lnk-0x4
40 # CHECK: 00000008: R_CKCORE_PCREL_IMM26_2 lnk+0x4
43 # CHECK: 0000000e: R_CKCORE_PCREL_IMM26_2 .data
44 # CHECK: 12: bsr32 0x12
45 # CHECK: 00000012: R_CKCORE_PCREL_IMM26_2 .data-0x4
46 # CHECK: 16: bsr32 0x16
47 # CHECK: 00000016: R_CKCORE_PCREL_IMM26_2 .data+0x4
48 # CHECK: 1a: bsr32 0x1a
49 # CHECK: 1e: bsr32 0xfffffc1e
50 # CHECK: 22: bsr32 0x420
51 # CHECK: 26: bsr32 0xfffffc24
52 # CHECK: 2a: bsr32 0x42a
53 # CHECK: 2e: bsr32 0xfc00002e
54 # CHECK: 32: bsr32 0x4000030