[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / ARM / branch-disassemble.s
blob5380a1d0b9e4175bf663cd48684e44bb424445c3
1 @ RUN: llvm-mc -mcpu=cortex-a9 -triple armv7-arm-none-eabi -filetype obj -o - %s \
2 @ RUN: | llvm-objdump -mcpu=cortex-a9 -triple armv7-arm-none-eabi -d - \
3 @ RUN: | FileCheck %s -check-prefix CHECK-ARM
5 @ RUN: llvm-mc -mcpu=cortex-m3 -triple thumbv7m-arm-none-eabi -filetype obj -o - %s \
6 @ RUN: | llvm-objdump -mcpu=cortex-m3 -triple thumbv7m-arm-none-eabi -d - \
7 @ RUN: | FileCheck %s -check-prefix CHECK-THUMB
9 b.w .Lbranch
10 @ CHECK-ARM: b #4 <$a.0+0xc>
11 @ CHECK-THUMB: b.w #8 <$t.0+0xc>
12 adds r0, r1, #42
13 adds r1, r2, #42
14 .Lbranch:
15 movs r2, r3