Home | History | Annotate | Download | only in ARM
      1 @ RUN: not llvm-mc -triple thumbv7m-none-eabi      -filetype=obj -o /dev/null %s 2>&1 | FileCheck %s
      2 @ RUN: not llvm-mc -triple thumbv8m.base-none-eabi -filetype=obj -o /dev/null %s 2>&1 | FileCheck %s
      3 
      4 label0:
      5   .word 4
      6 
      7 @ CHECK: out of range pc-relative fixup value
      8   cbz r0, label0
      9 @ CHECK: out of range pc-relative fixup value
     10   cbnz r0, label0
     11 
     12 @ CHECK: out of range pc-relative fixup value
     13   cbz r0, label1
     14 @ CHECK: out of range pc-relative fixup value
     15   cbnz r0, label1
     16 
     17   .space 1000
     18 label1:
     19   nop
     20 
     21 @ CHECK: out of range pc-relative fixup value
     22   cbz r0, label2
     23   .space 130
     24 label2:
     25   nop
     26 
     27 @ CHECK: out of range pc-relative fixup value
     28   cbz r0, label4
     29   .space 33
     30 label4:
     31   nop
     32 
     33   .align 2
     34 @ CHECK-NOT: label3
     35   cbnz r0, label3
     36   .space 128
     37 label3:
     38   nop
     39