# RUN: llvm-mc -triple aarch64-none-linux-gnu -mattr=+v8.2a --disassemble < %s | FileCheck %s
# RUN: llvm-mc -triple aarch64-none-linux-gnu --disassemble < %s 2>&1 | FileCheck --check-prefix=NO_V82A %s
[0x7f,0x40,0x00,0xd5]
[0x7f,0x41,0x00,0xd5]
[0x7f,0x42,0x00,0xd5]
# CHECK: msr UAO, #0
# CHECK: msr UAO, #1
# CHECK: msr S0_0_C4_C2_3, xzr
# NO_V82A: msr S0_0_C4_C0_3, xzr
# NO_V82A: msr S0_0_C4_C1_3, xzr
# NO_V82A: msr S0_0_C4_C2_3, xzr
[0x81,0x42,0x18,0xd5]
[0x82,0x42,0x38,0xd5]
# CHECK: msr UAO, x1
# CHECK: mrs x2, UAO
# NO_V82A: msr S3_0_C4_C2_4, x1
# NO_V82A: mrs x2, S3_0_C4_C2_4