[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / llvm / test / MC / ARM / branch-disassemble.s
blob93c80a151d001a4a6eb4a1e8b5a93fd4fbcd0713
1 @ RUN: llvm-mc -mcpu=cortex-a9 -triple armv7-arm-none-eabi -filetype obj -o - %s \
2 @ RUN: | llvm-objdump --no-print-imm-hex --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 --no-print-imm-hex --mcpu=cortex-m3 --triple=thumbv7m-arm-none-eabi -d - \
7 @ RUN: | FileCheck %s -check-prefix CHECK-THUMB
9 foo:
10 b.w .Lbranch
11 @ CHECK-ARM: b 0xc <foo+0xc> @ imm = #4
12 @ CHECK-THUMB: b.w 0xc <foo+0xc> @ imm = #8
13 adds r0, r1, #42
14 adds r1, r2, #42
15 .Lbranch:
16 movs r2, r3