summaryrefslogtreecommitdiffstats
path: root/arch/arm64/tools/sysreg
blob: 4c9b679343674ab0ceaa04799654757391dd262c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
# SPDX-License-Identifier: GPL-2.0-only
#
# System register metadata

# Each System register is described by a Sysreg block:

# Sysreg 	<name>	<op0> 	<op1>	<crn>	<crm>	<op2>
# <field>
# ...
# EndSysreg

# Within a Sysreg block, each field can be described as one of:

# Res0	<msb>[:<lsb>]

# Res1	<msb>[:<lsb>]

# Unkn	<msb>[:<lsb>]

# Field	<msb>[:<lsb>]	<name>

# Enum	<msb>[:<lsb>]	<name>
#	<enumval>	<enumname>
#	...
# EndEnum

# Alternatively if multiple registers share the same layout then
# a SysregFields block can be used to describe the shared layout

# SysregFields	<fieldsname>
# <field>
# ...
# EndSysregFields

# and referenced from within the Sysreg:

# Sysreg 	<name>	<op0> 	<op1>	<crn>	<crm>	<op2>
# Fields	<fieldsname>
# EndSysreg

# For ID registers we adopt a few conventions for translating the
# language in the ARM into defines:
#
# NI  - Not implemented
# IMP - Implemented
#
# In general it is recommended that new enumeration items be named for the
# feature that introduces them (eg, FEAT_LS64_ACCDATA introduces enumeration
# item ACCDATA) though it may be more taseful to do something else.

Sysreg	OSDTRRX_EL1	2	0	0	0	2
Res0	63:32
Field	31:0	DTRRX
EndSysreg

Sysreg	MDCCINT_EL1	2	0	0	2	0
Res0	63:31
Field	30	RX
Field	29	TX
Res0	28:0
EndSysreg

Sysreg	MDSCR_EL1	2	0	0	2	2
Res0	63:36
Field	35	EHBWE
Field	34	EnSPM
Field	33	TTA
Field	32	EMBWE
Field	31	TFO
Field	30	RXfull
Field	29	TXfull
Res0	28
Field	27	RXO
Field	26	TXU
Res0	25:24
Field	23:22	INTdis
Field	21	TDA
Res0	20
Field	19	SC2
Res0	18:16
Field	15	MDE
Field	14	HDE
Field	13	KDE
Field	12	TDCC
Res0	11:7
Field	6	ERR
Res0	5:1
Field	0	SS
EndSysreg

Sysreg	OSDTRTX_EL1	2	0	0	3	2
Res0	63:32
Field	31:0	DTRTX
EndSysreg

Sysreg	OSECCR_EL1	2	0	0	6	2
Res0	63:32
Field	31:0	EDECCR
EndSysreg

Sysreg	OSLAR_EL1	2	0	1	0	4
Res0	63:1
Field	0	OSLK
EndSysreg

Sysreg ID_PFR0_EL1	3	0	0	1	0
Res0	63:32
UnsignedEnum	31:28	RAS
	0b0000	NI
	0b0001	RAS
	0b0010	RASv1p1
EndEnum
UnsignedEnum	27:24	DIT
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	23:20	AMU
	0b0000	NI
	0b0001	AMUv1
	0b0010	AMUv1p1
EndEnum
UnsignedEnum	19:16	CSV2
	0b0000	UNDISCLOSED
	0b0001	IMP
	0b0010	CSV2p1
EndEnum
UnsignedEnum	15:12	State3
	0b0000	NI
	0b0001	IMP
EndEnum
Enum	11:8	State2
	0b0000	NI
	0b0001	NO_CV
	0b0010	CV
EndEnum
UnsignedEnum	7:4	State1
	0b0000	NI
	0b0001	THUMB
	0b0010	THUMB2
EndEnum
UnsignedEnum	3:0	State0
	0b0000	NI
	0b0001	IMP
EndEnum
EndSysreg

Sysreg ID_PFR1_EL1	3	0	0	1	1
Res0	63:32
UnsignedEnum	31:28	GIC
	0b0000	NI
	0b0001	GICv3
	0b0010	GICv4p1
EndEnum
UnsignedEnum	27:24	Virt_frac
	0b0000	NI
	0b0001	IMP
EndEnum
Enum	23:20	Sec_frac
	0b0000	NI
	0b0001	WALK_DISABLE
	0b0010	SECURE_MEMORY
EndEnum
UnsignedEnum	19:16	GenTimer
	0b0000	NI
	0b0001	IMP
	0b0010	ECV
EndEnum
UnsignedEnum	15:12	Virtualization
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	11:8	MProgMod
	0b0000	NI
	0b0001	IMP
EndEnum
Enum	7:4	Security
	0b0000	NI
	0b0001	EL3
	0b0001	NSACR_RFR
EndEnum
UnsignedEnum	3:0	ProgMod
	0b0000	NI
	0b0001	IMP
EndEnum
EndSysreg

Sysreg ID_DFR0_EL1	3	0	0	1	2
Res0	63:32
UnsignedEnum	31:28	TraceFilt
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	27:24	PerfMon
	0b0000	NI
	0b0001	PMUv1
	0b0010	PMUv2
	0b0011	PMUv3
	0b0100	PMUv3p1
	0b0101	PMUv3p4
	0b0110	PMUv3p5
	0b0111	PMUv3p7
	0b1000	PMUv3p8
	0b1111	IMPDEF
EndEnum
Enum	23:20	MProfDbg
	0b0000	NI
	0b0001	IMP
EndEnum
Enum	19:16	MMapTrc
	0b0000	NI
	0b0001	IMP
EndEnum
Enum	15:12	CopTrc
	0b0000	NI
	0b0001	IMP
EndEnum
Enum	11:8	MMapDbg
	0b0000	NI
	0b0100	Armv7
	0b0101	Armv7p1
EndEnum
Field	7:4	CopSDbg
Enum	3:0	CopDbg
	0b0000	NI
	0b0010	Armv6
	0b0011	Armv6p1
	0b0100	Armv7
	0b0101	Armv7p1
	0b0110	Armv8
	0b0111	VHE
	0b1000	Debugv8p2
	0b1001	Debugv8p4
	0b1010	Debugv8p8
EndEnum
EndSysreg

Sysreg ID_AFR0_EL1	3	0	0	1	3
Res0	63:16
Field	15:12	IMPDEF3
Field	11:8	IMPDEF2
Field	7:4	IMPDEF1
Field	3:0	IMPDEF0
EndSysreg

Sysreg ID_MMFR0_EL1	3	0	0	1	4
Res0	63:32
Enum	31:28	InnerShr
	0b0000	NC
	0b0001	HW
	0b1111	IGNORED
EndEnum
UnsignedEnum	27:24	FCSE
	0b0000	NI
	0b0001	IMP
EndEnum
Enum	23:20	AuxReg
	0b0000	NI
	0b0001	ACTLR
	0b0010	AIFSR
EndEnum
Enum	19:16	TCM
	0b0000	NI
	0b0001	IMPDEF
	0b0010	TCM
	0b0011	TCM_DMA
EndEnum
Enum	15:12	ShareLvl
	0b0000	ONE
	0b0001	TWO
EndEnum
Enum	11:8	OuterShr
	0b0000	NC
	0b0001	HW
	0b1111	IGNORED
EndEnum
Enum	7:4	PMSA
	0b0000	NI
	0b0001	IMPDEF
	0b0010	PMSAv6
	0b0011	PMSAv7
EndEnum
Enum	3:0	VMSA
	0b0000	NI
	0b0001	IMPDEF
	0b0010	VMSAv6
	0b0011	VMSAv7
	0b0100	VMSAv7_PXN
	0b0101	VMSAv7_LONG
EndEnum
EndSysreg

Sysreg ID_MMFR1_EL1	3	0	0	1	5
Res0	63:32
Enum	31:28	BPred
	0b0000	NI
	0b0001	BP_SW_MANGED
	0b0010	BP_ASID_AWARE
	0b0011	BP_NOSNOOP
	0b0100	BP_INVISIBLE
EndEnum
Enum	27:24	L1TstCln
	0b0000	NI
	0b0001	NOINVALIDATE
	0b0010	INVALIDATE
EndEnum
Enum	23:20	L1Uni
	0b0000	NI
	0b0001	INVALIDATE
	0b0010	CLEAN_AND_INVALIDATE
EndEnum
Enum	19:16	L1Hvd
	0b0000	NI
	0b0001	INVALIDATE_ISIDE_ONLY
	0b0010	INVALIDATE
	0b0011	CLEAN_AND_INVALIDATE
EndEnum
Enum	15:12	L1UniSW
	0b0000	NI
	0b0001	CLEAN
	0b0010	CLEAN_AND_INVALIDATE
	0b0011	INVALIDATE
EndEnum
Enum	11:8	L1HvdSW
	0b0000	NI
	0b0001	CLEAN_AND_INVALIDATE
	0b0010	INVALIDATE_DSIDE_ONLY
	0b0011	INVALIDATE
EndEnum
Enum	7:4	L1UniVA
	0b0000	NI
	0b0001	CLEAN_AND_INVALIDATE
	0b0010	INVALIDATE_BP
