1 // RUN
: llvm-mc
-triple aarch64-none-linux-gnu
-show-encoding
-mattr
=+v8.4
a < %s \
2 // RUN
: | FileCheck
%s
--check-prefix
=CHECK
4 // RUN
: not llvm-mc
-triple aarch64-none-linux-gnu
-show-encoding
-mattr
=-v8.4
a < %s
2>&1 \
5 // RUN
: | FileCheck
%s
--check-prefix
=CHECK-ERROR
7 //------------------------------------------------------------------------------
9 //------------------------------------------------------------------------------
11 // Read
/Write registers
:
16 //CHECK
: msr PMMIR_EL1
, x0
// encoding
: [0xc0,0x9e,0x18,0xd5]
17 //CHECK
: mrs x0
, PMMIR_EL1
// encoding
: [0xc0,0x9e,0x38,0xd5]
18 //CHECK-ERROR
: error
: expected writable system register
or pstate
19 //CHECK-ERROR
: error
: expected readable system register