1 // RUN
: not llvm-mc
-triple aarch64-none-linux-gnu
< %s
2>&1 | FileCheck
%s
10 // CHECK
: error
: expected readable system register
11 // CHECK-NEXT
: mrs x10
, icc_eoir1_el1
13 // CHECK-NEXT
: error
: expected readable system register
14 // CHECK-NEXT
: mrs x7
, icc_eoir0_el1
16 // CHECK-NEXT
: error
: expected readable system register
17 // CHECK-NEXT
: mrs x22
, icc_dir_el1
19 // CHECK-NEXT
: error
: expected readable system register
20 // CHECK-NEXT
: mrs x24
, icc_sgi1r_el1
22 // CHECK-NEXT
: error
: expected readable system register
23 // CHECK-NEXT
: mrs x8
, icc_asgi1r_el1
25 // CHECK-NEXT
: error
: expected readable system register
26 // CHECK-NEXT
: mrs x28
, icc_sgi0r_el1
32 msr icc_hppir1_el1
, x29
33 msr icc_hppir0_el1
, x14
38 // CHECK
: error
: expected writable system register
or pstate
39 // CHECK-NEXT
: msr icc_iar1_el1
, x16
41 // CHECK-NEXT
: error
: expected writable system register
or pstate
42 // CHECK-NEXT
: msr icc_iar0_el1
, x19
44 // CHECK-NEXT
: error
: expected writable system register
or pstate
45 // CHECK-NEXT
: msr icc_hppir1_el1
, x29
47 // CHECK-NEXT
: error
: expected writable system register
or pstate
48 // CHECK-NEXT
: msr icc_hppir0_el1
, x14
50 // CHECK-NEXT
: error
: expected writable system register
or pstate
51 // CHECK-NEXT
: msr icc_rpr_el1
, x6
53 // CHECK-NEXT
: error
: expected writable system register
or pstate
54 // CHECK-NEXT
: msr ich_vtr_el2
, x8
56 // CHECK-NEXT
: error
: expected writable system register
or pstate
57 // CHECK-NEXT
: msr ich_eisr_el2
, x22
59 // CHECK-NEXT
: error
: expected writable system register
or pstate
60 // CHECK-NEXT
: msr ich_elsr_el2
, x8