summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-objdump/ARM/macho-v7m.test
blob: 3ba112205615976d24d58add7cffcf74728026a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
@ RUN: llvm-mc < %s -triple thumbv7m-apple-macho -filetype=obj | llvm-objdump -macho -d - | FileCheck %s
@ RUN: llvm-mc < %s -triple thumbv7em-apple-macho -filetype=obj | llvm-objdump -macho -d - | FileCheck %s

        .thumb
        .thumb_func _t
_t:
        @ A nice Cortex-M only instruction to make sure the default CPU is sound.
        msr msp, r0
        .short 0xf000
        b _t

@ CHECK: msr msp, r0
@ CHECK: .short 0xf000
@ CHECK: b _t
OpenPOWER on IntegriCloud