EndEnum
Enum	3:0	L1HvdVA
	0b0000	NI
	0b0001	CLEAN_AND_INVALIDATE
	0b0010	INVALIDATE_BP
EndEnum
EndSysreg

Sysreg ID_MMFR2_EL1	3	0	0	1	6
Res0	63:32
Enum	31:28	HWAccFlg
	0b0000	NI
	0b0001	IMP
EndEnum
Enum	27:24	WFIStall
	0b0000	NI
	0b0001	IMP
EndEnum
Enum	23:20	MemBarr
	0b0000	NI
	0b0001	DSB_ONLY
	0b0010	IMP
EndEnum
Enum	19:16	UniTLB
	0b0000	NI
	0b0001	BY_VA
	0b0010	BY_MATCH_ASID
	0b0011	BY_ALL_ASID
	0b0100	OTHER_TLBS
	0b0101	BROADCAST
	0b0110	BY_IPA
EndEnum
Enum	15:12	HvdTLB
	0b0000	NI
EndEnum
Enum	11:8	L1HvdRng
	0b0000	NI
	0b0001	IMP
EndEnum
Enum	7:4	L1HvdBG
	0b0000	NI
	0b0001	IMP
EndEnum
Enum	3:0	L1HvdFG
	0b0000	NI
	0b0001	IMP
EndEnum
EndSysreg

Sysreg ID_MMFR3_EL1	3	0	0	1	7
Res0	63:32
Enum	31:28	Supersec
	0b0000	IMP
	0b1111	NI
EndEnum
Enum	27:24	CMemSz
	0b0000	4GB
	0b0001	64GB
	0b0010	1TB
EndEnum
Enum	23:20	CohWalk
	0b0000	NI
	0b0001	IMP
EndEnum
Enum	19:16	PAN
	0b0000	NI
	0b0001	PAN
	0b0010	PAN2
EndEnum
Enum	15:12	MaintBcst
	0b0000	NI
	0b0001	NO_TLB
	0b0010	ALL
EndEnum
Enum	11:8	BPMaint
	0b0000	NI
	0b0001	ALL
	0b0010	BY_VA
EndEnum
Enum	7:4	CMaintSW
	0b0000	NI
	0b0001	IMP
EndEnum
Enum	3:0	CMaintVA
	0b0000	NI
	0b0001	IMP
EndEnum
EndSysreg

Sysreg ID_ISAR0_EL1	3	0	0	2	0
Res0	63:28
Enum	27:24	Divide
	0b0000	NI
	0b0001	xDIV_T32
	0b0010	xDIV_A32
EndEnum
UnsignedEnum	23:20	Debug
	0b0000	NI
	0b0001	IMP
EndEnum
Enum	19:16	Coproc
	0b0000	NI
	0b0001	MRC
	0b0010	MRC2
	0b0011	MRRC
	0b0100	MRRC2
EndEnum
UnsignedEnum	15:12	CmpBranch
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	11:8	BitField
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	7:4	BitCount
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	3:0	Swap
	0b0000	NI
	0b0001	IMP
EndEnum
EndSysreg

Sysreg ID_ISAR1_EL1	3	0	0	2	1
Res0	63:32
Enum	31:28	Jazelle
	0b0000	NI
	0b0001	IMP
EndEnum
Enum	27:24	Interwork
	0b0000	NI
	0b0001	BX
	0b0010	BLX
	0b0011	A32_BX
EndEnum
Enum	23:20	Immediate
	0b0000	NI
	0b0001	IMP
EndEnum
Enum	19:16	IfThen
	0b0000	NI
	0b0001	IMP
EndEnum
Enum	15:12	Extend
	0b0000	NI
	0b0001	SXTB
	0b0010	SXTB16
EndEnum
Enum	11:8	Except_AR
	0b0000	NI
	0b0001	IMP
EndEnum
Enum	7:4	Except
	0b0000	NI
	0b0001	IMP
EndEnum
Enum	3:0	Endian
	0b0000	NI
	0b0001	IMP
EndEnum
EndSysreg

Sysreg ID_ISAR2_EL1	3	0	0	2	2
Res0	63:32
Enum	31:28	Reversal
	0b0000	NI
	0b0001	REV
	0b0010	RBIT
EndEnum
Enum	27:24	PSR_AR
	0b0000	NI
	0b0001	IMP
EndEnum
Enum	23:20	MultU
	0b0000	NI
	0b0001	UMULL
	0b0010	UMAAL
EndEnum
Enum	19:16	MultS
	0b0000	NI
	0b0001	SMULL
	0b0010	SMLABB
	0b0011	SMLAD
EndEnum
Enum	15:12	Mult
	0b0000	NI
	0b0001	MLA
	0b0010	MLS
EndEnum
Enum	11:8	MultiAccessInt
	0b0000	NI
	0b0001	RESTARTABLE
	0b0010	CONTINUABLE
EndEnum
Enum	7:4	MemHint
	0b0000	NI
	0b0001	PLD
	0b0010	PLD2
	0b0011	PLI
	0b0100	PLDW
EndEnum
Enum	3:0	LoadStore
	0b0000	NI
	0b0001	DOUBLE
	0b0010	ACQUIRE
EndEnum
EndSysreg

Sysreg ID_ISAR3_EL1	3	0	0	2	3
Res0	63:32
Enum	31:28	T32EE
	0b0000	NI
	0b0001	IMP
EndEnum
Enum	27:24	TrueNOP
	0b0000	NI
	0b0001	IMP
EndEnum
Enum	23:20	T32Copy
	0b0000	NI
	0b0001	IMP
EndEnum
Enum	19:16	TabBranch
	0b0000	NI
	0b0001	IMP
EndEnum
Enum	15:12	SynchPrim
	0b0000	NI
	0b0001	EXCLUSIVE
	0b0010	DOUBLE
EndEnum
Enum	11:8	SVC
	0b0000	NI
	0b0001	IMP
EndEnum
Enum	7:4	SIMD
	0b0000	NI
	0b0001	SSAT
	0b0011	PKHBT
EndEnum
Enum	3:0	Saturate
	0b0000	NI
	0b0001	IMP
EndEnum
EndSysreg

Sysreg ID_ISAR4_EL1	3	0	0	2	4
Res0	63:32
Enum	31:28	SWP_frac
	0b0000	NI
	0b0001	IMP
EndEnum
Enum	27:24	PSR_M
	0b0000	NI
	0b0001	IMP
EndEnum
Enum	23:20	SynchPrim_frac
	0b0000	NI
	0b0011	IMP
EndEnum
Enum	19:16	Barrier
	0b0000	NI
	0b0001	IMP
EndEnum
Enum	15:12	SMC
	0b0000	NI
	0b0001	IMP
EndEnum
Enum	11:8	Writeback
	0b0000	NI
	0b0001	IMP
EndEnum
Enum	7:4	WithShifts
	0b0000	NI
	0b0001	LSL3
	0b0011	LS
	0b0100	REG
EndEnum
Enum	3:0	Unpriv
	0b0000	NI
	0b0001	REG_BYTE
	0b0010	SIGNED_HALFWORD
EndEnum
EndSysreg

Sysreg ID_ISAR5_EL1	3	0	0	2	5
Res0	63:32
UnsignedEnum	31:28	VCMA
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	27:24	RDM
	0b0000	NI
	0b0001	IMP
EndEnum
Res0	23:20
UnsignedEnum	19:16	CRC32
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	15:12	SHA2
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	11:8	SHA1
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	7:4	AES
	0b0000	NI
	0b0001	IMP
	0b0010  VMULL
EndEnum
UnsignedEnum	3:0	SEVL
	0b0000	NI
	0b0001	IMP
EndEnum
EndSysreg

Sysreg ID_ISAR6_EL1	3	0	0	2	7
Res0	63:28
UnsignedEnum	27:24	I8MM
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	23:20	BF16
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	19:16	SPECRES
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	15:12	SB
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	11:8	FHM
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	7:4	DP
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	3:0	JSCVT
	0b0000	NI
	0b0001	IMP
EndEnum
EndSysreg

Sysreg ID_MMFR4_EL1	3	0	0	2	6
Res0	63:32
UnsignedEnum	31:28	EVT
	0b0000	NI
	0b0001	NO_TLBIS
	0b0010	TLBIS
EndEnum
UnsignedEnum	27:24	CCIDX
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	23:20	LSM
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	19:16	HPDS
	0b0000	NI
	0b0001	AA32HPD
	0b0010	HPDS2
EndEnum
UnsignedEnum	15:12	CnP
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	11:8	XNX
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	7:4	AC2
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	3:0	SpecSEI
	0b0000	NI
	0b0001	IMP
EndEnum
EndSysreg

Sysreg MVFR0_EL1	3	0	0	3	0
Res0	63:32
UnsignedEnum	31:28	FPRound
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	27:24	FPShVec
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	23:20	FPSqrt
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	19:16	FPDivide
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	15:12	FPTrap
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	11:8	FPDP
	0b0000	NI
	0b0001	VFPv2
	0b0010	VFPv3
