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