1@ RUN: llvm-mc < %s -triple thumbv7m-apple-macho -filetype=obj | llvm-objdump -macho -d - | FileCheck %s
2@ RUN: llvm-mc < %s -triple thumbv7em-apple-macho -filetype=obj | llvm-objdump -macho -d - | FileCheck %s
3
4        .thumb
5        .thumb_func _t
6_t:
7        @ A nice Cortex-M only instruction to make sure the default CPU is sound.
8        msr msp, r0
9        .short 0xf000
10        b _t
11
12@ CHECK: msr msp, r0
13@ CHECK: .short 0xf000
14@ CHECK: b _t
15