EndEnum
UnsignedEnum	7:4	FPSP
	0b0000	NI
	0b0001	VFPv2
	0b0010	VFPv3
EndEnum
Enum	3:0	SIMDReg
	0b0000	NI
	0b0001	IMP_16x64
	0b0010	IMP_32x64
EndEnum
EndSysreg

Sysreg MVFR1_EL1	3	0	0	3	1
Res0	63:32
UnsignedEnum	31:28	SIMDFMAC
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	27:24	FPHP
	0b0000	NI
	0b0001	FPHP
	0b0010	FPHP_CONV
	0b0011	FP16
EndEnum
UnsignedEnum	23:20	SIMDHP
	0b0000	NI
	0b0001	SIMDHP
	0b0010	SIMDHP_FLOAT
EndEnum
UnsignedEnum	19:16	SIMDSP
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	15:12	SIMDInt
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	11:8	SIMDLS
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	7:4	FPDNaN
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	3:0	FPFtZ
	0b0000	NI
	0b0001	IMP
EndEnum
EndSysreg

Sysreg MVFR2_EL1	3	0	0	3	2
Res0	63:8
Enum	7:4	FPMisc
	0b0000	NI
	0b0001	FP
	0b0010	FP_DIRECTED_ROUNDING
	0b0011	FP_ROUNDING
	0b0100	FP_MAX_MIN
EndEnum
Enum	3:0	SIMDMisc
	0b0000	NI
	0b0001	SIMD_DIRECTED_ROUNDING
	0b0010	SIMD_ROUNDING
	0b0011	SIMD_MAX_MIN
EndEnum
EndSysreg

Sysreg ID_PFR2_EL1	3	0	0	3	4
Res0	63:12
UnsignedEnum	11:8	RAS_frac
	0b0000	NI
	0b0001	RASv1p1
EndEnum
UnsignedEnum	7:4	SSBS
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	3:0	CSV3
	0b0000	NI
	0b0001	IMP
EndEnum
EndSysreg

Sysreg ID_DFR1_EL1	3	0	0	3	5
Res0	63:8
UnsignedEnum	7:4	HPMN0
	0b0000	NI
	0b0001	IMP
EndEnum
Enum	3:0	MTPMU
	0b0000	IMPDEF
	0b0001	IMP
	0b1111	NI
EndEnum
EndSysreg

Sysreg ID_MMFR5_EL1	3	0	0	3	6
Res0	63:8
UnsignedEnum	7:4	nTLBPA
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	3:0	ETS
	0b0000	NI
	0b0001	IMP
EndEnum
EndSysreg

Sysreg	ID_AA64PFR0_EL1	3	0	0	4	0
UnsignedEnum	63:60	CSV3
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	59:56	CSV2
	0b0000	NI
	0b0001	IMP
	0b0010	CSV2_2
	0b0011	CSV2_3
EndEnum
UnsignedEnum	55:52	RME
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	51:48	DIT
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	47:44	AMU
	0b0000	NI
	0b0001	IMP
	0b0010	V1P1
EndEnum
UnsignedEnum	43:40	MPAM
	0b0000	0
	0b0001	1
EndEnum
UnsignedEnum	39:36	SEL2
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	35:32	SVE
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	31:28	RAS
	0b0000	NI
	0b0001	IMP
	0b0010	V1P1
EndEnum
UnsignedEnum	27:24	GIC
	0b0000	NI
	0b0001	IMP
	0b0010	V4P1
EndEnum
SignedEnum	23:20	AdvSIMD
	0b0000	IMP
	0b0001	FP16
	0b1111	NI
EndEnum
SignedEnum	19:16	FP
	0b0000	IMP
	0b0001	FP16
	0b1111	NI
EndEnum
UnsignedEnum	15:12	EL3
	0b0000	NI
	0b0001	IMP
	0b0010	AARCH32
EndEnum
UnsignedEnum	11:8	EL2
	0b0000	NI
	0b0001	IMP
	0b0010	AARCH32
EndEnum
UnsignedEnum	7:4	EL1
	0b0001	IMP
	0b0010	AARCH32
EndEnum
UnsignedEnum	3:0	EL0
	0b0001	IMP
	0b0010	AARCH32
EndEnum
EndSysreg

Sysreg	ID_AA64PFR1_EL1	3	0	0	4	1
UnsignedEnum	63:60	PFAR
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	59:56	DF2
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	55:52	MTEX
	0b0000	MTE
	0b0001	MTE4
EndEnum
UnsignedEnum	51:48	THE
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	47:44	GCS
	0b0000	NI
	0b0001	IMP
EndEnum
Enum	43:40	MTE_frac
	0b0000	ASYNC
	0b1111	NI
EndEnum
UnsignedEnum	39:36	NMI
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	35:32	CSV2_frac
	0b0000	NI
	0b0001	CSV2_1p1
	0b0010	CSV2_1p2
EndEnum
UnsignedEnum	31:28	RNDR_trap
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	27:24	SME
	0b0000	NI
	0b0001	IMP
	0b0010	SME2
EndEnum
Res0	23:20
UnsignedEnum	19:16	MPAM_frac
	0b0000	MINOR_0
	0b0001	MINOR_1
EndEnum
UnsignedEnum	15:12	RAS_frac
	0b0000	NI
	0b0001	RASv1p1
EndEnum
UnsignedEnum	11:8	MTE
	0b0000	NI
	0b0001	IMP
	0b0010	MTE2
	0b0011	MTE3
EndEnum
UnsignedEnum	7:4	SSBS
	0b0000	NI
	0b0001	IMP
	0b0010	SSBS2
EndEnum
UnsignedEnum	3:0	BT
	0b0000	NI
	0b0001	IMP
EndEnum
EndSysreg

Sysreg	ID_AA64PFR2_EL1	3	0	0	4	2
Res0	63:36
UnsignedEnum	35:32	FPMR
	0b0000	NI
	0b0001	IMP
EndEnum
Res0	31:12
UnsignedEnum	11:8	MTEFAR
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	7:4	MTESTOREONLY
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	3:0	MTEPERM
	0b0000	NI
	0b0001	IMP
EndEnum
EndSysreg

Sysreg	ID_AA64ZFR0_EL1	3	0	0	4	4
Res0	63:60
UnsignedEnum	59:56	F64MM
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	55:52	F32MM
	0b0000	NI
	0b0001	IMP
EndEnum
Res0	51:48
UnsignedEnum	47:44	I8MM
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	43:40	SM4
	0b0000	NI
	0b0001	IMP
EndEnum
Res0	39:36
UnsignedEnum	35:32	SHA3
	0b0000	NI
	0b0001	IMP
EndEnum
Res0	31:28
UnsignedEnum	27:24	B16B16
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	23:20	BF16
	0b0000	NI
	0b0001	IMP
	0b0010	EBF16
EndEnum
UnsignedEnum	19:16	BitPerm
	0b0000	NI
	0b0001	IMP
EndEnum
Res0	15:8
UnsignedEnum	7:4	AES
	0b0000	NI
	0b0001	IMP
	0b0010	PMULL128
EndEnum
UnsignedEnum	3:0	SVEver
	0b0000	IMP
	0b0001	SVE2
	0b0010	SVE2p1
EndEnum
EndSysreg

Sysreg	ID_AA64SMFR0_EL1	3	0	0	4	5
UnsignedEnum	63	FA64
	0b0	NI
	0b1	IMP
EndEnum
Res0	62:61
UnsignedEnum	60	LUTv2
	0b0	NI
	0b1	IMP
EndEnum
UnsignedEnum	59:56	SMEver
	0b0000	SME
	0b0001	SME2
	0b0010	SME2p1
	0b0000	IMP
EndEnum
UnsignedEnum	55:52	I16I64
	0b0000	NI
	0b1111	IMP
EndEnum
Res0	51:49
UnsignedEnum	48	F64F64
	0b0	NI
	0b1	IMP
EndEnum
UnsignedEnum	47:44	I16I32
	0b0000	NI
	0b0101	IMP
EndEnum
UnsignedEnum	43	B16B16
	0b0	NI
	0b1	IMP
EndEnum
UnsignedEnum	42	F16F16
	0b0	NI
	0b1	IMP
EndEnum
UnsignedEnum	41	F8F16
	0b0	NI
	0b1	IMP
EndEnum
UnsignedEnum	40	F8F32
	0b0	NI
	0b1	IMP
EndEnum
UnsignedEnum	39:36	I8I32
	0b0000	NI
	0b1111	IMP
EndEnum
UnsignedEnum	35	F16F32
	0b0	NI
	0b1	IMP
EndEnum
UnsignedEnum	34	B16F32
	0b0	NI
	0b1	IMP
EndEnum
UnsignedEnum	33	BI32I32
	0b0	NI
	0b1	IMP
EndEnum
UnsignedEnum	32	F32F32
	0b0	NI
	0b1	IMP
EndEnum
Res0	31
UnsignedEnum	30	SF8FMA
	0b0	NI
	0b1	IMP
EndEnum
UnsignedEnum	29	SF8DP4
	0b0	NI
	0b1	IMP
