1# RUN: not llvm-mc -triple thumbv7m -assemble < %s 2>&1 | FileCheck %s
2
3  .text
4
5# CHECK: instruction requires: !armv*m
6# CHECK-NEXT: srsdb sp, #7
7  srsdb sp, #7
8
9# CHECK: instruction requires: !armv*m
10# CHECK-NEXT: rfeia r6
11  rfeia r6
12
13# CHECK: instruction requires: !armv*m
14# CHECK-NEXT: subs pc, lr, #42
15  subs pc, lr, #42
16