1 # RUN: not llvm-mc -triple=thumbv7 -disassemble < %s 2> %t | FileCheck --check-prefix=ACCEPT-01234567CD --check-prefix=ACCEPT-89 --check-prefix=ACCEPT-EF %s
2 # RUN: FileCheck --check-prefix=REJECT-AB < %t %s
3 # RUN: not llvm-mc -triple=thumbv8 -disassemble < %s 2> %t | FileCheck --check-prefix=ACCEPT-EF %s
4 # RUN: FileCheck --check-prefix=REJECT-01234567CD --check-prefix=REJECT-89 --check-prefix=REJECT-AB < %t %s
5 # RUN: not llvm-mc -triple=thumbv8.1m.main -disassemble < %s 2> %t | FileCheck --check-prefix=ACCEPT-01234567CD %s
6 # RUN: FileCheck --check-prefix=REJECT-89 --check-prefix=REJECT-AB --check-prefix=REJECT-EF < %t %s
9 # ACCEPT-01234567CD: mrc p0, #1, r2, c3, c4, #5
10 # REJECT-01234567CD: [[@LINE-2]]:2: warning: invalid instruction encoding
13 # ACCEPT-01234567CD: mrc p1, #1, r2, c3, c4, #5
14 # REJECT-01234567CD: [[@LINE-2]]:2: warning: invalid instruction encoding
17 # ACCEPT-01234567CD: mrc p2, #1, r2, c3, c4, #5
18 # REJECT-01234567CD: [[@LINE-2]]:2: warning: invalid instruction encoding
21 # ACCEPT-01234567CD: mrc p3, #1, r2, c3, c4, #5
22 # REJECT-01234567CD: [[@LINE-2]]:2: warning: invalid instruction encoding
25 # ACCEPT-01234567CD: mrc p4, #1, r2, c3, c4, #5
26 # REJECT-01234567CD: [[@LINE-2]]:2: warning: invalid instruction encoding
29 # ACCEPT-01234567CD: mrc p5, #1, r2, c3, c4, #5
30 # REJECT-01234567CD: [[@LINE-2]]:2: warning: invalid instruction encoding
33 # ACCEPT-01234567CD: mrc p6, #1, r2, c3, c4, #5
34 # REJECT-01234567CD: [[@LINE-2]]:2: warning: invalid instruction encoding
37 # ACCEPT-01234567CD: mrc p7, #1, r2, c3, c4, #5
38 # REJECT-01234567CD: [[@LINE-2]]:2: warning: invalid instruction encoding
41 # ACCEPT-89: mrc p8, #1, r2, c3, c4, #5
42 # REJECT-89: [[@LINE-2]]:2: warning: invalid instruction encoding
45 # ACCEPT-89: mrc p9, #1, r2, c3, c4, #5
46 # REJECT-89: [[@LINE-2]]:2: warning: invalid instruction encoding
49 # ACCEPT-AB: mrc p10, #1, r2, c3, c4, #5
50 # REJECT-AB: [[@LINE-2]]:2: warning: invalid instruction encoding
53 # ACCEPT-AB: mrc p11, #1, r2, c3, c4, #5
54 # REJECT-AB: [[@LINE-2]]:2: warning: invalid instruction encoding
57 # ACCEPT-01234567CD: mrc p12, #1, r2, c3, c4, #5
58 # REJECT-01234567CD: [[@LINE-2]]:2: warning: invalid instruction encoding
61 # ACCEPT-01234567CD: mrc p13, #1, r2, c3, c4, #5
62 # REJECT-01234567CD: [[@LINE-2]]:2: warning: invalid instruction encoding
65 # ACCEPT-EF: mrc p14, #1, r2, c3, c4, #5
66 # REJECT-EF: [[@LINE-2]]:2: warning: invalid instruction encoding
69 # ACCEPT-EF: mrc p15, #1, r2, c3, c4, #5
70 # REJECT-EF: [[@LINE-2]]:2: warning: invalid instruction encoding