1 // RUN
: not llvm-mc
-triple aarch64
-mattr
=+sme
-show-encoding
< %s
2>&1 | FileCheck
%s
4 // --------------------------------------------------------------------------//
7 msr ID_AA64SMFR0_EL1
, x3
8 // CHECK
: error
: expected writable system register
or pstate
9 // CHECK-NEXT
: msr ID_AA64SMFR0_EL1
, x3
12 // CHECK
: error
: expected writable system register
or pstate
13 // CHECK-NEXT
: msr SMIDR_EL1
, x3
15 // --------------------------------------------------------------------------//
16 // Check
MSR SVCR immediate is in range
[0, 1]
19 // CHECK
: error
: immediate must
be an integer in range
[0, 1].
20 // CHECK-NEXT
: msr SVCRSM
, #-1
23 // CHECK
: error
: immediate must
be an integer in range
[0, 1].
24 // CHECK-NEXT
: msr SVCRZA
, #2
27 // CHECK
: error
: immediate must
be an integer in range
[0, 1].
28 // CHECK-NEXT
: msr SVCRSMZA
, #4