1 # RUN: llvm-mc -triple=thumbv8m.base -disassemble < %s 2>%t | FileCheck %s 2 # RUN: FileCheck < %t %s --check-prefix=CHECK-STDERR 3 # RUN: llvm-mc -triple=thumbv8m.main -disassemble < %s | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-MAINLINE 4 5 0xef 0xf3 0x0a 0x83 6 # CHECK: mrs r3, msplim 7 0xef 0xf3 0x0b 0x84 8 # CHECK: mrs r4, psplim 9 0x8b 0xf3 0x0a 0x88 10 # CHECK: msr msplim, r11 11 0x8c 0xf3 0x0b 0x88 12 # CHECK: msr psplim, r12 13 14 0xef 0xf3 0x90 0x86 15 # CHECK: mrs r6, primask_ns 16 0x88 0xf3 0x98 0x88 17 # CHECK: msr sp_ns, r8 18 19 0xef 0xf3 0x8a 0x85 20 # CHECK-STDERR: warning: invalid instruction encoding 21 # CHECK-MAINLINE: mrs r5, msplim_ns 22 0x87 0xf3 0x93 0x88 23 # CHECK-STDERR: warning: invalid instruction encoding 24 # CHECK-MAINLINE: msr faultmask_ns, r7 25 26