xref: /aosp_15_r20/external/llvm/test/MC/Disassembler/ARM/thumb2-v8m.txt (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker# RUN: llvm-mc -triple=thumbv8m.base -disassemble < %s 2>%t | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker# RUN: FileCheck < %t %s --check-prefix=CHECK-STDERR
3*9880d681SAndroid Build Coastguard Worker# RUN: llvm-mc -triple=thumbv8m.main -disassemble < %s | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-MAINLINE
4*9880d681SAndroid Build Coastguard Worker
5*9880d681SAndroid Build Coastguard Worker0xef 0xf3 0x0a 0x83
6*9880d681SAndroid Build Coastguard Worker# CHECK:          mrs      r3, msplim
7*9880d681SAndroid Build Coastguard Worker0xef 0xf3 0x0b 0x84
8*9880d681SAndroid Build Coastguard Worker# CHECK:          mrs      r4, psplim
9*9880d681SAndroid Build Coastguard Worker0x8b 0xf3 0x0a 0x88
10*9880d681SAndroid Build Coastguard Worker# CHECK:          msr      msplim, r11
11*9880d681SAndroid Build Coastguard Worker0x8c 0xf3 0x0b 0x88
12*9880d681SAndroid Build Coastguard Worker# CHECK:          msr      psplim, r12
13*9880d681SAndroid Build Coastguard Worker
14*9880d681SAndroid Build Coastguard Worker0xef 0xf3 0x90 0x86
15*9880d681SAndroid Build Coastguard Worker# CHECK:          mrs      r6, primask_ns
16*9880d681SAndroid Build Coastguard Worker0x88 0xf3 0x98 0x88
17*9880d681SAndroid Build Coastguard Worker# CHECK:          msr      sp_ns, r8
18*9880d681SAndroid Build Coastguard Worker
19*9880d681SAndroid Build Coastguard Worker0xef 0xf3 0x8a 0x85
20*9880d681SAndroid Build Coastguard Worker# CHECK-STDERR: warning: invalid instruction encoding
21*9880d681SAndroid Build Coastguard Worker# CHECK-MAINLINE: mrs      r5, msplim_ns
22*9880d681SAndroid Build Coastguard Worker0x87 0xf3 0x93 0x88
23*9880d681SAndroid Build Coastguard Worker# CHECK-STDERR: warning: invalid instruction encoding
24*9880d681SAndroid Build Coastguard Worker# CHECK-MAINLINE: msr      faultmask_ns, r7
25*9880d681SAndroid Build Coastguard Worker
26