EndEnum
UnsignedEnum	28	SF8DP2
	0b0	NI
	0b1	IMP
EndEnum
Res0	27:0
EndSysreg

Sysreg	ID_AA64FPFR0_EL1	3	0	0	4	7
Res0	63:32
UnsignedEnum	31	F8CVT
	0b0	NI
	0b1	IMP
EndEnum
UnsignedEnum	30	F8FMA
	0b0	NI
	0b1	IMP
EndEnum
UnsignedEnum	29	F8DP4
	0b0	NI
	0b1	IMP
EndEnum
UnsignedEnum	28	F8DP2
	0b0	NI
	0b1	IMP
EndEnum
Res0	27:2
UnsignedEnum	1	F8E4M3
	0b0	NI
	0b1	IMP
EndEnum
UnsignedEnum	0	F8E5M2
	0b0	NI
	0b1	IMP
EndEnum
EndSysreg

Sysreg	ID_AA64DFR0_EL1	3	0	0	5	0
Enum	63:60	HPMN0
	0b0000	UNPREDICTABLE
	0b0001	DEF
EndEnum
UnsignedEnum	59:56	ExtTrcBuff
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	55:52	BRBE
	0b0000	NI
	0b0001	IMP
	0b0010	BRBE_V1P1
EndEnum
Enum	51:48	MTPMU
	0b0000	NI_IMPDEF
	0b0001	IMP
	0b1111	NI
EndEnum
UnsignedEnum	47:44	TraceBuffer
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	43:40	TraceFilt
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	39:36	DoubleLock
	0b0000	IMP
	0b1111	NI
EndEnum
UnsignedEnum	35:32	PMSVer
	0b0000	NI
	0b0001	IMP
	0b0010	V1P1
	0b0011	V1P2
	0b0100	V1P3
EndEnum
Field	31:28	CTX_CMPs
Res0	27:24
Field	23:20	WRPs
Res0	19:16
Field	15:12	BRPs
UnsignedEnum	11:8	PMUVer
	0b0000	NI
	0b0001	IMP
	0b0100	V3P1
	0b0101	V3P4
	0b0110	V3P5
	0b0111	V3P7
	0b1000	V3P8
	0b1111	IMP_DEF
EndEnum
UnsignedEnum	7:4	TraceVer
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	3:0	DebugVer
	0b0110	IMP
	0b0111	VHE
	0b1000	V8P2
	0b1001	V8P4
	0b1010	V8P8
EndEnum
EndSysreg

Sysreg	ID_AA64DFR1_EL1	3	0	0	5	1
Res0	63:0
EndSysreg

Sysreg	ID_AA64AFR0_EL1	3	0	0	5	4
Res0	63:32
Field	31:28	IMPDEF7
Field	27:24	IMPDEF6
Field	23:20	IMPDEF5
Field	19:16	IMPDEF4
Field	15:12	IMPDEF3
Field	11:8	IMPDEF2
Field	7:4	IMPDEF1
Field	3:0	IMPDEF0
EndSysreg

Sysreg	ID_AA64AFR1_EL1	3	0	0	5	5
Res0	63:0
EndSysreg

Sysreg	ID_AA64ISAR0_EL1	3	0	0	6	0
UnsignedEnum	63:60	RNDR
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	59:56	TLB
	0b0000	NI
	0b0001	OS
	0b0010	RANGE
EndEnum
UnsignedEnum	55:52	TS
	0b0000	NI
	0b0001	FLAGM
	0b0010	FLAGM2
EndEnum
UnsignedEnum	51:48	FHM
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	47:44	DP
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	43:40	SM4
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	39:36	SM3
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	35:32	SHA3
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	31:28	RDM
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	27:24	TME
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	23:20	ATOMIC
	0b0000	NI
	0b0010	IMP
	0b0011	FEAT_LSE128
EndEnum
UnsignedEnum	19:16	CRC32
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	15:12	SHA2
	0b0000	NI
	0b0001	SHA256
	0b0010	SHA512
EndEnum
UnsignedEnum	11:8	SHA1
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	7:4	AES
	0b0000	NI
	0b0001	AES
	0b0010	PMULL
EndEnum
Res0	3:0
EndSysreg

Sysreg	ID_AA64ISAR1_EL1	3	0	0	6	1
UnsignedEnum	63:60	LS64
	0b0000	NI
	0b0001	LS64
	0b0010	LS64_V
	0b0011	LS64_ACCDATA
EndEnum
UnsignedEnum	59:56	XS
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	55:52	I8MM
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	51:48	DGH
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	47:44	BF16
	0b0000	NI
	0b0001	IMP
	0b0010	EBF16
EndEnum
UnsignedEnum	43:40	SPECRES
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	39:36	SB
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	35:32	FRINTTS
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	31:28	GPI
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	27:24	GPA
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	23:20	LRCPC
	0b0000	NI
	0b0001	IMP
	0b0010	LRCPC2
	0b0011	LRCPC3
EndEnum
UnsignedEnum	19:16	FCMA
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	15:12	JSCVT
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	11:8	API
	0b0000	NI
	0b0001	PAuth
	0b0010	EPAC
	0b0011	PAuth2
	0b0100	FPAC
	0b0101	FPACCOMBINE
	0b0110	PAuth_LR
EndEnum
UnsignedEnum	7:4	APA
	0b0000	NI
	0b0001	PAuth
	0b0010	EPAC
	0b0011	PAuth2
	0b0100	FPAC
	0b0101	FPACCOMBINE
	0b0110	PAuth_LR
EndEnum
UnsignedEnum	3:0	DPB
	0b0000	NI
	0b0001	IMP
	0b0010	DPB2
EndEnum
EndSysreg

Sysreg	ID_AA64ISAR2_EL1	3	0	0	6	2
UnsignedEnum	63:60	ATS1A
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	59:56	LUT
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	55:52	CSSC
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	51:48	RPRFM
	0b0000	NI
	0b0001	IMP
EndEnum
Res0	47:44
UnsignedEnum	43:40	PRFMSLC
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	39:36	SYSINSTR_128
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	35:32	SYSREG_128
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	31:28	CLRBHB
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	27:24	PAC_frac
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	23:20	BC
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	19:16	MOPS
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	15:12	APA3
	0b0000	NI
	0b0001	PAuth
	0b0010	EPAC
	0b0011	PAuth2
	0b0100	FPAC
	0b0101	FPACCOMBINE
	0b0110	PAuth_LR
EndEnum
UnsignedEnum	11:8	GPA3
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	7:4	RPRES
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	3:0	WFxT
	0b0000	NI
	0b0010	IMP
EndEnum
EndSysreg

Sysreg	ID_AA64ISAR3_EL1	3	0	0	6	3
Res0	63:12
UnsignedEnum	11:8	TLBIW
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	7:4	FAMINMAX
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	3:0	CPA
	0b0000	NI
	0b0001	IMP
	0b0010	CPA2
EndEnum
EndSysreg

Sysreg	ID_AA64MMFR0_EL1	3	0	0	7	0
UnsignedEnum	63:60	ECV
	0b0000	NI
	0b0001	IMP
	0b0010	CNTPOFF
EndEnum
UnsignedEnum	59:56	FGT
	0b0000	NI
	0b0001	IMP
EndEnum
Res0	55:48
UnsignedEnum	47:44	EXS
	0b0000	NI
	0b0001	IMP
EndEnum
Enum	43:40	TGRAN4_2
	0b0000	TGRAN4
	0b0001	NI
	0b0010	IMP
	0b0011	52_BIT
EndEnum
Enum	39:36	TGRAN64_2
	0b0000	TGRAN64
	0b0001	NI
	0b0010	IMP
EndEnum
Enum	35:32	TGRAN16_2
	0b0000	TGRAN16
	0b0001	NI
	0b0010	IMP
	0b0011	52_BIT
EndEnum
Enum	31:28	TGRAN4
	0b0000	IMP
	0b0001	52_BIT
	0b1111	NI
EndEnum
Enum	27:24	TGRAN64
	0b0000	IMP
	0b1111	NI
EndEnum
Enum	23:20	TGRAN16
	0b0000	NI
	0b0001	IMP
	0b0010	52_BIT
EndEnum
UnsignedEnum	19:16	BIGENDEL0
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	15:12	SNSMEM
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	11:8	BIGEND
	0b0000	NI
	0b0001	IMP
EndEnum
Enum	7:4	ASIDBITS
	0b0000	8
	0b0010	16
EndEnum
Enum	3:0	PARANGE
	0b0000	32
	0b0001	36
	0b0010	40
	0b0011	42
	0b0100	44
	0b0101	48
	0b0110	52
EndEnum
EndSysreg

Sysreg	ID_AA64MMFR1_EL1	3	0	0	7	1
UnsignedEnum	63:60	ECBHB
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	59:56	CMOW
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	55:52	TIDCP1
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	51:48	nTLBPA
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	47:44	AFP
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	43:40	HCX
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	39:36	ETS
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	35:32	TWED
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	31:28	XNX
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	27:24	SpecSEI
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	23:20	PAN
	0b0000	NI
	0b0001	IMP
	0b0010	PAN2
	0b0011	PAN3
