1 // RUN
: not llvm-mc
-triple aarch64
-show-encoding
-mattr
=+nmi
< %s
2>&1 | FileCheck
%s
2 // RUN
: not llvm-mc
-triple aarch64
-show-encoding
-mattr
=+v8.8
a < %s
2>&1 | FileCheck
%s
3 // RUN
: not llvm-mc
-triple aarch64
-show-encoding
< %s
2>&1 | FileCheck
%s
--check-prefix
=NO_NMI
4 // RUN
: not llvm-mc
-triple aarch64
-show-encoding
-mattr
=-nmi
< %s
2>&1 | FileCheck
%s
--check-prefix
=NO_NMI
10 mrs x11
, icc_nmiar1_el1
11 msr icc_nmiar1_el1
, x12
13 // CHECK
: error
: immediate must
be an integer in range
[0, 1].
14 // CHECK-NEXT
: msr ALLINT
, #2
16 // CHECK-NEXT
: error
: expected writable system register
or pstate
17 // CHECK-NEXT
: msr icc_nmiar1_el1
, x12
20 // NO_NMI
: error
: expected writable system register
or pstate
21 // NO_NMI-NEXT
: msr {{allint|ALLINT
}}, #1
23 // NO_NMI-NEXT
: error
: expected writable system register
or pstate
24 // NO_NMI-NEXT
: msr {{allint|ALLINT
}}, #2
26 // NO_NMI-NEXT
: error
: expected writable system register
or pstate
27 // NO_NMI-NEXT
: msr {{allint|ALLINT
}}, x3
29 // NO_NMI-NEXT
: error
: expected readable system register
30 // NO_NMI-NEXT
: mrs x2
, {{allint|ALLINT
}}
32 // NO_NMI-NEXT
: error
: expected readable system register
33 // NO_NMI-NEXT
: mrs x11
, {{icc_nmiar1_el1|ICC_NMIAR1_EL1
}}
35 // NO_NMI-NEXT
: error
: expected writable system register
or pstate
36 // NO_NMI-NEXT
: msr {{icc_nmiar1_el1|ICC_NMIAR1_EL1
}}, x12