llvm/llvm/test/MC/Disassembler/AArch64/armv9a-mec.txt

# RUN: llvm-mc -triple=aarch64 -mattr=+mec -disassemble %s      | FileCheck %s
# RUN: llvm-mc -triple=aarch64             -disassemble %s 2>&1 | FileCheck %s --check-prefix=CHECK-NO-MEC

[0xe0,0xa8,0x3c,0xd5]
# CHECK: mrs x0, MECIDR_EL2
# CHECK-NO-MEC: mrs x0, S3_4_C10_C8_7
[0x00,0xa8,0x3c,0xd5]
# CHECK: mrs x0, MECID_P0_EL2
# CHECK-NO-MEC: mrs x0, S3_4_C10_C8_0
[0x20,0xa8,0x3c,0xd5]
# CHECK: mrs x0, MECID_A0_EL2
# CHECK-NO-MEC: mrs x0, S3_4_C10_C8_1
[0x40,0xa8,0x3c,0xd5]
# CHECK: mrs x0, MECID_P1_EL2
# CHECK-NO-MEC: mrs x0, S3_4_C10_C8_2
[0x60,0xa8,0x3c,0xd5]
# CHECK: mrs x0, MECID_A1_EL2
# CHECK-NO-MEC: mrs x0, S3_4_C10_C8_3
[0x00,0xa9,0x3c,0xd5]
# CHECK: mrs x0, VMECID_P_EL2
# CHECK-NO-MEC: mrs x0, S3_4_C10_C9_0
[0x20,0xa9,0x3c,0xd5]
# CHECK: mrs x0, VMECID_A_EL2
# CHECK-NO-MEC: mrs x0, S3_4_C10_C9_1
[0x20,0xaa,0x3e,0xd5]
# CHECK: mrs x0, MECID_RL_A_EL3
# CHECK-NO-MEC: mrs x0, S3_6_C10_C10_1
[0x00,0xa8,0x1c,0xd5]
# CHECK: msr MECID_P0_EL2,    x0
# CHECK-NO-MEC: msr S3_4_C10_C8_0, x0
[0x20,0xa8,0x1c,0xd5]
# CHECK: msr MECID_A0_EL2,    x0
# CHECK-NO-MEC: msr S3_4_C10_C8_1, x0
[0x40,0xa8,0x1c,0xd5]
# CHECK: msr MECID_P1_EL2,    x0
# CHECK-NO-MEC: msr S3_4_C10_C8_2, x0
[0x60,0xa8,0x1c,0xd5]
# CHECK: msr MECID_A1_EL2,    x0
# CHECK-NO-MEC: msr S3_4_C10_C8_3, x0
[0x00,0xa9,0x1c,0xd5]
# CHECK: msr VMECID_P_EL2,   x0
# CHECK-NO-MEC: msr S3_4_C10_C9_0, x0
[0x20,0xa9,0x1c,0xd5]
# CHECK: msr VMECID_A_EL2,   x0
# CHECK-NO-MEC: msr S3_4_C10_C9_1, x0
[0x20,0xaa,0x1e,0xd5]
# CHECK: msr MECID_RL_A_EL3, x0
# CHECK-NO-MEC: msr S3_6_C10_C10_1, x0
[0xe0,0x7e,0x0c,0xd5]
# CHECK: dc cigdpae, x0
# CHECK-NO-MEC: sys #4, c7, c14, #7, x0
[0x00,0x7e,0x0c,0xd5]
# CHECK: dc cipae, x0
# CHECK-NO-MEC: sys #4, c7, c14, #0, x0