EndEnum
UnsignedEnum	19:16	LO
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	15:12	HPDS
	0b0000	NI
	0b0001	IMP
	0b0010	HPDS2
EndEnum
UnsignedEnum	11:8	VH
	0b0000	NI
	0b0001	IMP
EndEnum
Enum	7:4	VMIDBits
	0b0000	8
	0b0010	16
EndEnum
UnsignedEnum	3:0	HAFDBS
	0b0000	NI
	0b0001	AF
	0b0010	DBM
EndEnum
EndSysreg

Sysreg	ID_AA64MMFR2_EL1	3	0	0	7	2
UnsignedEnum	63:60	E0PD
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	59:56	EVT
	0b0000	NI
	0b0001	IMP
	0b0010	TTLBxS
EndEnum
UnsignedEnum	55:52	BBM
	0b0000	0
	0b0001	1
	0b0010	2
EndEnum
UnsignedEnum	51:48	TTL
	0b0000	NI
	0b0001	IMP
EndEnum
Res0	47:44
UnsignedEnum	43:40	FWB
	0b0000	NI
	0b0001	IMP
EndEnum
Enum	39:36	IDS
	0b0000	0x0
	0b0001	0x18
EndEnum
UnsignedEnum	35:32	AT
	0b0000	NI
	0b0001	IMP
EndEnum
Enum	31:28	ST
	0b0000	39
	0b0001	48_47
EndEnum
UnsignedEnum	27:24	NV
	0b0000	NI
	0b0001	IMP
	0b0010	NV2
EndEnum
Enum	23:20	CCIDX
	0b0000	32
	0b0001	64
EndEnum
Enum	19:16	VARange
	0b0000	48
	0b0001	52
EndEnum
UnsignedEnum	15:12	IESB
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	11:8	LSM
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	7:4	UAO
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	3:0	CnP
	0b0000	NI
	0b0001	IMP
EndEnum
EndSysreg

Sysreg	ID_AA64MMFR3_EL1	3	0	0	7	3
UnsignedEnum	63:60	Spec_FPACC
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	59:56	ADERR
	0b0000	NI
	0b0001	DEV_ASYNC
	0b0010	FEAT_ADERR
	0b0011	FEAT_ADERR_IND
EndEnum
UnsignedEnum	55:52	SDERR
	0b0000	NI
	0b0001	DEV_SYNC
	0b0010	FEAT_ADERR
	0b0011	FEAT_ADERR_IND
EndEnum
Res0	51:48
UnsignedEnum	47:44	ANERR
	0b0000	NI
	0b0001	ASYNC
	0b0010	FEAT_ANERR
	0b0011	FEAT_ANERR_IND
EndEnum
UnsignedEnum	43:40	SNERR
	0b0000	NI
	0b0001	SYNC
	0b0010	FEAT_ANERR
	0b0011	FEAT_ANERR_IND
EndEnum
UnsignedEnum	39:36	D128_2
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	35:32	D128
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	31:28	MEC
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	27:24	AIE
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	23:20	S2POE
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	19:16	S1POE
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	15:12	S2PIE
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	11:8	S1PIE
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	7:4	SCTLRX
	0b0000	NI
	0b0001	IMP
EndEnum
UnsignedEnum	3:0	TCRX
	0b0000	NI
	0b0001	IMP
EndEnum
EndSysreg

Sysreg	SCTLR_EL1	3	0	1	0	0
Field	63	TIDCP
Field	62	SPINTMASK
Field	61	NMI
Field	60	EnTP2
Field	59	TCSO
Field	58	TCSO0
Field	57	EPAN
Field	56	EnALS
Field	55	EnAS0
Field	54	EnASR
Field	53	TME
Field	52	TME0
Field	51	TMT
Field	50	TMT0
Field	49:46	TWEDEL
Field	45	TWEDEn
Field	44	DSSBS
Field	43	ATA
Field	42	ATA0
Enum	41:40	TCF
	0b00	NONE
	0b01	SYNC
	0b10	ASYNC
	0b11	ASYMM
EndEnum
Enum	39:38	TCF0
	0b00	NONE
	0b01	SYNC
	0b10	ASYNC
	0b11	ASYMM
EndEnum
Field	37	ITFSB
Field	36	BT1
Field	35	BT0
Field	34	EnFPM
Field	33	MSCEn
Field	32	CMOW
Field	31	EnIA
Field	30	EnIB
Field	29	LSMAOE
Field	28	nTLSMD
Field	27	EnDA
Field	26	UCI
Field	25	EE
Field	24	E0E
Field	23	SPAN
Field	22	EIS
Field	21	IESB
Field	20	TSCXT
Field	19	WXN
Field	18	nTWE
Res0	17
Field	16	nTWI
Field	15	UCT
Field	14	DZE
Field	13	EnDB
Field	12	I
Field	11	EOS
Field	10	EnRCTX
Field	9	UMA
Field	8	SED
Field	7	ITD
Field	6	nAA
Field	5	CP15BEN
Field	4	SA0
Field	3	SA
Field	2	C
Field	1	A
Field	0	M
EndSysreg

SysregFields	CPACR_ELx
Res0	63:30
Field	29	E0POE
Field	28	TTA
Res0	27:26
Field	25:24	SMEN
Res0	23:22
Field	21:20	FPEN
Res0	19:18
Field	17:16	ZEN
Res0	15:0
EndSysregFields

Sysreg	CPACR_EL1	3	0	1	0	2
Fields	CPACR_ELx
EndSysreg

Sysreg	SMPRI_EL1	3	0	1	2	4
Res0	63:4
Field	3:0	PRIORITY
EndSysreg

SysregFields	ZCR_ELx
Res0	63:9
Raz	8:4
Field	3:0	LEN
EndSysregFields

Sysreg ZCR_EL1	3	0	1	2	0
Fields ZCR_ELx
EndSysreg

SysregFields	SMCR_ELx
Res0	63:32
Field	31	FA64
Field	30	EZT0
Res0	29:9
Raz	8:4
Field	3:0	LEN
EndSysregFields

Sysreg	SMCR_EL1	3	0	1	2	6
Fields	SMCR_ELx
EndSysreg

SysregFields	GCSCR_ELx
Res0	63:10
Field	9	STREn
Field	8	PUSHMEn
Res0	7
Field	6	EXLOCKEN
Field	5	RVCHKEN
Res0	4:1
Field	0	PCRSEL
EndSysregFields

Sysreg	GCSCR_EL1	3	0	2	5	0
Fields	GCSCR_ELx
EndSysreg

SysregFields	GCSPR_ELx
Field	63:3	PTR
Res0	2:0
EndSysregFields

Sysreg	GCSPR_EL1	3	0	2	5	1
Fields	GCSPR_ELx
EndSysreg

Sysreg	GCSCRE0_EL1	3	0	2	5	2
Res0	63:11
Field	10	nTR
Field	9	STREn
Field	8	PUSHMEn
Res0	7:6
Field	5	RVCHKEN
Res0	4:1
Field	0	PCRSEL
EndSysreg

Sysreg	ALLINT	3	0	4	3	0
Res0	63:14
Field	13	ALLINT
Res0	12:0
EndSysreg

Sysreg	FAR_EL1	3	0	6	0	0
Field	63:0	ADDR
EndSysreg

Sysreg	PMSCR_EL1	3	0	9	9	0
Res0	63:8
Field	7:6	PCT
Field	5	TS
Field	4	PA
Field	3	CX
Res0	2
Field	1	E1SPE
Field	0	E0SPE
EndSysreg

Sysreg	PMSNEVFR_EL1	3	0	9	9	1
Field	63:0	E
EndSysreg

Sysreg	PMSICR_EL1	3	0	9	9	2
Field	63:56	ECOUNT
Res0	55:32
Field	31:0	COUNT
EndSysreg

Sysreg	PMSIRR_EL1	3	0	9	9	3
Res0	63:32
Field	31:8	INTERVAL
Res0	7:1
Field	0	RND
EndSysreg

Sysreg	PMSFCR_EL1	3	0	9	9	4
Res0	63:19
Field	18	ST
Field	17	LD
Field	16	B
Res0	15:4
Field	3	FnE
Field	2	FL
Field	1	FT
Field	0	FE
EndSysreg

Sysreg	PMSEVFR_EL1	3	0	9	9	5
Field	63:0	E
EndSysreg

Sysreg	PMSLATFR_EL1	3	0	9	9	6
Res0	63:16
Field	15:0	MINLAT
EndSysreg

Sysreg	PMSIDR_EL1	3	0	9	9	7
Res0	63:25
Field	24	PBT
Field	23:20	FORMAT
Enum	19:16	COUNTSIZE
	0b0010	12_BIT_SAT
	0b0011	16_BIT_SAT
EndEnum
Field	15:12	MAXSIZE
Enum	11:8	INTERVAL
	0b0000	256
	0b0010	512
	0b0011	768
	0b0100	1024
	0b0101	1536
	0b0110	2048
	0b0111	3072
	0b1000	4096
