1 // RUN
: llvm-mc
-triple aarch64
-show-encoding
%s | FileCheck
%s
4 // CHECK
: mrs x3
, SCTLRMASK_EL1
// encoding
: [0x03,0x14,0x38,0xd5]
6 // CHECK
: mrs x3
, SCTLRMASK_EL2
// encoding
: [0x03,0x14,0x3c,0xd5]
8 // CHECK
: mrs x3
, SCTLRMASK_EL12
// encoding
: [0x03,0x14,0x3d,0xd5]
10 // CHECK
: mrs x3
, CPACRMASK_EL1
// encoding
: [0x43,0x14,0x38,0xd5]
12 // CHECK
: mrs x3
, CPTRMASK_EL2
// encoding
: [0x43,0x14,0x3c,0xd5]
13 mrs x3
, CPACRMASK_EL12
14 // CHECK
: mrs x3
, CPACRMASK_EL12
// encoding
: [0x43,0x14,0x3d,0xd5]
15 mrs x3
, SCTLR2MASK_EL1
16 // CHECK
: mrs x3
, SCTLR2MASK_EL1
// encoding
: [0x63,0x14,0x38,0xd5]
17 mrs x3
, SCTLR2MASK_EL2
18 // CHECK
: mrs x3
, SCTLR2MASK_EL2
// encoding
: [0x63,0x14,0x3c,0xd5]
19 mrs x3
, SCTLR2MASK_EL12
20 // CHECK
: mrs x3
, SCTLR2MASK_EL12
// encoding
: [0x63,0x14,0x3d,0xd5]
21 mrs x3
, CPACRALIAS_EL1
22 // CHECK
: mrs x3
, CPACRALIAS_EL1
// encoding
: [0x83,0x14,0x38,0xd5]
23 mrs x3
, SCTLRALIAS_EL1
24 // CHECK
: mrs x3
, SCTLRALIAS_EL1
// encoding
: [0xc3,0x14,0x38,0xd5]
25 mrs x3
, SCTLR2ALIAS_EL1
26 // CHECK
: mrs x3
, SCTLR2ALIAS_EL1
// encoding
: [0xe3,0x14,0x38,0xd5]
28 // CHECK
: mrs x3
, TCRMASK_EL1
// encoding
: [0x43,0x27,0x38,0xd5]
30 // CHECK
: mrs x3
, TCRMASK_EL2
// encoding
: [0x43,0x27,0x3c,0xd5]
32 // CHECK
: mrs x3
, TCRMASK_EL12
// encoding
: [0x43,0x27,0x3d,0xd5]
34 // CHECK
: mrs x3
, TCR2MASK_EL1
// encoding
: [0x63,0x27,0x38,0xd5]
36 // CHECK
: mrs x3
, TCR2MASK_EL2
// encoding
: [0x63,0x27,0x3c,0xd5]
38 // CHECK
: mrs x3
, TCR2MASK_EL12
// encoding
: [0x63,0x27,0x3d,0xd5]
40 // CHECK
: mrs x3
, TCRALIAS_EL1
// encoding
: [0xc3,0x27,0x38,0xd5]
42 // CHECK
: mrs x3
, TCR2ALIAS_EL1
// encoding
: [0xe3,0x27,0x38,0xd5]
44 // CHECK
: mrs x3
, ACTLRMASK_EL1
// encoding
: [0x23,0x14,0x38,0xd5]
46 // CHECK
: mrs x3
, ACTLRMASK_EL2
// encoding
: [0x23,0x14,0x3c,0xd5]
47 mrs x3
, ACTLRMASK_EL12
48 // CHECK
: mrs x3
, ACTLRMASK_EL12
// encoding
: [0x23,0x14,0x3d,0xd5]
49 mrs x3
, ACTLRALIAS_EL1
50 // CHECK
: mrs x3
, ACTLRALIAS_EL1
// encoding
: [0xa3,0x14,0x38,0xd5]
53 // CHECK
: msr SCTLRMASK_EL1
, x3
// encoding
: [0x03,0x14,0x18,0xd5]
55 // CHECK
: msr SCTLRMASK_EL2
, x3
// encoding
: [0x03,0x14,0x1c,0xd5]
56 msr SCTLRMASK_EL12
, x3
57 // CHECK
: msr SCTLRMASK_EL12
, x3
// encoding
: [0x03,0x14,0x1d,0xd5]
59 // CHECK
: msr CPACRMASK_EL1
, x3
// encoding
: [0x43,0x14,0x18,0xd5]
61 // CHECK
: msr CPTRMASK_EL2
, x3
// encoding
: [0x43,0x14,0x1c,0xd5]
62 msr CPACRMASK_EL12
, x3
63 // CHECK
: msr CPACRMASK_EL12
, x3
// encoding
: [0x43,0x14,0x1d,0xd5]
64 msr SCTLR2MASK_EL1
, x3
65 // CHECK
: msr SCTLR2MASK_EL1
, x3
// encoding
: [0x63,0x14,0x18,0xd5]
66 msr SCTLR2MASK_EL2
, x3
67 // CHECK
: msr SCTLR2MASK_EL2
, x3
// encoding
: [0x63,0x14,0x1c,0xd5]
68 msr SCTLR2MASK_EL12
, x3
69 // CHECK
: msr SCTLR2MASK_EL12
, x3
// encoding
: [0x63,0x14,0x1d,0xd5]
70 msr CPACRALIAS_EL1
, x3
71 // CHECK
: msr CPACRALIAS_EL1
, x3
// encoding
: [0x83,0x14,0x18,0xd5]
72 msr SCTLRALIAS_EL1
, x3
73 // CHECK
: msr SCTLRALIAS_EL1
, x3
// encoding
: [0xc3,0x14,0x18,0xd5]
74 msr SCTLR2ALIAS_EL1
, x3
75 // CHECK
: msr SCTLR2ALIAS_EL1
, x3
// encoding
: [0xe3,0x14,0x18,0xd5]
77 // CHECK
: msr TCRMASK_EL1
, x3
// encoding
: [0x43,0x27,0x18,0xd5]
79 // CHECK
: msr TCRMASK_EL2
, x3
// encoding
: [0x43,0x27,0x1c,0xd5]
81 // CHECK
: msr TCRMASK_EL12
, x3
// encoding
: [0x43,0x27,0x1d,0xd5]
83 // CHECK
: msr TCR2MASK_EL1
, x3
// encoding
: [0x63,0x27,0x18,0xd5]
85 // CHECK
: msr TCR2MASK_EL2
, x3
// encoding
: [0x63,0x27,0x1c,0xd5]
87 // CHECK
: msr TCR2MASK_EL12
, x3
// encoding
: [0x63,0x27,0x1d,0xd5]
89 // CHECK
: msr TCRALIAS_EL1
, x3
// encoding
: [0xc3,0x27,0x18,0xd5]
91 // CHECK
: msr TCR2ALIAS_EL1
, x3
// encoding
: [0xe3,0x27,0x18,0xd5]
93 // CHECK
: msr ACTLRMASK_EL1
, x3
// encoding
: [0x23,0x14,0x18,0xd5]
95 // CHECK
: msr ACTLRMASK_EL2
, x3
// encoding
: [0x23,0x14,0x1c,0xd5]
96 msr ACTLRMASK_EL12
, x3
97 // CHECK
: msr ACTLRMASK_EL12
, x3
// encoding
: [0x23,0x14,0x1d,0xd5]
98 msr ACTLRALIAS_EL1
, x3
99 // CHECK
: msr ACTLRALIAS_EL1
, x3
// encoding
: [0xa3,0x14,0x18,0xd5]