1 # RUN: llvm-mc -triple=aarch64 -mattr=+ecv -disassemble < %s | FileCheck %s
2 # RUN: llvm-mc -triple=aarch64 -disassemble < %s 2>&1 | FileCheck %s --check-prefix=NOFGT
10 # CHECK: msr CNTSCALE_EL2, x1
11 # CHECK: msr CNTISCALE_EL2, x11
12 # CHECK: msr CNTPOFF_EL2, x22
13 # CHECK: msr CNTVFRQ_EL2, x3
14 # CHECK: msr S3_3_C14_C0_5, x13
15 # CHECK: msr S3_3_C14_C0_6, x23
16 # NOFGT: msr S3_4_C14_C0_4, x1
17 # NOFGT: msr S3_4_C14_C0_5, x11
18 # NOFGT: msr S3_4_C14_C0_6, x22
19 # NOFGT: msr S3_4_C14_C0_7, x3
20 # NOFGT: msr S3_3_C14_C0_5, x13
21 # NOFGT: msr S3_3_C14_C0_6, x23
29 # CHECK: mrs x0, CNTSCALE_EL2
30 # CHECK: mrs x5, CNTISCALE_EL2
31 # CHECK: mrs x10, CNTPOFF_EL2
32 # CHECK: mrs x15, CNTVFRQ_EL2
33 # CHECK: mrs x20, CNTPCTSS_EL0
34 # CHECK: mrs x30, CNTVCTSS_EL0
35 # NOFGT: mrs x0, S3_4_C14_C0_4
36 # NOFGT: mrs x5, S3_4_C14_C0_5
37 # NOFGT: mrs x10, S3_4_C14_C0_6
38 # NOFGT: mrs x15, S3_4_C14_C0_7
39 # NOFGT: mrs x20, S3_3_C14_C0_5
40 # NOFGT: mrs x30, S3_3_C14_C0_6