1 // RUN
: llvm-mc
-triple aarch64
-show-encoding
-mattr
=+rasv2
< %s | FileCheck
%s
2 // RUN
: llvm-mc
-triple aarch64
-show-encoding
-mattr
=+v8.9
a < %s | FileCheck
%s
3 // RUN
: llvm-mc
-triple aarch64
-show-encoding
-mattr
=+v9.4
a < %s | FileCheck
%s
5 // RUN
: not llvm-mc
-triple aarch64-none-linux-gnu
< %s
2>&1 | FileCheck
--check-prefix
=ERROR-NO-RAS
%s
8 // CHECK
: mrs x0
, ERXGSR_EL1
// encoding
: [0x40,0x53,0x38,0xd5]
9 // ERROR-NO-RAS
: [[@LINE-
2]]:9: error
: expected readable system register