1 // RUN
: not llvm-mc
-triple aarch64-none-linux-gnu
< %s
2>&1 | FileCheck
%s
5 // CHECK
: error
: expected readable system register
6 // CHECK-NEXT
: mrs x12
, trcoslar
8 // CHECK-NEXT
: error
: expected readable system register
9 // CHECK-NEXT
: mrs x10
, trclar
33 msr trcauthstatus
, x10
49 // CHECK
: error
: expected writable system register
or pstate
50 // CHECK-NEXT
: msr trcstatr
, x0
52 // CHECK-NEXT
: error
: expected writable system register
or pstate
53 // CHECK-NEXT
: msr trcidr8
, x13
55 // CHECK-NEXT
: error
: expected writable system register
or pstate
56 // CHECK-NEXT
: msr trcidr9
, x25
58 // CHECK-NEXT
: error
: expected writable system register
or pstate
59 // CHECK-NEXT
: msr trcidr10
, x2
61 // CHECK-NEXT
: error
: expected writable system register
or pstate
62 // CHECK-NEXT
: msr trcidr11
, x19
64 // CHECK-NEXT
: error
: expected writable system register
or pstate
65 // CHECK-NEXT
: msr trcidr12
, x15
67 // CHECK-NEXT
: error
: expected writable system register
or pstate
68 // CHECK-NEXT
: msr trcidr13
, x24
70 // CHECK-NEXT
: error
: expected writable system register
or pstate
71 // CHECK-NEXT
: msr trcidr0
, x20
73 // CHECK-NEXT
: error
: expected writable system register
or pstate
74 // CHECK-NEXT
: msr trcidr1
, x5
76 // CHECK-NEXT
: error
: expected writable system register
or pstate
77 // CHECK-NEXT
: msr trcidr2
, x18
79 // CHECK-NEXT
: error
: expected writable system register
or pstate
80 // CHECK-NEXT
: msr trcidr3
, x10
82 // CHECK-NEXT
: error
: expected writable system register
or pstate
83 // CHECK-NEXT
: msr trcidr4
, x1
85 // CHECK-NEXT
: error
: expected writable system register
or pstate
86 // CHECK-NEXT
: msr trcidr5
, x10
88 // CHECK-NEXT
: error
: expected writable system register
or pstate
89 // CHECK-NEXT
: msr trcidr6
, x4
91 // CHECK-NEXT
: error
: expected writable system register
or pstate
92 // CHECK-NEXT
: msr trcidr7
, x0
94 // CHECK-NEXT
: error
: expected writable system register
or pstate
95 // CHECK-NEXT
: msr trcoslsr
, x23
97 // CHECK-NEXT
: error
: expected writable system register
or pstate
98 // CHECK-NEXT
: msr trcpdsr
, x21
100 // CHECK-NEXT
: error
: expected writable system register
or pstate
101 // CHECK-NEXT
: msr trcdevaff0
, x4
103 // CHECK-NEXT
: error
: expected writable system register
or pstate
104 // CHECK-NEXT
: msr trcdevaff1
, x17
106 // CHECK-NEXT
: error
: expected writable system register
or pstate
107 // CHECK-NEXT
: msr trclsr
, x18
109 // CHECK-NEXT
: error
: expected writable system register
or pstate
110 // CHECK-NEXT
: msr trcauthstatus
, x10
112 // CHECK-NEXT
: error
: expected writable system register
or pstate
113 // CHECK-NEXT
: msr trcdevarch
, x8
115 // CHECK-NEXT
: error
: expected writable system register
or pstate
116 // CHECK-NEXT
: msr trcdevid
, x11
118 // CHECK-NEXT
: error
: expected writable system register
or pstate
119 // CHECK-NEXT
: msr trcdevtype
, x1
121 // CHECK-NEXT
: error
: expected writable system register
or pstate
122 // CHECK-NEXT
: msr trcpidr4
, x2
124 // CHECK-NEXT
: error
: expected writable system register
or pstate
125 // CHECK-NEXT
: msr trcpidr5
, x7
127 // CHECK-NEXT
: error
: expected writable system register
or pstate
128 // CHECK-NEXT
: msr trcpidr6
, x17
130 // CHECK-NEXT
: error
: expected writable system register
or pstate
131 // CHECK-NEXT
: msr trcpidr7
, x5
133 // CHECK-NEXT
: error
: expected writable system register
or pstate
134 // CHECK-NEXT
: msr trcpidr0
, x0
136 // CHECK-NEXT
: error
: expected writable system register
or pstate
137 // CHECK-NEXT
: msr trcpidr1
, x16
139 // CHECK-NEXT
: error
: expected writable system register
or pstate
140 // CHECK-NEXT
: msr trcpidr2
, x29
142 // CHECK-NEXT
: error
: expected writable system register
or pstate
143 // CHECK-NEXT
: msr trcpidr3
, x1
145 // CHECK-NEXT
: error
: expected writable system register
or pstate
146 // CHECK-NEXT
: msr trccidr0
, x27
148 // CHECK-NEXT
: error
: expected writable system register
or pstate
149 // CHECK-NEXT
: msr trccidr1
, x1
151 // CHECK-NEXT
: error
: expected writable system register
or pstate
152 // CHECK-NEXT
: msr trccidr2
, x24
154 // CHECK-NEXT
: error
: expected writable system register
or pstate
155 // CHECK-NEXT
: msr trccidr3
, x8