EndEnum
Res0	7
Field	6	FnE
Field	5	ERND
Field	4	LDS
Field	3	ARCHINST
Field	2	FL
Field	1	FT
Field	0	FE
EndSysreg

Sysreg	PMBLIMITR_EL1	3	0	9	10	0
Field	63:12	LIMIT
Res0	11:6
Field	5	PMFZ
Res0	4:3
Enum	2:1	FM
	0b00	FILL
	0b10	DISCARD
EndEnum
Field	0	E
EndSysreg

Sysreg	PMBPTR_EL1	3	0	9	10	1
Field	63:0	PTR
EndSysreg

Sysreg	PMBSR_EL1	3	0	9	10	3
Res0	63:32
Enum	31:26	EC
	0b000000	BUF
	0b100100	FAULT_S1
	0b100101	FAULT_S2
	0b011110	FAULT_GPC
	0b011111	IMP_DEF
EndEnum
Res0	25:20
Field	19	DL
Field	18	EA
Field	17	S
Field	16	COLL
Field	15:0	MSS
EndSysreg

Sysreg	PMBIDR_EL1	3	0	9	10	7
Res0	63:12
Enum	11:8	EA
	0b0000	NotDescribed
	0b0001	Ignored
	0b0010	SError
EndEnum
Res0	7:6
Field	5	F
Field	4	P
Field	3:0	ALIGN
EndSysreg

SysregFields	CONTEXTIDR_ELx
Res0	63:32
Field	31:0	PROCID
EndSysregFields

Sysreg	CONTEXTIDR_EL1	3	0	13	0	1
Fields	CONTEXTIDR_ELx
EndSysreg

Sysreg	RCWSMASK_EL1	3	0	13	0	3
Field	63:0	RCWSMASK
EndSysreg

Sysreg	TPIDR_EL1	3	0	13	0	4
Field	63:0	ThreadID
EndSysreg

Sysreg	RCWMASK_EL1	3	0	13	0	6
Field	63:0	RCWMASK
EndSysreg

Sysreg	SCXTNUM_EL1	3	0	13	0	7
Field	63:0	SoftwareContextNumber
EndSysreg

# The bit layout for CCSIDR_EL1 depends on whether FEAT_CCIDX is implemented.
# The following is for case when FEAT_CCIDX is not implemented.
Sysreg	CCSIDR_EL1	3	1	0	0	0
Res0	63:32
Unkn	31:28
Field	27:13	NumSets
Field	12:3	Associativity
Field	2:0	LineSize
EndSysreg

Sysreg	CLIDR_EL1	3	1	0	0	1
Res0	63:47
Field	46:33	Ttypen
Field	32:30	ICB
Field	29:27	LoUU
Field	26:24	LoC
Field	23:21	LoUIS
Field	20:18	Ctype7
Field	17:15	Ctype6
Field	14:12	Ctype5
Field	11:9	Ctype4
Field	8:6	Ctype3
Field	5:3	Ctype2
Field	2:0	Ctype1
EndSysreg

Sysreg	CCSIDR2_EL1	3	1	0	0	2
Res0	63:24
Field	23:0	NumSets
EndSysreg

Sysreg	GMID_EL1	3	1	0	0	4
Res0	63:4
Field	3:0	BS
EndSysreg

Sysreg	SMIDR_EL1	3	1	0	0	6
Res0	63:32
Field	31:24	IMPLEMENTER
Field	23:16	REVISION
Field	15	SMPS
Res0	14:12
Field	11:0	AFFINITY
EndSysreg

Sysreg	CSSELR_EL1	3	2	0	0	0
Res0	63:5
Field	4	TnD
Field	3:1	Level
Field	0	InD
EndSysreg

Sysreg	CTR_EL0	3	3	0	0	1
Res0	63:38
Field	37:32	TminLine
Res1	31
Res0	30
Field	29	DIC
Field	28	IDC
Field	27:24	CWG
Field	23:20	ERG
Field	19:16	DminLine
Enum	15:14	L1Ip
	# This was named as VPIPT in the ARM but now documented as reserved
	0b00	RESERVED_VPIPT
	# This is named as AIVIVT in the ARM but documented as reserved
	0b01	RESERVED_AIVIVT
	0b10	VIPT
	0b11	PIPT
EndEnum
Res0	13:4
Field	3:0	IminLine
EndSysreg

Sysreg	DCZID_EL0	3	3	0	0	7
Res0	63:5
Field	4	DZP
Field	3:0	BS
EndSysreg

Sysreg	GCSPR_EL0	3	3	2	5	1
Fields	GCSPR_ELx
EndSysreg

Sysreg	SVCR	3	3	4	2	2
Res0	63:2
Field	1	ZA
Field	0	SM
EndSysreg

Sysreg	FPMR	3	3	4	4	2
Res0	63:38
Field	37:32	LSCALE2
Field	31:24	NSCALE
Res0	23
Field	22:16	LSCALE
Field	15	OSC
Field	14	OSM
Res0	13:9
UnsignedEnum	8:6	F8D
	0b000	E5M2
	0b001	E4M3
EndEnum
UnsignedEnum	5:3	F8S2
	0b000	E5M2
	0b001	E4M3
EndEnum
UnsignedEnum	2:0	F8S1
	0b000	E5M2
	0b001	E4M3
EndEnum
EndSysreg

SysregFields	HFGxTR_EL2
Field	63	nAMAIR2_EL1
Field	62	nMAIR2_EL1
Field	61	nS2POR_EL1
Field	60	nPOR_EL1
Field	59	nPOR_EL0
Field	58	nPIR_EL1
Field	57	nPIRE0_EL1
Field	56	nRCWMASK_EL1
Field	55	nTPIDR2_EL0
Field	54	nSMPRI_EL1
Field	53	nGCS_EL1
Field	52	nGCS_EL0
Res0	51
Field	50	nACCDATA_EL1
Field	49	ERXADDR_EL1
Field	48	ERXPFGCDN_EL1
Field	47	ERXPFGCTL_EL1
Field	46	ERXPFGF_EL1
Field	45	ERXMISCn_EL1
Field	44	ERXSTATUS_EL1
Field	43	ERXCTLR_EL1
Field	42	ERXFR_EL1
Field	41	ERRSELR_EL1
Field	40	ERRIDR_EL1
Field	39	ICC_IGRPENn_EL1
Field	38	VBAR_EL1
Field	37	TTBR1_EL1
Field	36	TTBR0_EL1
Field	35	TPIDR_EL0
Field	34	TPIDRRO_EL0
Field	33	TPIDR_EL1
Field	32	TCR_EL1
Field	31	SCXTNUM_EL0
Field	30	SCXTNUM_EL1
Field	29	SCTLR_EL1
Field	28	REVIDR_EL1
Field	27	PAR_EL1
Field	26	MPIDR_EL1
Field	25	MIDR_EL1
Field	24	MAIR_EL1
Field	23	LORSA_EL1
Field	22	LORN_EL1
Field	21	LORID_EL1
Field	20	LOREA_EL1
Field	19	LORC_EL1
Field	18	ISR_EL1
Field	17	FAR_EL1
Field	16	ESR_EL1
Field	15	DCZID_EL0
Field	14	CTR_EL0
Field	13	CSSELR_EL1
Field	12	CPACR_EL1
Field	11	CONTEXTIDR_EL1
Field	10	CLIDR_EL1
Field	9	CCSIDR_EL1
Field	8	APIBKey
Field	7	APIAKey
Field	6	APGAKey
Field	5	APDBKey
Field	4	APDAKey
Field	3	AMAIR_EL1
Field	2	AIDR_EL1
Field	1	AFSR1_EL1
Field	0	AFSR0_EL1
EndSysregFields

Sysreg HFGRTR_EL2	3	4	1	1	4
Fields	HFGxTR_EL2
EndSysreg

Sysreg HFGWTR_EL2	3	4	1	1	5
Fields	HFGxTR_EL2
EndSysreg

Sysreg HFGITR_EL2	3	4	1	1	6
Res0	63
Field	62	ATS1E1A
Res0	61
Field	60	COSPRCTX
Field	59	nGCSEPP
Field	58	nGCSSTR_EL1
Field	57	nGCSPUSHM_EL1
Field	56	nBRBIALL
Field	55	nBRBINJ
Field	54	DCCVAC
Field	53	SVC_EL1
Field	52	SVC_EL0
Field	51	ERET
Field	50	CPPRCTX
Field	49	DVPRCTX
Field	48	CFPRCTX
Field	47	TLBIVAALE1
Field	46	TLBIVALE1
Field	45	TLBIVAAE1
Field	44	TLBIASIDE1
Field	43	TLBIVAE1
Field	42	TLBIVMALLE1
Field	41	TLBIRVAALE1
Field	40	TLBIRVALE1
Field	39	TLBIRVAAE1
Field	38	TLBIRVAE1
Field	37	TLBIRVAALE1IS
Field	36	TLBIRVALE1IS
Field	35	TLBIRVAAE1IS
Field	34	TLBIRVAE1IS
Field	33	TLBIVAALE1IS
Field	32	TLBIVALE1IS
Field	31	TLBIVAAE1IS
Field	30	TLBIASIDE1IS
Field	29	TLBIVAE1IS
Field	28	TLBIVMALLE1IS
Field	27	TLBIRVAALE1OS
Field	26	TLBIRVALE1OS
Field	25	TLBIRVAAE1OS
Field	24	TLBIRVAE1OS
Field	23	TLBIVAALE1OS
Field	22	TLBIVALE1OS
Field	21	TLBIVAAE1OS
Field	20	TLBIASIDE1OS
Field	19	TLBIVAE1OS
Field	18	TLBIVMALLE1OS
Field	17	ATS1E1WP
Field	16	ATS1E1RP
Field	15	ATS1E0W
Field	14	ATS1E0R
Field	13	ATS1E1W
Field	12	ATS1E1R
Field	11	DCZVA
Field	10	DCCIVAC
Field	9	DCCVADP
Field	8	DCCVAP
Field	7	DCCVAU
Field	6	DCCISW
Field	5	DCCSW
Field	4	DCISW
Field	3	DCIVAC
Field	2	ICIVAU
Field	1	ICIALLU
Field	0	ICIALLUIS
EndSysreg

