1 @ RUN
: llvm-mc
-triple
=armv7-apple-darwin
-show-encoding
< %s | FileCheck
%s
3 @
------------------------------------------------------------------------------
4 @ Branch targets destined for ARM mode must
== 0 (mod
4), otherwise
(mod
2).
5 @
------------------------------------------------------------------------------
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]