[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / ARM / coprocessors.s
blobd2ef58157884715ff3f19b83eb7b147275acfe4b
1 @ RUN: not llvm-mc -triple=armv7 < %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=thumbv7 < %s 2> %t | FileCheck --check-prefix=ACCEPT-01234567CD --check-prefix=ACCEPT-89 --check-prefix=ACCEPT-EF %s
4 @ RUN: FileCheck --check-prefix=REJECT-AB < %t %s
5 @ RUN: not llvm-mc -triple=armv8 < %s 2> %t | FileCheck --check-prefix=ACCEPT-EF %s
6 @ RUN: FileCheck --check-prefix=REJECT-01234567CD --check-prefix=REJECT-89 --check-prefix=REJECT-AB < %t %s
7 @ RUN: not llvm-mc -triple=thumbv8 < %s 2> %t | FileCheck --check-prefix=ACCEPT-EF %s
8 @ RUN: FileCheck --check-prefix=REJECT-01234567CD --check-prefix=REJECT-89 --check-prefix=REJECT-AB < %t %s
9 @ RUN: not llvm-mc -triple=thumbv8.1m.main < %s 2> %t | FileCheck --check-prefix=ACCEPT-01234567CD %s
10 @ RUN: FileCheck --check-prefix=REJECT-89 --check-prefix=REJECT-AB --check-prefix=REJECT-EF < %t %s
12 mrc p0, #1, r2, c3, c4, #5
13 @ ACCEPT-01234567CD: mrc p0, #1, r2, c3, c4, #5
14 @ REJECT-01234567CD: [[@LINE-2]]:7: error: invalid operand for instruction
16 mrc p1, #1, r2, c3, c4, #5
17 @ ACCEPT-01234567CD: mrc p1, #1, r2, c3, c4, #5
18 @ REJECT-01234567CD: [[@LINE-2]]:7: error: invalid operand for instruction
20 mrc p2, #1, r2, c3, c4, #5
21 @ ACCEPT-01234567CD: mrc p2, #1, r2, c3, c4, #5
22 @ REJECT-01234567CD: [[@LINE-2]]:7: error: invalid operand for instruction
24 mrc p3, #1, r2, c3, c4, #5
25 @ ACCEPT-01234567CD: mrc p3, #1, r2, c3, c4, #5
26 @ REJECT-01234567CD: [[@LINE-2]]:7: error: invalid operand for instruction
28 mrc p4, #1, r2, c3, c4, #5
29 @ ACCEPT-01234567CD: mrc p4, #1, r2, c3, c4, #5
30 @ REJECT-01234567CD: [[@LINE-2]]:7: error: invalid operand for instruction
32 mrc p5, #1, r2, c3, c4, #5
33 @ ACCEPT-01234567CD: mrc p5, #1, r2, c3, c4, #5
34 @ REJECT-01234567CD: [[@LINE-2]]:7: error: invalid operand for instruction
36 mrc p6, #1, r2, c3, c4, #5
37 @ ACCEPT-01234567CD: mrc p6, #1, r2, c3, c4, #5
38 @ REJECT-01234567CD: [[@LINE-2]]:7: error: invalid operand for instruction
40 mrc p7, #1, r2, c3, c4, #5
41 @ ACCEPT-01234567CD: mrc p7, #1, r2, c3, c4, #5
42 @ REJECT-01234567CD: [[@LINE-2]]:7: error: invalid operand for instruction
44 mrc p8, #1, r2, c3, c4, #5
45 @ ACCEPT-89: mrc p8, #1, r2, c3, c4, #5
46 @ REJECT-89: [[@LINE-2]]:7: error: invalid operand for instruction
48 mrc p9, #1, r2, c3, c4, #5
49 @ ACCEPT-89: mrc p9, #1, r2, c3, c4, #5
50 @ REJECT-89: [[@LINE-2]]:7: error: invalid operand for instruction
52 mrc p10, #1, r2, c3, c4, #5
53 @ ACCEPT-AB: mrc p10, #1, r2, c3, c4, #5
54 @ REJECT-AB: [[@LINE-2]]:7: error: invalid operand for instruction
56 mrc p11, #1, r2, c3, c4, #5
57 @ ACCEPT-AB: mrc p11, #1, r2, c3, c4, #5
58 @ REJECT-AB: [[@LINE-2]]:7: error: invalid operand for instruction
60 mrc p12, #1, r2, c3, c4, #5
61 @ ACCEPT-01234567CD: mrc p12, #1, r2, c3, c4, #5
62 @ REJECT-01234567CD: [[@LINE-2]]:7: error: invalid operand for instruction
64 mrc p13, #1, r2, c3, c4, #5
65 @ ACCEPT-01234567CD: mrc p13, #1, r2, c3, c4, #5
66 @ REJECT-01234567CD: [[@LINE-2]]:7: error: invalid operand for instruction
68 mrc p14, #1, r2, c3, c4, #5
69 @ ACCEPT-EF: mrc p14, #1, r2, c3, c4, #5
70 @ REJECT-EF: [[@LINE-2]]:7: error: invalid operand for instruction
72 mrc p15, #1, r2, c3, c4, #5
73 @ ACCEPT-EF: mrc p15, #1, r2, c3, c4, #5
74 @ REJECT-EF: [[@LINE-2]]:7: error: invalid operand for instruction