# RUN: llvm-mc -triple aarch64 -disassemble -mattr=+rasv2 < %s | FileCheck %s
# RUN: llvm-mc -triple aarch64 -disassemble -mattr=+v8.9a < %s | FileCheck %s
# RUN: llvm-mc -triple aarch64 -disassemble -mattr=+v9.4a < %s | FileCheck %s
# RUN: llvm-mc -triple aarch64 -disassemble < %s | FileCheck %s --check-prefix=NO-RAS
[0x40,0x53,0x38,0xd5]
# CHECK: mrs x0, ERXGSR_EL1
# NO-RAS: mrs x0, S3_0_C5_C3_2
[0x40,0x53,0x18,0xd5]
# CHECK: msr S3_0_C5_C3_2, x0
# NO-RAS: msr S3_0_C5_C3_2, x0