1 # RUN: not llvm-mc -disassemble %s -triple=thumbv7-apple-darwin9 -mcpu cortex-m3 2>&1 | FileCheck %s
3 #------------------------------------------------------------------------------
4 # Undefined encodings for mrs
5 #------------------------------------------------------------------------------
8 # CHECK: warning: invalid instruction encoding
9 # CHECK-NEXT: [0xef 0xf3 0x80 0x80]
12 #------------------------------------------------------------------------------
13 # Undefined encodings for msr
14 #------------------------------------------------------------------------------
17 # CHECK: warning: invalid instruction encoding
18 # CHECK-NEXT: [0x80 0xf3 0x00 0x80]
21 # invalid mask = '11' with SYSm not in {0..3}
22 # CHECK: warning: invalid instruction encoding
23 # CHECK-NEXT: [0x80 0xf3 0x04 0x8c]
26 # invalid mask = '01' (Cortex-M3 does not have the DSP extension)
27 # CHECK: warning: invalid instruction encoding
28 # CHECK-NEXT: [0x80 0xf3 0x00 0x84]
32 # CHECK: warning: invalid instruction encoding
33 # CHECK-NEXT: [0x80 0xf3 0x80 0x88]