1 # RUN: llvm-mc -triple=aarch64 -mattr=+specrestrict -disassemble < %s | FileCheck %s
2 # RUN: llvm-mc -triple=aarch64 -mattr=+v8.5a -disassemble < %s | FileCheck %s
3 # RUN: llvm-mc -triple=aarch64 -mattr=+v8r -disassemble < %s | FileCheck %s
4 # RUN: llvm-mc -triple=aarch64 -mattr=-specrestrict -disassemble < %s | FileCheck %s --check-prefix=NOSPECID
8 # CHECK: mrs x1, {{id_pfr2_el1|ID_PFR2_EL1}}
9 # NOSPECID: mrs x1, S3_0_C0_C3_4
17 # CHECK: mrs x8, {{scxtnum_el0|SCXTNUM_EL0}}
18 # CHECK: mrs x7, {{scxtnum_el1|SCXTNUM_EL1}}
19 # CHECK: mrs x6, {{scxtnum_el2|SCXTNUM_EL2}}
20 # CHECK: mrs x5, {{scxtnum_el3|SCXTNUM_EL3}}
21 # CHECK: mrs x4, {{scxtnum_el12|SCXTNUM_EL12}}
22 # NOSPECID: mrs x8, S3_3_C13_C0_7
23 # NOSPECID: mrs x7, S3_0_C13_C0_7
24 # NOSPECID: mrs x6, S3_4_C13_C0_7
25 # NOSPECID: mrs x5, S3_6_C13_C0_7
26 # NOSPECID: mrs x4, S3_5_C13_C0_7
34 # CHECK: msr {{scxtnum_el0|SCXTNUM_EL0}}, x8
35 # CHECK: msr {{scxtnum_el1|SCXTNUM_EL1}}, x7
36 # CHECK: msr {{scxtnum_el2|SCXTNUM_EL2}}, x6
37 # CHECK: msr {{scxtnum_el3|SCXTNUM_EL3}}, x5
38 # CHECK: msr {{scxtnum_el12|SCXTNUM_EL12}}, x4
39 # NOSPECID: msr S3_3_C13_C0_7, x8
40 # NOSPECID: msr S3_0_C13_C0_7, x7
41 # NOSPECID: msr S3_4_C13_C0_7, x6
42 # NOSPECID: msr S3_6_C13_C0_7, x5
43 # NOSPECID: msr S3_5_C13_C0_7, x4