Sysreg HDFGRTR_EL2	3	4	3	1	4
Field	63	PMBIDR_EL1
Field	62	nPMSNEVFR_EL1
Field	61	nBRBDATA
Field	60	nBRBCTL
Field	59	nBRBIDR
Field	58	PMCEIDn_EL0
Field	57	PMUSERENR_EL0
Field	56	TRBTRG_EL1
Field	55	TRBSR_EL1
Field	54	TRBPTR_EL1
Field	53	TRBMAR_EL1
Field	52	TRBLIMITR_EL1
Field	51	TRBIDR_EL1
Field	50	TRBBASER_EL1
Res0	49
Field	48	TRCVICTLR
Field	47	TRCSTATR
Field	46	TRCSSCSRn
Field	45	TRCSEQSTR
Field	44	TRCPRGCTLR
Field	43	TRCOSLSR
Res0	42
Field	41	TRCIMSPECn
Field	40	TRCID
Res0	39:38
Field	37	TRCCNTVRn
Field	36	TRCCLAIM
Field	35	TRCAUXCTLR
Field	34	TRCAUTHSTATUS
Field	33	TRC
Field	32	PMSLATFR_EL1
Field	31	PMSIRR_EL1
Field	30	PMSIDR_EL1
Field	29	PMSICR_EL1
Field	28	PMSFCR_EL1
Field	27	PMSEVFR_EL1
Field	26	PMSCR_EL1
Field	25	PMBSR_EL1
Field	24	PMBPTR_EL1
Field	23	PMBLIMITR_EL1
Field	22	PMMIR_EL1
Res0	21:20
Field	19	PMSELR_EL0
Field	18	PMOVS
Field	17	PMINTEN
Field	16	PMCNTEN
Field	15	PMCCNTR_EL0
Field	14	PMCCFILTR_EL0
Field	13	PMEVTYPERn_EL0
Field	12	PMEVCNTRn_EL0
Field	11	OSDLR_EL1
Field	10	OSECCR_EL1
Field	9	OSLSR_EL1
Res0	8
Field	7	DBGPRCR_EL1
Field	6	DBGAUTHSTATUS_EL1
Field	5	DBGCLAIM
Field	4	MDSCR_EL1
Field	3	DBGWVRn_EL1
Field	2	DBGWCRn_EL1
Field	1	DBGBVRn_EL1
Field	0	DBGBCRn_EL1
EndSysreg

Sysreg HDFGWTR_EL2	3	4	3	1	5
Res0	63
Field	62	nPMSNEVFR_EL1
Field	61	nBRBDATA
Field	60	nBRBCTL
Res0	59:58
Field	57	PMUSERENR_EL0
Field	56	TRBTRG_EL1
Field	55	TRBSR_EL1
Field	54	TRBPTR_EL1
Field	53	TRBMAR_EL1
Field	52	TRBLIMITR_EL1
Res0	51
Field	50	TRBBASER_EL1
Field	49	TRFCR_EL1
Field	48	TRCVICTLR
Res0	47
Field	46	TRCSSCSRn
Field	45	TRCSEQSTR
Field	44	TRCPRGCTLR
Res0	43
Field	42	TRCOSLAR
Field	41	TRCIMSPECn
Res0	40:38
Field	37	TRCCNTVRn
Field	36	TRCCLAIM
Field	35	TRCAUXCTLR
Res0	34
Field	33	TRC
Field	32	PMSLATFR_EL1
Field	31	PMSIRR_EL1
Res0	30
Field	29	PMSICR_EL1
Field	28	PMSFCR_EL1
Field	27	PMSEVFR_EL1
Field	26	PMSCR_EL1
Field	25	PMBSR_EL1
Field	24	PMBPTR_EL1
Field	23	PMBLIMITR_EL1
Res0	22
Field	21	PMCR_EL0
Field	20	PMSWINC_EL0
Field	19	PMSELR_EL0
Field	18	PMOVS
Field	17	PMINTEN
Field	16	PMCNTEN
Field	15	PMCCNTR_EL0
Field	14	PMCCFILTR_EL0
Field	13	PMEVTYPERn_EL0
Field	12	PMEVCNTRn_EL0
Field	11	OSDLR_EL1
Field	10	OSECCR_EL1
Res0	9
Field	8	OSLAR_EL1
Field	7	DBGPRCR_EL1
Res0	6
Field	5	DBGCLAIM
Field	4	MDSCR_EL1
Field	3	DBGWVRn_EL1
Field	2	DBGWCRn_EL1
Field	1	DBGBVRn_EL1
Field	0	DBGBCRn_EL1
EndSysreg

Sysreg HAFGRTR_EL2	3	4	3	1	6
Res0	63:50
Field	49	AMEVTYPER115_EL0
Field	48	AMEVCNTR115_EL0
Field	47	AMEVTYPER114_EL0
Field	46	AMEVCNTR114_EL0
Field	45	AMEVTYPER113_EL0
Field	44	AMEVCNTR113_EL0
Field	43	AMEVTYPER112_EL0
Field	42	AMEVCNTR112_EL0
Field	41	AMEVTYPER111_EL0
Field	40	AMEVCNTR111_EL0
Field	39	AMEVTYPER110_EL0
Field	38	AMEVCNTR110_EL0
Field	37	AMEVTYPER19_EL0
Field	36	AMEVCNTR19_EL0
Field	35	AMEVTYPER18_EL0
Field	34	AMEVCNTR18_EL0
Field	33	AMEVTYPER17_EL0
Field	32	AMEVCNTR17_EL0
Field	31	AMEVTYPER16_EL0
Field	30	AMEVCNTR16_EL0
Field	29	AMEVTYPER15_EL0
Field	28	AMEVCNTR15_EL0
Field	27	AMEVTYPER14_EL0
Field	26	AMEVCNTR14_EL0
Field	25	AMEVTYPER13_EL0
Field	24	AMEVCNTR13_EL0
Field	23	AMEVTYPER12_EL0
Field	22	AMEVCNTR12_EL0
Field	21	AMEVTYPER11_EL0
Field	20	AMEVCNTR11_EL0
Field	19	AMEVTYPER10_EL0
Field	18	AMEVCNTR10_EL0
Field	17	AMCNTEN1
Res0	16:5
Field	4	AMEVCNTR03_EL0
Field	3	AMEVCNTR02_EL0
Field	2	AMEVCNTR01_EL0
Field	1	AMEVCNTR00_EL0
Field	0	AMCNTEN0
EndSysreg

Sysreg	ZCR_EL2	3	4	1	2	0
Fields	ZCR_ELx
EndSysreg

Sysreg	HCRX_EL2	3	4	1	2	2
Res0	63:25
Field	24	PACMEn
Field	23	EnFPM
Field	22	GCSEn
Field	21	EnIDCP128
Field	20	EnSDERR
Field	19	TMEA
Field	18	EnSNERR
Field	17	D128En
Field	16	PTTWI
Field	15	SCTLR2En
Field	14	TCR2En
Res0	13:12
Field	11	MSCEn
Field	10	MCE2
Field	9	CMOW
Field	8	VFNMI
Field	7	VINMI
Field	6	TALLINT
Field	5	SMPME
Field	4	FGTnXS
Field	3	FnXS
Field	2	EnASR
Field	1	EnALS
Field	0	EnAS0
EndSysreg

Sysreg	SMPRIMAP_EL2	3	4	1	2	5
Field	63:60	P15
Field	59:56	P14
Field	55:52	P13
Field	51:48	P12
Field	47:44	P11
Field	43:40	P10
Field	39:36	F9
Field	35:32	P8
Field	31:28	P7
Field	27:24	P6
Field	23:20	P5
Field	19:16	P4
Field	15:12	P3
Field	11:8	P2
Field	7:4	P1
Field	3:0	P0
EndSysreg

Sysreg	SMCR_EL2	3	4	1	2	6
Fields	SMCR_ELx
EndSysreg

