1# RUN: llvm-mc -triple aarch64-none-linux-gnu -mattr=+v8.2a --disassemble < %s | FileCheck %s
2# RUN: llvm-mc -triple aarch64-none-linux-gnu --disassemble < %s 2>&1 | FileCheck --check-prefix=NO_V82A %s
3
4[0x7f,0x40,0x00,0xd5]
5[0x7f,0x41,0x00,0xd5]
6[0x7f,0x42,0x00,0xd5]
7# CHECK: msr UAO, #0
8# CHECK: msr UAO, #1
9# CHECK: msr S0_0_C4_C2_3, xzr
10# NO_V82A: msr S0_0_C4_C0_3, xzr
11# NO_V82A: msr S0_0_C4_C1_3, xzr
12# NO_V82A: msr S0_0_C4_C2_3, xzr
13
14[0x81,0x42,0x18,0xd5]
15[0x82,0x42,0x38,0xd5]
16# CHECK: msr UAO, x1
17# CHECK: mrs x2, UAO
18# NO_V82A: msr S3_0_C4_C2_4, x1
19# NO_V82A: mrs x2, S3_0_C4_C2_4
20