Home | History | Annotate | Download | only in ARM
      1 @ RUN: llvm-mc -triple=armv7-apple-darwin -show-encoding < %s | FileCheck %s
      2 
      3 @------------------------------------------------------------------------------
      4 @ Branch targets destined for ARM mode must == 0 (mod 4), otherwise (mod 2).
      5 @------------------------------------------------------------------------------
      6 
      7         b #4
      8         bl #4
      9         beq #4
     10         blx #2
     11 
     12 @ CHECK: b	#4                      @ encoding: [0x01,0x00,0x00,0xea]
     13 @ CHECK: bl	#4                      @ encoding: [0x01,0x00,0x00,0xeb]
     14 @ CHECK: beq	#4                      @ encoding: [0x01,0x00,0x00,0x0a]
     15 @ CHECK: blx	#2                      @ encoding: [0x00,0x00,0x00,0xfb]
     16