Sysreg	GCSCR_EL2	3	4	2	5	0
Fields	GCSCR_ELx
EndSysreg

Sysreg	GCSPR_EL2	3	4	2	5	1
Fields	GCSPR_ELx
EndSysreg

Sysreg	DACR32_EL2	3	4	3	0	0
Res0	63:32
Field	31:30	D15
Field	29:28	D14
Field	27:26	D13
Field	25:24	D12
Field	23:22	D11
Field	21:20	D10
Field	19:18	D9
Field	17:16	D8
Field	15:14	D7
Field	13:12	D6
Field	11:10	D5
Field	9:8	D4
Field	7:6	D3
Field	5:4	D2
Field	3:2	D1
Field	1:0	D0
EndSysreg

Sysreg	FAR_EL2	3	4	6	0	0
Field	63:0	ADDR
EndSysreg

Sysreg	PMSCR_EL2	3	4	9	9	0
Res0	63:8
Enum	7:6	PCT
	0b00	VIRT
	0b01	PHYS
	0b11	GUEST
EndEnum
Field	5	TS
Field	4	PA
Field	3	CX
Res0	2
Field	1	E2SPE
Field	0	E0HSPE
EndSysreg

Sysreg	CONTEXTIDR_EL2	3	4	13	0	1
Fields	CONTEXTIDR_ELx
EndSysreg

Sysreg	CNTPOFF_EL2	3	4	14	0	6
Field	63:0	PhysicalOffset
EndSysreg

Sysreg	CPACR_EL12	3	5	1	0	2
Fields	CPACR_ELx
EndSysreg

Sysreg	ZCR_EL12	3	5	1	2	0
Fields	ZCR_ELx
EndSysreg

Sysreg	SMCR_EL12	3	5	1	2	6
Fields	SMCR_ELx
EndSysreg

Sysreg	GCSCR_EL12	3	5	2	5	0
Fields	GCSCR_ELx
EndSysreg

Sysreg	GCSPR_EL12	3	5	2	5	1
Fields	GCSPR_ELx
EndSysreg

Sysreg	FAR_EL12	3	5	6	0	0
Field	63:0	ADDR
EndSysreg

Sysreg	CONTEXTIDR_EL12	3	5	13	0	1
Fields	CONTEXTIDR_ELx
EndSysreg

SysregFields TTBRx_EL1
Field	63:48	ASID
Field	47:1	BADDR
Field	0	CnP
EndSysregFields

Sysreg	TTBR0_EL1	3	0	2	0	0
Fields	TTBRx_EL1
EndSysreg

Sysreg	TTBR1_EL1	3	0	2	0	1
Fields	TTBRx_EL1
EndSysreg

SysregFields	TCR2_EL1x
Res0	63:16
Field	15	DisCH1
Field	14	DisCH0
Res0	13:12
Field	11	HAFT
Field	10	PTTWI
Res0	9:6
Field	5	D128
Field	4	AIE
Field	3	POE
Field	2	E0POE
Field	1	PIE
Field	0	PnCH
EndSysregFields

Sysreg	TCR2_EL1	3	0	2	0	3
Fields	TCR2_EL1x
EndSysreg

Sysreg	TCR2_EL12	3	5	2	0	3
Fields	TCR2_EL1x
EndSysreg

Sysreg	TCR2_EL2	3	4	2	0	3
Res0	63:16
Field	15	DisCH1
Field	14	DisCH0
Field	13	AMEC1
Field	12	AMEC0
Field	11	HAFT
Field	10	PTTWI
Field	9:8	SKL1
Field	7:6	SKL0
Field	5	D128
Field	4	AIE
Field	3	POE
Field	2	E0POE
Field	1	PIE
Field	0	PnCH
EndSysreg

SysregFields MAIR2_ELx
Field	63:56	Attr7
Field	55:48	Attr6
Field	47:40	Attr5
Field	39:32	Attr4
Field	31:24	Attr3
Field	23:16	Attr2
Field	15:8	Attr1
Field	7:0	Attr0
EndSysregFields

Sysreg	MAIR2_EL1	3	0	10	2	1
Fields	MAIR2_ELx
EndSysreg

Sysreg	MAIR2_EL2	3	4	10	1	1
Fields	MAIR2_ELx
EndSysreg

Sysreg	AMAIR2_EL1	3	0	10	3	1
Field	63:0	ImpDef
EndSysreg

Sysreg	AMAIR2_EL2	3	4	10	3	1
Field	63:0	ImpDef
EndSysreg

SysregFields PIRx_ELx
Field	63:60	Perm15
Field	59:56	Perm14
Field	55:52	Perm13
Field	51:48	Perm12
Field	47:44	Perm11
Field	43:40	Perm10
Field	39:36	Perm9
Field	35:32	Perm8
Field	31:28	Perm7
Field	27:24	Perm6
Field	23:20	Perm5
Field	19:16	Perm4
Field	15:12	Perm3
Field	11:8	Perm2
Field	7:4	Perm1
Field	3:0	Perm0
EndSysregFields

Sysreg	PIRE0_EL1	3	0	10	2	2
Fields	PIRx_ELx
EndSysreg

Sysreg	PIRE0_EL12	3	5	10	2	2
Fields	PIRx_ELx
EndSysreg

Sysreg	PIR_EL1		3	0	10	2	3
Fields	PIRx_ELx
EndSysreg

Sysreg	PIR_EL12	3	5	10	2	3
Fields	PIRx_ELx
EndSysreg

Sysreg	PIR_EL2		3	4	10	2	3
Fields	PIRx_ELx
EndSysreg

Sysreg	POR_EL0		3	3	10	2	4
Fields	PIRx_ELx
EndSysreg

Sysreg	POR_EL1		3	0	10	2	4
Fields	PIRx_ELx
EndSysreg

Sysreg	POR_EL12	3	5	10	2	4
Fields	PIRx_ELx
EndSysreg

Sysreg	S2POR_EL1	3	0	10	2	5
Fields	PIRx_ELx
EndSysreg

Sysreg	S2PIR_EL2	3	4	10	2	5
Fields	PIRx_ELx
EndSysreg

Sysreg	LORSA_EL1	3	0	10	4	0
Res0	63:52
Field	51:16	SA
Res0	15:1
Field	0	Valid
EndSysreg

Sysreg	LOREA_EL1	3	0	10	4	1
Res0	63:52
Field	51:48	EA_51_48
Field	47:16	EA_47_16
Res0	15:0
EndSysreg

Sysreg	LORN_EL1	3	0	10	4	2
Res0	63:8
Field	7:0	Num
EndSysreg

Sysreg	LORC_EL1	3	0	10	4	3
Res0	63:10
Field	9:2	DS
Res0	1
Field	0	EN
EndSysreg

Sysreg	LORID_EL1	3	0	10	4	7
Res0	63:24
Field	23:16	LD
Res0	15:8
Field	7:0	LR
EndSysreg

Sysreg	ISR_EL1	3	0	12	1	0
Res0	63:11
Field	10	IS
Field	9	FS
Field	8	A
Field	7	I
Field	6	F
Res0	5:0
EndSysreg

Sysreg	ICC_NMIAR1_EL1	3	0	12	9	5
Res0	63:24
Field	23:0	INTID
EndSysreg

Sysreg	TRBLIMITR_EL1	3	0	9	11	0
Field	63:12	LIMIT
Res0	11:7
Field	6	XE
Field	5	nVM
Enum	4:3	TM
	0b00	STOP
	0b01	IRQ
	0b11	IGNR
EndEnum
Enum	2:1	FM
	0b00	FILL
	0b01	WRAP
	0b11	CBUF
EndEnum
Field	0	E
EndSysreg

Sysreg	TRBPTR_EL1	3	0	9	11	1
Field	63:0	PTR
EndSysreg

Sysreg	TRBBASER_EL1	3	0	9	11	2
Field	63:12	BASE
Res0	11:0
EndSysreg

Sysreg	TRBSR_EL1	3	0	9	11	3
Res0	63:56
Field	55:32	MSS2
Field	31:26	EC
Res0	25:24
Field	23	DAT
Field	22	IRQ
Field	21	TRG
Field	20	WRAP
Res0	19
Field	18	EA
Field	17	S
Res0	16
Field	15:0	MSS
EndSysreg

Sysreg	TRBMAR_EL1	3	0	9	11	4
Res0	63:12
Enum	11:10	PAS
	0b00	SECURE
	0b01	NON_SECURE
	0b10	ROOT
	0b11	REALM
EndEnum
Enum	9:8	SH
	0b00	NON_SHAREABLE
	0b10	OUTER_SHAREABLE
	0b11	INNER_SHAREABLE
EndEnum
Field	7:0	Attr
EndSysreg

Sysreg	TRBTRG_EL1	3	0	9	11	6
Res0	63:32
Field	31:0	TRG
EndSysreg

Sysreg	TRBIDR_EL1	3	0	9	11	7
Res0	63:12
Enum	11:8	EA
	0b0000	NON_DESC
	0b0001	IGNORE
	0b0010	SERROR
EndEnum
Res0	7:6
Field	5	F
Field	4	P
Field	3:0	Align
EndSysreg