[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / ARM / arm-branches.s
blob4a451114d88831e0237c47fd2a458fa632c5768b
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 @------------------------------------------------------------------------------
7 b #4
8 bl #4
9 beq #4
10 blx #2
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]