summaryrefslogtreecommitdiff
path: root/driver/xf86-video-ati/src/evergreen_reg_auto.h
blob: 5c61586453d5489885c0fbc725328346769ac9b5 (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
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
/*
 * Evergreen Register documentation
 *
 * Copyright (C) 2010  Advanced Micro Devices, Inc.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a
 * copy of this software and associated documentation files (the "Software"),
 * to deal in the Software without restriction, including without limitation
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
 * and/or sell copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included
 * in all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
 * THE COPYRIGHT HOLDER(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */

#ifndef _EVERGREEN_REG_AUTO_H
#define _EVERGREEN_REG_AUTO_H

enum {

    VGT_VTX_VECT_EJECT_REG                                = 0x000088b0,
	PRIM_COUNT_mask                                   = 0x3ff << 0,
	PRIM_COUNT_shift                                  = 0,
    VGT_LAST_COPY_STATE                                   = 0x000088c0,
	SRC_STATE_ID_mask                                 = 0x07 << 0,
	SRC_STATE_ID_shift                                = 0,
	DST_STATE_ID_mask                                 = 0x07 << 16,
	DST_STATE_ID_shift                                = 16,
    VGT_CACHE_INVALIDATION                                = 0x000088c4,
	CACHE_INVALIDATION_mask                           = 0x03 << 0,
	CACHE_INVALIDATION_shift                          = 0,
	    VC_ONLY                                       = 0x00,
	    TC_ONLY                                       = 0x01,
	    VC_AND_TC                                     = 0x02,
	VS_NO_EXTRA_BUFFER_bit                            = 1 << 5,
	AUTO_INVLD_EN_mask                                = 0x03 << 6,
	AUTO_INVLD_EN_shift                               = 6,
    VGT_GS_VERTEX_REUSE                                   = 0x000088d4,
	VERT_REUSE_mask                                   = 0x1f << 0,
	VERT_REUSE_shift                                  = 0,
    VGT_CNTL_STATUS                                       = 0x000088f0,
	VGT_OUT_INDX_BUSY_bit                             = 1 << 0,
	VGT_OUT_BUSY_bit                                  = 1 << 1,
	VGT_PT_BUSY_bit                                   = 1 << 2,
	VGT_TE_BUSY_bit                                   = 1 << 3,
	VGT_VR_BUSY_bit                                   = 1 << 4,
	VGT_GRP_BUSY_bit                                  = 1 << 5,
	VGT_DMA_REQ_BUSY_bit                              = 1 << 6,
	VGT_DMA_BUSY_bit                                  = 1 << 7,
	VGT_GS_BUSY_bit                                   = 1 << 8,
	VGT_HS_BUSY_bit                                   = 1 << 9,
	VGT_TE11_BUSY_bit                                 = 1 << 10,
	VGT_BUSY_bit                                      = 1 << 11,
    VGT_PRIMITIVE_TYPE                                    = 0x00008958,
	VGT_PRIMITIVE_TYPE__PRIM_TYPE_mask                = 0x3f << 0,
	VGT_PRIMITIVE_TYPE__PRIM_TYPE_shift               = 0,
	    DI_PT_NONE                                    = 0x00,
	    DI_PT_POINTLIST                               = 0x01,
	    DI_PT_LINELIST                                = 0x02,
	    DI_PT_LINESTRIP                               = 0x03,
	    DI_PT_TRILIST                                 = 0x04,
	    DI_PT_TRIFAN                                  = 0x05,
	    DI_PT_TRISTRIP                                = 0x06,
	    DI_PT_UNUSED_0                                = 0x07,
	    DI_PT_UNUSED_1                                = 0x08,
	    DI_PT_PATCH                                   = 0x09,
	    DI_PT_LINELIST_ADJ                            = 0x0a,
	    DI_PT_LINESTRIP_ADJ                           = 0x0b,
	    DI_PT_TRILIST_ADJ                             = 0x0c,
	    DI_PT_TRISTRIP_ADJ                            = 0x0d,
	    DI_PT_UNUSED_3                                = 0x0e,
	    DI_PT_UNUSED_4                                = 0x0f,
	    DI_PT_TRI_WITH_WFLAGS                         = 0x10,
	    DI_PT_RECTLIST                                = 0x11,
	    DI_PT_LINELOOP                                = 0x12,
	    DI_PT_QUADLIST                                = 0x13,
	    DI_PT_QUADSTRIP                               = 0x14,
	    DI_PT_POLYGON                                 = 0x15,
	    DI_PT_2D_COPY_RECT_LIST_V0                    = 0x16,
	    DI_PT_2D_COPY_RECT_LIST_V1                    = 0x17,
	    DI_PT_2D_COPY_RECT_LIST_V2                    = 0x18,
	    DI_PT_2D_COPY_RECT_LIST_V3                    = 0x19,
	    DI_PT_2D_FILL_RECT_LIST                       = 0x1a,
	    DI_PT_2D_LINE_STRIP                           = 0x1b,
	    DI_PT_2D_TRI_STRIP                            = 0x1c,
    VGT_INDEX_TYPE                                        = 0x0000895c,
	INDEX_TYPE_mask                                   = 0x03 << 0,
	INDEX_TYPE_shift                                  = 0,
	    DI_INDEX_SIZE_16_BIT                          = 0x00,
	    DI_INDEX_SIZE_32_BIT                          = 0x01,
    VGT_STRMOUT_BUFFER_FILLED_SIZE_0                      = 0x00008960,
    VGT_STRMOUT_BUFFER_FILLED_SIZE_1                      = 0x00008964,
    VGT_STRMOUT_BUFFER_FILLED_SIZE_2                      = 0x00008968,
    VGT_STRMOUT_BUFFER_FILLED_SIZE_3                      = 0x0000896c,
    VGT_NUM_INDICES                                       = 0x00008970,
    VGT_NUM_INSTANCES                                     = 0x00008974,
    PA_CL_CNTL_STATUS                                     = 0x00008a10,
	CL_BUSY_bit                                       = 1 << 31,
    PA_CL_ENHANCE                                         = 0x00008a14,
	CLIP_VTX_REORDER_ENA_bit                          = 1 << 0,
	NUM_CLIP_SEQ_mask                                 = 0x03 << 1,
	NUM_CLIP_SEQ_shift                                = 1,
	CLIPPED_PRIM_SEQ_STALL_bit                        = 1 << 3,
	VE_NAN_PROC_DISABLE_bit                           = 1 << 4,
    PA_SU_CNTL_STATUS                                     = 0x00008a50,
	SU_BUSY_bit                                       = 1 << 31,
    PA_SU_LINE_STIPPLE_VALUE                              = 0x00008a60,
	LINE_STIPPLE_VALUE_mask                           = 0xffffff << 0,
	LINE_STIPPLE_VALUE_shift                          = 0,
    PA_SC_LINE_STIPPLE_STATE                              = 0x00008b10,
	CURRENT_PTR_mask                                  = 0x0f << 0,
	CURRENT_PTR_shift                                 = 0,
	CURRENT_COUNT_mask                                = 0xff << 8,
	CURRENT_COUNT_shift                               = 8,
    SQ_CONFIG                                             = 0x00008c00,
	VC_ENABLE_bit                                     = 1 << 0,
	EXPORT_SRC_C_bit                                  = 1 << 1,
	CS_PRIO_mask                                      = 0x03 << 18,
	CS_PRIO_shift                                     = 18,
	LS_PRIO_mask                                      = 0x03 << 20,
	LS_PRIO_shift                                     = 20,
	HS_PRIO_mask                                      = 0x03 << 22,
	HS_PRIO_shift                                     = 22,
	PS_PRIO_mask                                      = 0x03 << 24,
	PS_PRIO_shift                                     = 24,
	VS_PRIO_mask                                      = 0x03 << 26,
	VS_PRIO_shift                                     = 26,
	GS_PRIO_mask                                      = 0x03 << 28,
	GS_PRIO_shift                                     = 28,
	ES_PRIO_mask                                      = 0x03 << 30,
	ES_PRIO_shift                                     = 30,
    SQ_GPR_RESOURCE_MGMT_1                                = 0x00008c04,
	NUM_PS_GPRS_mask                                  = 0xff << 0,
	NUM_PS_GPRS_shift                                 = 0,
	NUM_VS_GPRS_mask                                  = 0xff << 16,
	NUM_VS_GPRS_shift                                 = 16,
	NUM_CLAUSE_TEMP_GPRS_mask                         = 0x0f << 28,
	NUM_CLAUSE_TEMP_GPRS_shift                        = 28,
    SQ_GPR_RESOURCE_MGMT_2                                = 0x00008c08,
	NUM_GS_GPRS_mask                                  = 0xff << 0,
	NUM_GS_GPRS_shift                                 = 0,
	NUM_ES_GPRS_mask                                  = 0xff << 16,
	NUM_ES_GPRS_shift                                 = 16,
    SQ_GPR_RESOURCE_MGMT_3                                = 0x00008c0c,
	NUM_HS_GPRS_mask                                  = 0xff << 0,
	NUM_HS_GPRS_shift                                 = 0,
	NUM_LS_GPRS_mask                                  = 0xff << 16,
	NUM_LS_GPRS_shift                                 = 16,
    SQ_GLOBAL_GPR_RESOURCE_MGMT_1                         = 0x00008c10,
	PS_GGPR_BASE_mask                                 = 0xff << 0,
	PS_GGPR_BASE_shift                                = 0,
	VS_GGPR_BASE_mask                                 = 0xff << 8,
	VS_GGPR_BASE_shift                                = 8,
	GS_GGPR_BASE_mask                                 = 0xff << 16,
	GS_GGPR_BASE_shift                                = 16,
	ES_GGPR_BASE_mask                                 = 0xff << 24,
	ES_GGPR_BASE_shift                                = 24,
    SQ_GLOBAL_GPR_RESOURCE_MGMT_2                         = 0x00008c14,
	HS_GGPR_BASE_mask                                 = 0xff << 0,
	HS_GGPR_BASE_shift                                = 0,
	LS_GGPR_BASE_mask                                 = 0xff << 8,
	LS_GGPR_BASE_shift                                = 8,
	CS_GGPR_BASE_mask                                 = 0xff << 16,
	CS_GGPR_BASE_shift                                = 16,
    SQ_THREAD_RESOURCE_MGMT                               = 0x00008c18,
	NUM_PS_THREADS_mask                               = 0xff << 0,
	NUM_PS_THREADS_shift                              = 0,
	NUM_VS_THREADS_mask                               = 0xff << 8,
	NUM_VS_THREADS_shift                              = 8,
	NUM_GS_THREADS_mask                               = 0xff << 16,
	NUM_GS_THREADS_shift                              = 16,
	NUM_ES_THREADS_mask                               = 0xff << 24,
	NUM_ES_THREADS_shift                              = 24,
    SQ_THREAD_RESOURCE_MGMT_2                             = 0x00008c1c,
	NUM_HS_THREADS_mask                               = 0xff << 0,
	NUM_HS_THREADS_shift                              = 0,
	NUM_LS_THREADS_mask                               = 0xff << 8,
	NUM_LS_THREADS_shift                              = 8,
    SQ_STACK_RESOURCE_MGMT_1                              = 0x00008c20,
	NUM_PS_STACK_ENTRIES_mask                         = 0xfff << 0,
	NUM_PS_STACK_ENTRIES_shift                        = 0,
	NUM_VS_STACK_ENTRIES_mask                         = 0xfff << 16,
	NUM_VS_STACK_ENTRIES_shift                        = 16,
    SQ_STACK_RESOURCE_MGMT_2                              = 0x00008c24,
	NUM_GS_STACK_ENTRIES_mask                         = 0xfff << 0,
	NUM_GS_STACK_ENTRIES_shift                        = 0,
	NUM_ES_STACK_ENTRIES_mask                         = 0xfff << 16,
	NUM_ES_STACK_ENTRIES_shift                        = 16,
    SQ_STACK_RESOURCE_MGMT_3                              = 0x00008c28,
	NUM_HS_STACK_ENTRIES_mask                         = 0xfff << 0,
	NUM_HS_STACK_ENTRIES_shift                        = 0,
	NUM_LS_STACK_ENTRIES_mask                         = 0xfff << 16,
	NUM_LS_STACK_ENTRIES_shift                        = 16,
    SQ_ESGS_RING_BASE                                     = 0x00008c40,
    SQ_ESGS_RING_SIZE                                     = 0x00008c44,
    SQ_GSVS_RING_BASE                                     = 0x00008c48,
    SQ_GSVS_RING_SIZE                                     = 0x00008c4c,
    SQ_ESTMP_RING_BASE                                    = 0x00008c50,
    SQ_ESTMP_RING_SIZE                                    = 0x00008c54,
    SQ_GSTMP_RING_BASE                                    = 0x00008c58,
    SQ_GSTMP_RING_SIZE                                    = 0x00008c5c,
    SQ_VSTMP_RING_BASE                                    = 0x00008c60,
    SQ_VSTMP_RING_SIZE                                    = 0x00008c64,
    SQ_PSTMP_RING_BASE                                    = 0x00008c68,
    SQ_PSTMP_RING_SIZE                                    = 0x00008c6c,
    SQ_CONST_MEM_BASE                                     = 0x00008df8,
    SQ_ALU_WORD1_OP3                                      = 0x00008dfc,
	SRC2_SEL_mask                                     = 0x1ff << 0,
	SRC2_SEL_shift                                    = 0,
	    SQ_ALU_SRC_LDS_OQ_A                           = 0xdb,
	    SQ_ALU_SRC_LDS_OQ_B                           = 0xdc,
	    SQ_ALU_SRC_LDS_OQ_A_POP                       = 0xdd,
	    SQ_ALU_SRC_LDS_OQ_B_POP                       = 0xde,
	    SQ_ALU_SRC_LDS_DIRECT_A                       = 0xdf,
	    SQ_ALU_SRC_LDS_DIRECT_B                       = 0xe0,
	    SQ_ALU_SRC_TIME_HI                            = 0xe3,
	    SQ_ALU_SRC_TIME_LO                            = 0xe4,
	    SQ_ALU_SRC_MASK_HI                            = 0xe5,
	    SQ_ALU_SRC_MASK_LO                            = 0xe6,
	    SQ_ALU_SRC_HW_WAVE_ID                         = 0xe7,
	    SQ_ALU_SRC_SIMD_ID                            = 0xe8,
	    SQ_ALU_SRC_SE_ID                              = 0xe9,
	    SQ_ALU_SRC_HW_THREADGRP_ID                    = 0xea,
	    SQ_ALU_SRC_WAVE_ID_IN_GRP                     = 0xeb,
	    SQ_ALU_SRC_NUM_THREADGRP_WAVES                = 0xec,
	    SQ_ALU_SRC_HW_ALU_ODD                         = 0xed,
	    SQ_ALU_SRC_LOOP_IDX                           = 0xee,
	    SQ_ALU_SRC_PARAM_BASE_ADDR                    = 0xf0,
	    SQ_ALU_SRC_NEW_PRIM_MASK                      = 0xf1,
	    SQ_ALU_SRC_PRIM_MASK_HI                       = 0xf2,
	    SQ_ALU_SRC_PRIM_MASK_LO                       = 0xf3,
	    SQ_ALU_SRC_1_DBL_L                            = 0xf4,
	    SQ_ALU_SRC_1_DBL_M                            = 0xf5,
	    SQ_ALU_SRC_0_5_DBL_L                          = 0xf6,
	    SQ_ALU_SRC_0_5_DBL_M                          = 0xf7,
	    SQ_ALU_SRC_0                                  = 0xf8,
	    SQ_ALU_SRC_1                                  = 0xf9,
	    SQ_ALU_SRC_1_INT                              = 0xfa,
	    SQ_ALU_SRC_M_1_INT                            = 0xfb,
	    SQ_ALU_SRC_0_5                                = 0xfc,
	    SQ_ALU_SRC_LITERAL                            = 0xfd,
	    SQ_ALU_SRC_PV                                 = 0xfe,
	    SQ_ALU_SRC_PS                                 = 0xff,
	SRC2_REL_bit                                      = 1 << 9,
	SRC2_CHAN_mask                                    = 0x03 << 10,
	SRC2_CHAN_shift                                   = 10,
	    SQ_CHAN_X                                     = 0x00,
	    SQ_CHAN_Y                                     = 0x01,
	    SQ_CHAN_Z                                     = 0x02,
	    SQ_CHAN_W                                     = 0x03,
	SRC2_NEG_bit                                      = 1 << 12,
	SQ_ALU_WORD1_OP3__ALU_INST_mask                   = 0x1f << 13,
	SQ_ALU_WORD1_OP3__ALU_INST_shift                  = 13,
	    SQ_OP3_INST_BFE_UINT                          = 0x04,
	    SQ_OP3_INST_BFE_INT                           = 0x05,
	    SQ_OP3_INST_BFI_INT                           = 0x06,
	    SQ_OP3_INST_FMA                               = 0x07,
	    SQ_OP3_INST_CNDNE_64                          = 0x09,
	    SQ_OP3_INST_FMA_64                            = 0x0a,
	    SQ_OP3_INST_LERP_UINT                         = 0x0b,
	    SQ_OP3_INST_BIT_ALIGN_INT                     = 0x0c,
	    SQ_OP3_INST_BYTE_ALIGN_INT                    = 0x0d,
	    SQ_OP3_INST_SAD_ACCUM_UINT                    = 0x0e,
	    SQ_OP3_INST_SAD_ACCUM_HI_UINT                 = 0x0f,
	    SQ_OP3_INST_MULADD_UINT24                     = 0x10,
	    SQ_OP3_INST_LDS_IDX_OP                        = 0x11,
	    SQ_OP3_INST_MULADD                            = 0x14,
	    SQ_OP3_INST_MULADD_M2                         = 0x15,
	    SQ_OP3_INST_MULADD_M4                         = 0x16,
	    SQ_OP3_INST_MULADD_D2                         = 0x17,
	    SQ_OP3_INST_MULADD_IEEE                       = 0x18,
	    SQ_OP3_INST_CNDE                              = 0x19,
	    SQ_OP3_INST_CNDGT                             = 0x1a,
	    SQ_OP3_INST_CNDGE                             = 0x1b,
	    SQ_OP3_INST_CNDE_INT                          = 0x1c,
	    SQ_OP3_INST_CNDGT_INT                         = 0x1d,
	    SQ_OP3_INST_CNDGE_INT                         = 0x1e,
	    SQ_OP3_INST_MUL_LIT                           = 0x1f,
    SQ_ALU_WORD1_LDS_DIRECT_LITERAL_LO                    = 0x00008dfc,
	OFFSET_A_mask                                     = 0x1fff << 0,
	OFFSET_A_shift                                    = 0,
	STRIDE_A_mask                                     = 0x7f << 13,
	STRIDE_A_shift                                    = 13,
	THREAD_REL_A_bit                                  = 1 << 22,
    SQ_TEX_WORD2                                          = 0x00008dfc,
	OFFSET_X_mask                                     = 0x1f << 0,
	OFFSET_X_shift                                    = 0,
	OFFSET_Y_mask                                     = 0x1f << 5,
	OFFSET_Y_shift                                    = 5,
	OFFSET_Z_mask                                     = 0x1f << 10,
	OFFSET_Z_shift                                    = 10,
	SAMPLER_ID_mask                                   = 0x1f << 15,
	SAMPLER_ID_shift                                  = 15,
	SQ_TEX_WORD2__SRC_SEL_X_mask                      = 0x07 << 20,
	SQ_TEX_WORD2__SRC_SEL_X_shift                     = 20,
	    SQ_SEL_X                                      = 0x00,
	    SQ_SEL_Y                                      = 0x01,
	    SQ_SEL_Z                                      = 0x02,
	    SQ_SEL_W                                      = 0x03,
	    SQ_SEL_0                                      = 0x04,
	    SQ_SEL_1                                      = 0x05,
	SRC_SEL_Y_mask                                    = 0x07 << 23,
	SRC_SEL_Y_shift                                   = 23,
/* 	    SQ_SEL_X                                      = 0x00, */
/* 	    SQ_SEL_Y                                      = 0x01, */
/* 	    SQ_SEL_Z                                      = 0x02, */
/* 	    SQ_SEL_W                                      = 0x03, */
/* 	    SQ_SEL_0                                      = 0x04, */
/* 	    SQ_SEL_1                                      = 0x05, */
	SRC_SEL_Z_mask                                    = 0x07 << 26,
	SRC_SEL_Z_shift                                   = 26,
/* 	    SQ_SEL_X                                      = 0x00, */
/* 	    SQ_SEL_Y                                      = 0x01, */
/* 	    SQ_SEL_Z                                      = 0x02, */
/* 	    SQ_SEL_W                                      = 0x03, */
/* 	    SQ_SEL_0                                      = 0x04, */
/* 	    SQ_SEL_1                                      = 0x05, */
	SRC_SEL_W_mask                                    = 0x07 << 29,
	SRC_SEL_W_shift                                   = 29,
/* 	    SQ_SEL_X                                      = 0x00, */
/* 	    SQ_SEL_Y                                      = 0x01, */
/* 	    SQ_SEL_Z                                      = 0x02, */
/* 	    SQ_SEL_W                                      = 0x03, */
/* 	    SQ_SEL_0                                      = 0x04, */
/* 	    SQ_SEL_1                                      = 0x05, */
    SQ_CF_ALLOC_EXPORT_WORD1                              = 0x00008dfc,
	BURST_COUNT_mask                                  = 0x0f << 16,
	BURST_COUNT_shift                                 = 16,
	VALID_PIXEL_MODE_bit                              = 1 << 20,
	END_OF_PROGRAM_bit                                = 1 << 21,
	SQ_CF_ALLOC_EXPORT_WORD1__CF_INST_mask            = 0xff << 22,
	SQ_CF_ALLOC_EXPORT_WORD1__CF_INST_shift           = 22,
	    SQ_CF_INST_MEM_STREAM0_BUF0                   = 0x40,
	    SQ_CF_INST_MEM_STREAM0_BUF1                   = 0x41,
	    SQ_CF_INST_MEM_STREAM0_BUF2                   = 0x42,
	    SQ_CF_INST_MEM_STREAM0_BUF3                   = 0x43,
	    SQ_CF_INST_MEM_STREAM1_BUF0                   = 0x44,
	    SQ_CF_INST_MEM_STREAM1_BUF1                   = 0x45,
	    SQ_CF_INST_MEM_STREAM1_BUF2                   = 0x46,
	    SQ_CF_INST_MEM_STREAM1_BUF3                   = 0x47,
	    SQ_CF_INST_MEM_STREAM2_BUF0                   = 0x48,
	    SQ_CF_INST_MEM_STREAM2_BUF1                   = 0x49,
	    SQ_CF_INST_MEM_STREAM2_BUF2                   = 0x4a,
	    SQ_CF_INST_MEM_STREAM2_BUF3                   = 0x4b,
	    SQ_CF_INST_MEM_STREAM3_BUF0                   = 0x4c,
	    SQ_CF_INST_MEM_STREAM3_BUF1                   = 0x4d,
	    SQ_CF_INST_MEM_STREAM3_BUF2                   = 0x4e,
	    SQ_CF_INST_MEM_STREAM3_BUF3                   = 0x4f,
	    SQ_CF_INST_MEM_SCRATCH                        = 0x50,
	    SQ_CF_INST_MEM_RING                           = 0x52,
	    SQ_CF_INST_EXPORT                             = 0x53,
	    SQ_CF_INST_EXPORT_DONE                        = 0x54,
	    SQ_CF_INST_MEM_EXPORT                         = 0x55,
	    SQ_CF_INST_MEM_RAT                            = 0x56,
	    SQ_CF_INST_MEM_RAT_CACHELESS                  = 0x57,
	    SQ_CF_INST_MEM_RING1                          = 0x58,
	    SQ_CF_INST_MEM_RING2                          = 0x59,
	    SQ_CF_INST_MEM_RING3                          = 0x5a,
	    SQ_CF_INST_MEM_EXPORT_COMBINED                = 0x5b,
	    SQ_CF_INST_MEM_RAT_COMBINED_CACHELESS         = 0x5c,
	MARK_bit                                          = 1 << 30,
	BARRIER_bit                                       = 1 << 31,
    SQ_CF_ALU_WORD1                                       = 0x00008dfc,
	KCACHE_MODE1_mask                                 = 0x03 << 0,
	KCACHE_MODE1_shift                                = 0,
	    SQ_CF_KCACHE_NOP                              = 0x00,
	    SQ_CF_KCACHE_LOCK_1                           = 0x01,
	    SQ_CF_KCACHE_LOCK_2                           = 0x02,
	    SQ_CF_KCACHE_LOCK_LOOP_INDEX                  = 0x03,
	KCACHE_ADDR0_mask                                 = 0xff << 2,
	KCACHE_ADDR0_shift                                = 2,
	KCACHE_ADDR1_mask                                 = 0xff << 10,
	KCACHE_ADDR1_shift                                = 10,
	SQ_CF_ALU_WORD1__COUNT_mask                       = 0x7f << 18,
	SQ_CF_ALU_WORD1__COUNT_shift                      = 18,
	SQ_CF_ALU_WORD1__ALT_CONST_bit                    = 1 << 25,
	SQ_CF_ALU_WORD1__CF_INST_mask                     = 0x0f << 26,
	SQ_CF_ALU_WORD1__CF_INST_shift                    = 26,
	    SQ_CF_INST_ALU                                = 0x08,
	    SQ_CF_INST_ALU_PUSH_BEFORE                    = 0x09,
	    SQ_CF_INST_ALU_POP_AFTER                      = 0x0a,
	    SQ_CF_INST_ALU_POP2_AFTER                     = 0x0b,
	    SQ_CF_INST_ALU_EXTENDED                       = 0x0c,
	    SQ_CF_INST_ALU_CONTINUE                       = 0x0d,
	    SQ_CF_INST_ALU_BREAK                          = 0x0e,
	    SQ_CF_INST_ALU_ELSE_AFTER                     = 0x0f,
	WHOLE_QUAD_MODE_bit                               = 1 << 30,
/* 	BARRIER_bit                                       = 1 << 31, */
    SQ_TEX_WORD1                                          = 0x00008dfc,
	SQ_TEX_WORD1__DST_GPR_mask                        = 0x7f << 0,
	SQ_TEX_WORD1__DST_GPR_shift                       = 0,
	SQ_TEX_WORD1__DST_REL_bit                         = 1 << 7,
	SQ_TEX_WORD1__DST_SEL_X_mask                      = 0x07 << 9,
	SQ_TEX_WORD1__DST_SEL_X_shift                     = 9,
/* 	    SQ_SEL_X                                      = 0x00, */
/* 	    SQ_SEL_Y                                      = 0x01, */
/* 	    SQ_SEL_Z                                      = 0x02, */
/* 	    SQ_SEL_W                                      = 0x03, */
/* 	    SQ_SEL_0                                      = 0x04, */
/* 	    SQ_SEL_1                                      = 0x05, */
	    SQ_SEL_MASK                                   = 0x07,
	SQ_TEX_WORD1__DST_SEL_Y_mask                      = 0x07 << 12,
	SQ_TEX_WORD1__DST_SEL_Y_shift                     = 12,
/* 	    SQ_SEL_X                                      = 0x00, */
/* 	    SQ_SEL_Y                                      = 0x01, */
/* 	    SQ_SEL_Z                                      = 0x02, */
/* 	    SQ_SEL_W                                      = 0x03, */
/* 	    SQ_SEL_0                                      = 0x04, */
/* 	    SQ_SEL_1                                      = 0x05, */
/* 	    SQ_SEL_MASK                                   = 0x07, */
	SQ_TEX_WORD1__DST_SEL_Z_mask                      = 0x07 << 15,
	SQ_TEX_WORD1__DST_SEL_Z_shift                     = 15,
/* 	    SQ_SEL_X                                      = 0x00, */
/* 	    SQ_SEL_Y                                      = 0x01, */
/* 	    SQ_SEL_Z                                      = 0x02, */
/* 	    SQ_SEL_W                                      = 0x03, */
/* 	    SQ_SEL_0                                      = 0x04, */
/* 	    SQ_SEL_1                                      = 0x05, */
/* 	    SQ_SEL_MASK                                   = 0x07, */
	SQ_TEX_WORD1__DST_SEL_W_mask                      = 0x07 << 18,
	SQ_TEX_WORD1__DST_SEL_W_shift                     = 18,
/* 	    SQ_SEL_X                                      = 0x00, */
/* 	    SQ_SEL_Y                                      = 0x01, */
/* 	    SQ_SEL_Z                                      = 0x02, */
/* 	    SQ_SEL_W                                      = 0x03, */
/* 	    SQ_SEL_0                                      = 0x04, */
/* 	    SQ_SEL_1                                      = 0x05, */
/* 	    SQ_SEL_MASK                                   = 0x07, */
	SQ_TEX_WORD1__LOD_BIAS_mask                       = 0x7f << 21,
	SQ_TEX_WORD1__LOD_BIAS_shift                      = 21,
	COORD_TYPE_X_bit                                  = 1 << 28,
	COORD_TYPE_Y_bit                                  = 1 << 29,
	COORD_TYPE_Z_bit                                  = 1 << 30,
	COORD_TYPE_W_bit                                  = 1 << 31,
    SQ_VTX_WORD0                                          = 0x00008dfc,
	VTX_INST_mask                                     = 0x1f << 0,
	VTX_INST_shift                                    = 0,
	    SQ_VTX_INST_FETCH                             = 0x00,
	    SQ_VTX_INST_SEMANTIC                          = 0x01,
	    SQ_VTX_INST_GET_BUFFER_RESINFO                = 0x0e,
	FETCH_TYPE_mask                                   = 0x03 << 5,
	FETCH_TYPE_shift                                  = 5,
	    SQ_VTX_FETCH_VERTEX_DATA                      = 0x00,
	    SQ_VTX_FETCH_INSTANCE_DATA                    = 0x01,
	    SQ_VTX_FETCH_NO_INDEX_OFFSET                  = 0x02,
	FETCH_WHOLE_QUAD_bit                              = 1 << 7,
	BUFFER_ID_mask                                    = 0xff << 8,
	BUFFER_ID_shift                                   = 8,
	SQ_VTX_WORD0__SRC_GPR_mask                        = 0x7f << 16,
	SQ_VTX_WORD0__SRC_GPR_shift                       = 16,
	SRC_REL_bit                                       = 1 << 23,
	SQ_VTX_WORD0__SRC_SEL_X_mask                      = 0x03 << 24,
	SQ_VTX_WORD0__SRC_SEL_X_shift                     = 24,
/* 	    SQ_SEL_X                                      = 0x00, */
/* 	    SQ_SEL_Y                                      = 0x01, */
/* 	    SQ_SEL_Z                                      = 0x02, */
/* 	    SQ_SEL_W                                      = 0x03, */
	MEGA_FETCH_COUNT_mask                             = 0x3f << 26,
	MEGA_FETCH_COUNT_shift                            = 26,
    SQ_CF_ALLOC_EXPORT_WORD1_SWIZ                         = 0x00008dfc,
	SEL_X_mask                                        = 0x07 << 0,
	SEL_X_shift                                       = 0,
/* 	    SQ_SEL_X                                      = 0x00, */
/* 	    SQ_SEL_Y                                      = 0x01, */
/* 	    SQ_SEL_Z                                      = 0x02, */
/* 	    SQ_SEL_W                                      = 0x03, */
/* 	    SQ_SEL_0                                      = 0x04, */
/* 	    SQ_SEL_1                                      = 0x05, */
/* 	    SQ_SEL_MASK                                   = 0x07, */
	SEL_Y_mask                                        = 0x07 << 3,
	SEL_Y_shift                                       = 3,
/* 	    SQ_SEL_X                                      = 0x00, */
/* 	    SQ_SEL_Y                                      = 0x01, */
/* 	    SQ_SEL_Z                                      = 0x02, */
/* 	    SQ_SEL_W                                      = 0x03, */
/* 	    SQ_SEL_0                                      = 0x04, */
/* 	    SQ_SEL_1                                      = 0x05, */
/* 	    SQ_SEL_MASK                                   = 0x07, */
	SEL_Z_mask                                        = 0x07 << 6,
	SEL_Z_shift                                       = 6,
/* 	    SQ_SEL_X                                      = 0x00, */
/* 	    SQ_SEL_Y                                      = 0x01, */
/* 	    SQ_SEL_Z                                      = 0x02, */
/* 	    SQ_SEL_W                                      = 0x03, */
/* 	    SQ_SEL_0                                      = 0x04, */
/* 	    SQ_SEL_1                                      = 0x05, */
/* 	    SQ_SEL_MASK                                   = 0x07, */
	SEL_W_mask                                        = 0x07 << 9,
	SEL_W_shift                                       = 9,
/* 	    SQ_SEL_X                                      = 0x00, */
/* 	    SQ_SEL_Y                                      = 0x01, */
/* 	    SQ_SEL_Z                                      = 0x02, */
/* 	    SQ_SEL_W                                      = 0x03, */
/* 	    SQ_SEL_0                                      = 0x04, */
/* 	    SQ_SEL_1                                      = 0x05, */
/* 	    SQ_SEL_MASK                                   = 0x07, */
    SQ_MEM_RD_WORD0                                       = 0x00008dfc,
	MEM_INST_mask                                     = 0x1f << 0,
	MEM_INST_shift                                    = 0,
	    SQ_MEM_INST_MEM                               = 0x02,
	SQ_MEM_RD_WORD0__ELEM_SIZE_mask                   = 0x03 << 5,
	SQ_MEM_RD_WORD0__ELEM_SIZE_shift                  = 5,
/* 	FETCH_WHOLE_QUAD_bit                              = 1 << 7, */
	MEM_OP_mask                                       = 0x07 << 8,
	MEM_OP_shift                                      = 8,
	    SQ_MEM_OP_RD_SCRATCH                          = 0x00,
	    SQ_MEM_OP_RD_SCATTER                          = 0x02,
	    SQ_MEM_OP_GDS                                 = 0x04,
	    SQ_MEM_OP_TF_WRITE                            = 0x05,
	SQ_MEM_RD_WORD0__UNCACHED_bit                     = 1 << 11,
	INDEXED_bit                                       = 1 << 12,
	SQ_MEM_RD_WORD0__SRC_GPR_mask                     = 0x7f << 16,
	SQ_MEM_RD_WORD0__SRC_GPR_shift                    = 16,
/* 	SRC_REL_bit                                       = 1 << 23, */
	SQ_MEM_RD_WORD0__SRC_SEL_X_mask                   = 0x03 << 24,
	SQ_MEM_RD_WORD0__SRC_SEL_X_shift                  = 24,
/* 	    SQ_SEL_X                                      = 0x00, */
/* 	    SQ_SEL_Y                                      = 0x01, */
/* 	    SQ_SEL_Z                                      = 0x02, */
/* 	    SQ_SEL_W                                      = 0x03, */
	BURST_CNT_mask                                    = 0x0f << 26,
	BURST_CNT_shift                                   = 26,
    SQ_ALU_WORD1                                          = 0x00008dfc,
	SQ_ALU_WORD1__ENCODING_mask                       = 0x07 << 15,
	SQ_ALU_WORD1__ENCODING_shift                      = 15,
	BANK_SWIZZLE_mask                                 = 0x07 << 18,
	BANK_SWIZZLE_shift                                = 18,
	    SQ_ALU_VEC_012                                = 0x00,
	    SQ_ALU_VEC_021                                = 0x01,
	    SQ_ALU_VEC_120                                = 0x02,
	    SQ_ALU_VEC_102                                = 0x03,
	    SQ_ALU_VEC_201                                = 0x04,
	    SQ_ALU_VEC_210                                = 0x05,
	SQ_ALU_WORD1__DST_GPR_mask                        = 0x7f << 21,
	SQ_ALU_WORD1__DST_GPR_shift                       = 21,
	SQ_ALU_WORD1__DST_REL_bit                         = 1 << 28,
	DST_CHAN_mask                                     = 0x03 << 29,
	DST_CHAN_shift                                    = 29,
	    CHAN_X                                        = 0x00,
	    CHAN_Y                                        = 0x01,
	    CHAN_Z                                        = 0x02,
	    CHAN_W                                        = 0x03,
	SQ_ALU_WORD1__CLAMP_bit                           = 1 << 31,
    SQ_CF_ALU_WORD0_EXT                                   = 0x00008dfc,
	KCACHE_BANK_INDEX_MODE0_mask                      = 0x03 << 4,
	KCACHE_BANK_INDEX_MODE0_shift                     = 4,
	    SQ_CF_INDEX_NONE                              = 0x00,
	    SQ_CF_INDEX_0                                 = 0x01,
	    SQ_CF_INDEX_1                                 = 0x02,
	    SQ_CF_INVALID                                 = 0x03,
	KCACHE_BANK_INDEX_MODE1_mask                      = 0x03 << 6,
	KCACHE_BANK_INDEX_MODE1_shift                     = 6,
/* 	    SQ_CF_INDEX_NONE                              = 0x00, */
/* 	    SQ_CF_INDEX_0                                 = 0x01, */
/* 	    SQ_CF_INDEX_1                                 = 0x02, */
/* 	    SQ_CF_INVALID                                 = 0x03, */
	KCACHE_BANK_INDEX_MODE2_mask                      = 0x03 << 8,
	KCACHE_BANK_INDEX_MODE2_shift                     = 8,
/* 	    SQ_CF_INDEX_NONE                              = 0x00, */
/* 	    SQ_CF_INDEX_0                                 = 0x01, */
/* 	    SQ_CF_INDEX_1                                 = 0x02, */
/* 	    SQ_CF_INVALID                                 = 0x03, */
	KCACHE_BANK_INDEX_MODE3_mask                      = 0x03 << 10,
	KCACHE_BANK_INDEX_MODE3_shift                     = 10,
/* 	    SQ_CF_INDEX_NONE                              = 0x00, */
/* 	    SQ_CF_INDEX_0                                 = 0x01, */
/* 	    SQ_CF_INDEX_1                                 = 0x02, */
/* 	    SQ_CF_INVALID                                 = 0x03, */
	KCACHE_BANK2_mask                                 = 0x0f << 22,
	KCACHE_BANK2_shift                                = 22,
	KCACHE_BANK3_mask                                 = 0x0f << 26,
	KCACHE_BANK3_shift                                = 26,
	KCACHE_MODE2_mask                                 = 0x03 << 30,
	KCACHE_MODE2_shift                                = 30,
/* 	    SQ_CF_KCACHE_NOP                              = 0x00, */
/* 	    SQ_CF_KCACHE_LOCK_1                           = 0x01, */
/* 	    SQ_CF_KCACHE_LOCK_2                           = 0x02, */
/* 	    SQ_CF_KCACHE_LOCK_LOOP_INDEX                  = 0x03, */
    SQ_ALU_WORD0_LDS_IDX_OP                               = 0x00008dfc,
	SRC0_SEL_mask                                     = 0x1ff << 0,
	SRC0_SEL_shift                                    = 0,
/* 	    SQ_ALU_SRC_LDS_OQ_A                           = 0xdb, */
/* 	    SQ_ALU_SRC_LDS_OQ_B                           = 0xdc, */
/* 	    SQ_ALU_SRC_LDS_OQ_A_POP                       = 0xdd, */
/* 	    SQ_ALU_SRC_LDS_OQ_B_POP                       = 0xde, */
/* 	    SQ_ALU_SRC_LDS_DIRECT_A                       = 0xdf, */
/* 	    SQ_ALU_SRC_LDS_DIRECT_B                       = 0xe0, */
/* 	    SQ_ALU_SRC_TIME_HI                            = 0xe3, */
/* 	    SQ_ALU_SRC_TIME_LO                            = 0xe4, */
/* 	    SQ_ALU_SRC_MASK_HI                            = 0xe5, */
/* 	    SQ_ALU_SRC_MASK_LO                            = 0xe6, */
/* 	    SQ_ALU_SRC_HW_WAVE_ID                         = 0xe7, */
/* 	    SQ_ALU_SRC_SIMD_ID                            = 0xe8, */
/* 	    SQ_ALU_SRC_SE_ID                              = 0xe9, */
/* 	    SQ_ALU_SRC_HW_THREADGRP_ID                    = 0xea, */
/* 	    SQ_ALU_SRC_WAVE_ID_IN_GRP                     = 0xeb, */
/* 	    SQ_ALU_SRC_NUM_THREADGRP_WAVES                = 0xec, */
/* 	    SQ_ALU_SRC_HW_ALU_ODD                         = 0xed, */
/* 	    SQ_ALU_SRC_LOOP_IDX                           = 0xee, */
/* 	    SQ_ALU_SRC_PARAM_BASE_ADDR                    = 0xf0, */
/* 	    SQ_ALU_SRC_NEW_PRIM_MASK                      = 0xf1, */
/* 	    SQ_ALU_SRC_PRIM_MASK_HI                       = 0xf2, */
/* 	    SQ_ALU_SRC_PRIM_MASK_LO                       = 0xf3, */
/* 	    SQ_ALU_SRC_1_DBL_L                            = 0xf4, */
/* 	    SQ_ALU_SRC_1_DBL_M                            = 0xf5, */
/* 	    SQ_ALU_SRC_0_5_DBL_L                          = 0xf6, */
/* 	    SQ_ALU_SRC_0_5_DBL_M                          = 0xf7, */
/* 	    SQ_ALU_SRC_0                                  = 0xf8, */
/* 	    SQ_ALU_SRC_1                                  = 0xf9, */
/* 	    SQ_ALU_SRC_1_INT                              = 0xfa, */
/* 	    SQ_ALU_SRC_M_1_INT                            = 0xfb, */
/* 	    SQ_ALU_SRC_0_5                                = 0xfc, */
/* 	    SQ_ALU_SRC_LITERAL                            = 0xfd, */
/* 	    SQ_ALU_SRC_PV                                 = 0xfe, */
/* 	    SQ_ALU_SRC_PS                                 = 0xff, */
	SRC0_REL_bit                                      = 1 << 9,
	SRC0_CHAN_mask                                    = 0x03 << 10,
	SRC0_CHAN_shift                                   = 10,
/* 	    SQ_CHAN_X                                     = 0x00, */
/* 	    SQ_CHAN_Y                                     = 0x01, */
/* 	    SQ_CHAN_Z                                     = 0x02, */
/* 	    SQ_CHAN_W                                     = 0x03, */
	IDX_OFFSET_4_bit                                  = 1 << 12,
	SRC1_SEL_mask                                     = 0x1ff << 13,
	SRC1_SEL_shift                                    = 13,
/* 	    SQ_ALU_SRC_LDS_OQ_A                           = 0xdb, */
/* 	    SQ_ALU_SRC_LDS_OQ_B                           = 0xdc, */
/* 	    SQ_ALU_SRC_LDS_OQ_A_POP                       = 0xdd, */
/* 	    SQ_ALU_SRC_LDS_OQ_B_POP                       = 0xde, */
/* 	    SQ_ALU_SRC_LDS_DIRECT_A                       = 0xdf, */
/* 	    SQ_ALU_SRC_LDS_DIRECT_B                       = 0xe0, */
/* 	    SQ_ALU_SRC_TIME_HI                            = 0xe3, */
/* 	    SQ_ALU_SRC_TIME_LO                            = 0xe4, */
/* 	    SQ_ALU_SRC_MASK_HI                            = 0xe5, */
/* 	    SQ_ALU_SRC_MASK_LO                            = 0xe6, */
/* 	    SQ_ALU_SRC_HW_WAVE_ID                         = 0xe7, */
/* 	    SQ_ALU_SRC_SIMD_ID                            = 0xe8, */
/* 	    SQ_ALU_SRC_SE_ID                              = 0xe9, */
/* 	    SQ_ALU_SRC_HW_THREADGRP_ID                    = 0xea, */
/* 	    SQ_ALU_SRC_WAVE_ID_IN_GRP                     = 0xeb, */
/* 	    SQ_ALU_SRC_NUM_THREADGRP_WAVES                = 0xec, */
/* 	    SQ_ALU_SRC_HW_ALU_ODD                         = 0xed, */
/* 	    SQ_ALU_SRC_LOOP_IDX                           = 0xee, */
/* 	    SQ_ALU_SRC_PARAM_BASE_ADDR                    = 0xf0, */
/* 	    SQ_ALU_SRC_NEW_PRIM_MASK                      = 0xf1, */
/* 	    SQ_ALU_SRC_PRIM_MASK_HI                       = 0xf2, */
/* 	    SQ_ALU_SRC_PRIM_MASK_LO                       = 0xf3, */
/* 	    SQ_ALU_SRC_1_DBL_L                            = 0xf4, */
/* 	    SQ_ALU_SRC_1_DBL_M                            = 0xf5, */
/* 	    SQ_ALU_SRC_0_5_DBL_L                          = 0xf6, */
/* 	    SQ_ALU_SRC_0_5_DBL_M                          = 0xf7, */
/* 	    SQ_ALU_SRC_0                                  = 0xf8, */
/* 	    SQ_ALU_SRC_1                                  = 0xf9, */
/* 	    SQ_ALU_SRC_1_INT                              = 0xfa, */
/* 	    SQ_ALU_SRC_M_1_INT                            = 0xfb, */
/* 	    SQ_ALU_SRC_0_5                                = 0xfc, */
/* 	    SQ_ALU_SRC_LITERAL                            = 0xfd, */
/* 	    SQ_ALU_SRC_PV                                 = 0xfe, */
/* 	    SQ_ALU_SRC_PS                                 = 0xff, */
	SRC1_REL_bit                                      = 1 << 22,
	SRC1_CHAN_mask                                    = 0x03 << 23,
	SRC1_CHAN_shift                                   = 23,
/* 	    SQ_CHAN_X                                     = 0x00, */
/* 	    SQ_CHAN_Y                                     = 0x01, */
/* 	    SQ_CHAN_Z                                     = 0x02, */
/* 	    SQ_CHAN_W                                     = 0x03, */
	IDX_OFFSET_5_bit                                  = 1 << 25,
	INDEX_MODE_mask                                   = 0x07 << 26,
	INDEX_MODE_shift                                  = 26,
	    SQ_INDEX_AR_X                                 = 0x00,
	    SQ_INDEX_LOOP                                 = 0x04,
	    SQ_INDEX_GLOBAL                               = 0x05,
	    SQ_INDEX_GLOBAL_AR_X                          = 0x06,
	PRED_SEL_mask                                     = 0x03 << 29,
	PRED_SEL_shift                                    = 29,
	    SQ_PRED_SEL_OFF                               = 0x00,
	    SQ_PRED_SEL_ZERO                              = 0x02,
	    SQ_PRED_SEL_ONE                               = 0x03,
	LAST_bit                                          = 1 << 31,
    SQ_MEM_GDS_WORD2                                      = 0x00008dfc,
	SQ_MEM_GDS_WORD2__DST_SEL_X_mask                  = 0x07 << 0,
	SQ_MEM_GDS_WORD2__DST_SEL_X_shift                 = 0,
/* 	    SQ_SEL_X                                      = 0x00, */
/* 	    SQ_SEL_Y                                      = 0x01, */
/* 	    SQ_SEL_Z                                      = 0x02, */
/* 	    SQ_SEL_W                                      = 0x03, */
/* 	    SQ_SEL_0                                      = 0x04, */
/* 	    SQ_SEL_1                                      = 0x05, */
/* 	    SQ_SEL_MASK                                   = 0x07, */
	SQ_MEM_GDS_WORD2__DST_SEL_Y_mask                  = 0x07 << 3,
	SQ_MEM_GDS_WORD2__DST_SEL_Y_shift                 = 3,
/* 	    SQ_SEL_X                                      = 0x00, */
/* 	    SQ_SEL_Y                                      = 0x01, */
/* 	    SQ_SEL_Z                                      = 0x02, */
/* 	    SQ_SEL_W                                      = 0x03, */
/* 	    SQ_SEL_0                                      = 0x04, */
/* 	    SQ_SEL_1                                      = 0x05, */
/* 	    SQ_SEL_MASK                                   = 0x07, */
	SQ_MEM_GDS_WORD2__DST_SEL_Z_mask                  = 0x07 << 6,
	SQ_MEM_GDS_WORD2__DST_SEL_Z_shift                 = 6,
/* 	    SQ_SEL_X                                      = 0x00, */
/* 	    SQ_SEL_Y                                      = 0x01, */
/* 	    SQ_SEL_Z                                      = 0x02, */
/* 	    SQ_SEL_W                                      = 0x03, */
/* 	    SQ_SEL_0                                      = 0x04, */
/* 	    SQ_SEL_1                                      = 0x05, */
/* 	    SQ_SEL_MASK                                   = 0x07, */
	SQ_MEM_GDS_WORD2__DST_SEL_W_mask                  = 0x07 << 9,
	SQ_MEM_GDS_WORD2__DST_SEL_W_shift                 = 9,
/* 	    SQ_SEL_X                                      = 0x00, */
/* 	    SQ_SEL_Y                                      = 0x01, */
/* 	    SQ_SEL_Z                                      = 0x02, */
/* 	    SQ_SEL_W                                      = 0x03, */
/* 	    SQ_SEL_0                                      = 0x04, */
/* 	    SQ_SEL_1                                      = 0x05, */
/* 	    SQ_SEL_MASK                                   = 0x07, */
    SQ_CF_ALLOC_EXPORT_WORD0_RAT                          = 0x00008dfc,
	RAT_ID_mask                                       = 0x0f << 0,
	RAT_ID_shift                                      = 0,
	RAT_INST_mask                                     = 0x3f << 4,
	RAT_INST_shift                                    = 4,
	    SQ_EXPORT_RAT_INST_NOP                        = 0x00,
	    SQ_EXPORT_RAT_INST_STORE_TYPED                = 0x01,
	    SQ_EXPORT_RAT_INST_STORE_RAW                  = 0x02,
	    SQ_EXPORT_RAT_INST_STORE_RAW_FDENORM          = 0x03,
	    SQ_EXPORT_RAT_INST_CMPXCHG_INT                = 0x04,
	    SQ_EXPORT_RAT_INST_CMPXCHG_FLT                = 0x05,
	    SQ_EXPORT_RAT_INST_CMPXCHG_FDENORM            = 0x06,
	    SQ_EXPORT_RAT_INST_ADD                        = 0x07,
	    SQ_EXPORT_RAT_INST_SUB                        = 0x08,
	    SQ_EXPORT_RAT_INST_RSUB                       = 0x09,
	    SQ_EXPORT_RAT_INST_MIN_INT                    = 0x0a,
	    SQ_EXPORT_RAT_INST_MIN_UINT                   = 0x0b,
	    SQ_EXPORT_RAT_INST_MAX_INT                    = 0x0c,
	    SQ_EXPORT_RAT_INST_MAX_UINT                   = 0x0d,
	    SQ_EXPORT_RAT_INST_AND                        = 0x0e,
	    SQ_EXPORT_RAT_INST_OR                         = 0x0f,
	    SQ_EXPORT_RAT_INST_XOR                        = 0x10,
	    SQ_EXPORT_RAT_INST_MSKOR                      = 0x11,
	    SQ_EXPORT_RAT_INST_INC_UINT                   = 0x12,
	    SQ_EXPORT_RAT_INST_DEC_UINT                   = 0x13,
	    SQ_EXPORT_RAT_INST_NOP_RTN                    = 0x20,
	    SQ_EXPORT_RAT_INST_XCHG_RTN                   = 0x22,
	    SQ_EXPORT_RAT_INST_XCHG_FDENORM_RTN           = 0x23,
	    SQ_EXPORT_RAT_INST_CMPXCHG_INT_RTN            = 0x24,
	    SQ_EXPORT_RAT_INST_CMPXCHG_FLT_RTN            = 0x25,
	    SQ_EXPORT_RAT_INST_CMPXCHG_FDENORM_RTN        = 0x26,
	    SQ_EXPORT_RAT_INST_ADD_RTN                    = 0x27,
	    SQ_EXPORT_RAT_INST_SUB_RTN                    = 0x28,
	    SQ_EXPORT_RAT_INST_RSUB_RTN                   = 0x29,
	    SQ_EXPORT_RAT_INST_MIN_INT_RTN                = 0x2a,
	    SQ_EXPORT_RAT_INST_MIN_UINT_RTN               = 0x2b,
	    SQ_EXPORT_RAT_INST_MAX_INT_RTN                = 0x2c,
	    SQ_EXPORT_RAT_INST_MAX_UINT_RTN               = 0x2d,
	    SQ_EXPORT_RAT_INST_AND_RTN                    = 0x2e,
	    SQ_EXPORT_RAT_INST_OR_RTN                     = 0x2f,
	    SQ_EXPORT_RAT_INST_XOR_RTN                    = 0x30,
	    SQ_EXPORT_RAT_INST_MSKOR_RTN                  = 0x31,
	    SQ_EXPORT_RAT_INST_INC_UINT_RTN               = 0x32,
	    SQ_EXPORT_RAT_INST_DEC_UINT_RTN               = 0x33,
	RAT_INDEX_MODE_mask                               = 0x03 << 11,
	RAT_INDEX_MODE_shift                              = 11,
/* 	    SQ_CF_INDEX_NONE                              = 0x00, */
/* 	    SQ_CF_INDEX_0                                 = 0x01, */
/* 	    SQ_CF_INDEX_1                                 = 0x02, */
/* 	    SQ_CF_INVALID                                 = 0x03, */
	SQ_CF_ALLOC_EXPORT_WORD0_RAT__TYPE_mask           = 0x03 << 13,
	SQ_CF_ALLOC_EXPORT_WORD0_RAT__TYPE_shift          = 13,
	    SQ_EXPORT_PIXEL                               = 0x00,
	    SQ_EXPORT_POS                                 = 0x01,
	    SQ_EXPORT_PARAM                               = 0x02,
	    X_UNUSED_FOR_SX_EXPORTS                       = 0x03,
	RW_GPR_mask                                       = 0x7f << 15,
	RW_GPR_shift                                      = 15,
	RW_REL_bit                                        = 1 << 22,
	INDEX_GPR_mask                                    = 0x7f << 23,
	INDEX_GPR_shift                                   = 23,
	SQ_CF_ALLOC_EXPORT_WORD0_RAT__ELEM_SIZE_mask      = 0x03 << 30,
	SQ_CF_ALLOC_EXPORT_WORD0_RAT__ELEM_SIZE_shift     = 30,
    SQ_CF_ALU_WORD0                                       = 0x00008dfc,
	SQ_CF_ALU_WORD0__ADDR_mask                        = 0x3fffff << 0,
	SQ_CF_ALU_WORD0__ADDR_shift                       = 0,
	KCACHE_BANK0_mask                                 = 0x0f << 22,
	KCACHE_BANK0_shift                                = 22,
	KCACHE_BANK1_mask                                 = 0x0f << 26,
	KCACHE_BANK1_shift                                = 26,
	KCACHE_MODE0_mask                                 = 0x03 << 30,
	KCACHE_MODE0_shift                                = 30,
/* 	    SQ_CF_KCACHE_NOP                              = 0x00, */
/* 	    SQ_CF_KCACHE_LOCK_1                           = 0x01, */
/* 	    SQ_CF_KCACHE_LOCK_2                           = 0x02, */
/* 	    SQ_CF_KCACHE_LOCK_LOOP_INDEX                  = 0x03, */
    SQ_MEM_GDS_WORD1                                      = 0x00008dfc,
	SQ_MEM_GDS_WORD1__DST_GPR_mask                    = 0x7f << 0,
	SQ_MEM_GDS_WORD1__DST_GPR_shift                   = 0,
	DST_REL_MODE_mask                                 = 0x03 << 7,
	DST_REL_MODE_shift                                = 7,
	    SQ_REL_NONE                                   = 0x00,
	    SQ_REL_LOOP                                   = 0x01,
	    SQ_REL_GLOBAL                                 = 0x02,
	GDS_OP_mask                                       = 0x3f << 9,
	GDS_OP_shift                                      = 9,
	    SQ_DS_INST_ADD                                = 0x00,
	    SQ_DS_INST_SUB                                = 0x01,
	    SQ_DS_INST_RSUB                               = 0x02,
	    SQ_DS_INST_INC                                = 0x03,
	    SQ_DS_INST_DEC                                = 0x04,
	    SQ_DS_INST_MIN_INT                            = 0x05,
	    SQ_DS_INST_MAX_INT                            = 0x06,
	    SQ_DS_INST_MIN_UINT                           = 0x07,
	    SQ_DS_INST_MAX_UINT                           = 0x08,
	    SQ_DS_INST_AND                                = 0x09,
	    SQ_DS_INST_OR                                 = 0x0a,
	    SQ_DS_INST_XOR                                = 0x0b,
	    SQ_DS_INST_MSKOR                              = 0x0c,
	    SQ_DS_INST_WRITE                              = 0x0d,
	    SQ_DS_INST_WRITE_REL                          = 0x0e,
	    SQ_DS_INST_WRITE2                             = 0x0f,
	    SQ_DS_INST_CMP_STORE                          = 0x10,
	    SQ_DS_INST_CMP_STORE_SPF                      = 0x11,
	    SQ_DS_INST_BYTE_WRITE                         = 0x12,
	    SQ_DS_INST_SHORT_WRITE                        = 0x13,
	    SQ_DS_INST_ADD_RET                            = 0x20,
	    SQ_DS_INST_SUB_RET                            = 0x21,
	    SQ_DS_INST_RSUB_RET                           = 0x22,
	    SQ_DS_INST_INC_RET                            = 0x23,
	    SQ_DS_INST_DEC_RET                            = 0x24,
	    SQ_DS_INST_MIN_INT_RET                        = 0x25,
	    SQ_DS_INST_MAX_INT_RET                        = 0x26,
	    SQ_DS_INST_MIN_UINT_RET                       = 0x27,
	    SQ_DS_INST_MAX_UINT_RET                       = 0x28,
	    SQ_DS_INST_AND_RET                            = 0x29,
	    SQ_DS_INST_OR_RET                             = 0x2a,
	    SQ_DS_INST_XOR_RET                            = 0x2b,
	    SQ_DS_INST_MSKOR_RET                          = 0x2c,
	    SQ_DS_INST_XCHG_RET                           = 0x2d,
	    SQ_DS_INST_XCHG_REL_RET                       = 0x2e,
	    SQ_DS_INST_XCHG2_RET                          = 0x2f,
	    SQ_DS_INST_CMP_XCHG_RET                       = 0x30,
	    SQ_DS_INST_CMP_XCHG_SPF_RET                   = 0x31,
	    SQ_DS_INST_READ_RET                           = 0x32,
	    SQ_DS_INST_READ_REL_RET                       = 0x33,
	    SQ_DS_INST_READ2_RET                          = 0x34,
	    SQ_DS_INST_READWRITE_RET                      = 0x35,
	    SQ_DS_INST_BYTE_READ_RET                      = 0x36,
	    SQ_DS_INST_UBYTE_READ_RET                     = 0x37,
	    SQ_DS_INST_SHORT_READ_RET                     = 0x38,
	    SQ_DS_INST_USHORT_READ_RET                    = 0x39,
	    SQ_DS_INST_ATOMIC_ORDERED_ALLOC_RET           = 0x3f,
	DS_OFFSET_mask                                    = 0x7f << 16,
	DS_OFFSET_shift                                   = 16,
	UAV_INDEX_MODE_mask                               = 0x03 << 24,
	UAV_INDEX_MODE_shift                              = 24,
/* 	    SQ_CF_INDEX_NONE                              = 0x00, */
/* 	    SQ_CF_INDEX_0                                 = 0x01, */
/* 	    SQ_CF_INDEX_1                                 = 0x02, */
/* 	    SQ_CF_INVALID                                 = 0x03, */
	UAV_ID_mask                                       = 0x0f << 26,
	UAV_ID_shift                                      = 26,
	ALLOC_CONSUME_bit                                 = 1 << 30,
	BCAST_FIRST_REQ_bit                               = 1 << 31,
    SQ_MEM_RD_WORD2                                       = 0x00008dfc,
	ARRAY_BASE_mask                                   = 0x1fff << 0,
	ARRAY_BASE_shift                                  = 0,
	SQ_MEM_RD_WORD2__ENDIAN_SWAP_mask                 = 0x03 << 16,
	SQ_MEM_RD_WORD2__ENDIAN_SWAP_shift                = 16,
	    SQ_ENDIAN_NONE                                = 0x00,
	    SQ_ENDIAN_8IN16                               = 0x01,
	    SQ_ENDIAN_8IN32                               = 0x02,
	SQ_MEM_RD_WORD2__ARRAY_SIZE_mask                  = 0xfff << 20,
	SQ_MEM_RD_WORD2__ARRAY_SIZE_shift                 = 20,
    SQ_CF_ALU_WORD1_EXT                                   = 0x00008dfc,
	KCACHE_MODE3_mask                                 = 0x03 << 0,
	KCACHE_MODE3_shift                                = 0,
/* 	    SQ_CF_KCACHE_NOP                              = 0x00, */
/* 	    SQ_CF_KCACHE_LOCK_1                           = 0x01, */
/* 	    SQ_CF_KCACHE_LOCK_2                           = 0x02, */
/* 	    SQ_CF_KCACHE_LOCK_LOOP_INDEX                  = 0x03, */
	KCACHE_ADDR2_mask                                 = 0xff << 2,
	KCACHE_ADDR2_shift                                = 2,
	KCACHE_ADDR3_mask                                 = 0xff << 10,
	KCACHE_ADDR3_shift                                = 10,
	SQ_CF_ALU_WORD1_EXT__CF_INST_mask                 = 0x0f << 26,
	SQ_CF_ALU_WORD1_EXT__CF_INST_shift                = 26,
/* 	    SQ_CF_INST_ALU                                = 0x08, */
/* 	    SQ_CF_INST_ALU_PUSH_BEFORE                    = 0x09, */
/* 	    SQ_CF_INST_ALU_POP_AFTER                      = 0x0a, */
/* 	    SQ_CF_INST_ALU_POP2_AFTER                     = 0x0b, */
/* 	    SQ_CF_INST_ALU_EXTENDED                       = 0x0c, */
/* 	    SQ_CF_INST_ALU_CONTINUE                       = 0x0d, */
/* 	    SQ_CF_INST_ALU_BREAK                          = 0x0e, */
/* 	    SQ_CF_INST_ALU_ELSE_AFTER                     = 0x0f, */
/* 	BARRIER_bit                                       = 1 << 31, */
    SQ_CF_GWS_WORD0                                       = 0x00008dfc,
	VALUE_mask                                        = 0x3ff << 0,
	VALUE_shift                                       = 0,
	RESOURCE_mask                                     = 0x1f << 16,
	RESOURCE_shift                                    = 16,
	SIGN_bit                                          = 1 << 25,
	VAL_INDEX_MODE_mask                               = 0x03 << 26,
	VAL_INDEX_MODE_shift                              = 26,
	    SQ_GWS_INDEX_NONE                             = 0x00,
	    SQ_GWS_INDEX_0                                = 0x01,
	    SQ_GWS_INDEX_1                                = 0x02,
	    SQ_GWS_INDEX_MIX                              = 0x03,
	RSRC_INDEX_MODE_mask                              = 0x03 << 28,
	RSRC_INDEX_MODE_shift                             = 28,
/* 	    SQ_CF_INDEX_NONE                              = 0x00, */
/* 	    SQ_CF_INDEX_0                                 = 0x01, */
/* 	    SQ_CF_INDEX_1                                 = 0x02, */
/* 	    SQ_CF_INVALID                                 = 0x03, */
	GWS_OPCODE_mask                                   = 0x03 << 30,
	GWS_OPCODE_shift                                  = 30,
	    SQ_GWS_SEMA_V                                 = 0x00,
	    SQ_GWS_SEMA_P                                 = 0x01,
	    SQ_GWS_BARRIER                                = 0x02,
	    SQ_GWS_INIT                                   = 0x03,
    SQ_VTX_WORD2                                          = 0x00008dfc,
	SQ_VTX_WORD2__OFFSET_mask                         = 0xffff << 0,
	SQ_VTX_WORD2__OFFSET_shift                        = 0,
	SQ_VTX_WORD2__ENDIAN_SWAP_mask                    = 0x03 << 16,
	SQ_VTX_WORD2__ENDIAN_SWAP_shift                   = 16,
/* 	    SQ_ENDIAN_NONE                                = 0x00, */
/* 	    SQ_ENDIAN_8IN16                               = 0x01, */
/* 	    SQ_ENDIAN_8IN32                               = 0x02, */
	CONST_BUF_NO_STRIDE_bit                           = 1 << 18,
	MEGA_FETCH_bit                                    = 1 << 19,
	SQ_VTX_WORD2__ALT_CONST_bit                       = 1 << 20,
	BUFFER_INDEX_MODE_mask                            = 0x03 << 21,
	BUFFER_INDEX_MODE_shift                           = 21,
/* 	    SQ_CF_INDEX_NONE                              = 0x00, */
/* 	    SQ_CF_INDEX_0                                 = 0x01, */
/* 	    SQ_CF_INDEX_1                                 = 0x02, */
/* 	    SQ_CF_INVALID                                 = 0x03, */
    SQ_CF_ALLOC_EXPORT_WORD1_BUF                          = 0x00008dfc,
	SQ_CF_ALLOC_EXPORT_WORD1_BUF__ARRAY_SIZE_mask     = 0xfff << 0,
	SQ_CF_ALLOC_EXPORT_WORD1_BUF__ARRAY_SIZE_shift    = 0,
	COMP_MASK_mask                                    = 0x0f << 12,
	COMP_MASK_shift                                   = 12,
    SQ_CF_WORD0                                           = 0x00008dfc,
	SQ_CF_WORD0__ADDR_mask                            = 0xffffff << 0,
	SQ_CF_WORD0__ADDR_shift                           = 0,
	JUMPTABLE_SEL_mask                                = 0x07 << 24,
	JUMPTABLE_SEL_shift                               = 24,
	    SQ_CF_JUMPTABLE_SEL_CONST_A                   = 0x00,
	    SQ_CF_JUMPTABLE_SEL_CONST_B                   = 0x01,
	    SQ_CF_JUMPTABLE_SEL_CONST_C                   = 0x02,
	    SQ_CF_JUMPTABLE_SEL_CONST_D                   = 0x03,
	    SQ_CF_JUMPTABLE_SEL_INDEX_0                   = 0x04,
	    SQ_CF_JUMPTABLE_SEL_INDEX_1                   = 0x05,
    SQ_CF_ALLOC_EXPORT_WORD0                              = 0x00008dfc,
/* 	ARRAY_BASE_mask                                   = 0x1fff << 0, */
/* 	ARRAY_BASE_shift                                  = 0, */
	SQ_CF_ALLOC_EXPORT_WORD0__TYPE_mask               = 0x03 << 13,
	SQ_CF_ALLOC_EXPORT_WORD0__TYPE_shift              = 13,
/* 	    SQ_EXPORT_PIXEL                               = 0x00, */
/* 	    SQ_EXPORT_POS                                 = 0x01, */
/* 	    SQ_EXPORT_PARAM                               = 0x02, */
/* 	    X_UNUSED_FOR_SX_EXPORTS                       = 0x03, */
/* 	RW_GPR_mask                                       = 0x7f << 15, */
/* 	RW_GPR_shift                                      = 15, */
/* 	RW_REL_bit                                        = 1 << 22, */
/* 	INDEX_GPR_mask                                    = 0x7f << 23, */
/* 	INDEX_GPR_shift                                   = 23, */
	SQ_CF_ALLOC_EXPORT_WORD0__ELEM_SIZE_mask          = 0x03 << 30,
	SQ_CF_ALLOC_EXPORT_WORD0__ELEM_SIZE_shift         = 30,
    SQ_MEM_GDS_WORD0                                      = 0x00008dfc,
/* 	MEM_INST_mask                                     = 0x1f << 0, */
/* 	MEM_INST_shift                                    = 0, */
/* 	    SQ_MEM_INST_MEM                               = 0x02, */
/* 	MEM_OP_mask                                       = 0x07 << 8, */
/* 	MEM_OP_shift                                      = 8, */
/* 	    SQ_MEM_OP_RD_SCRATCH                          = 0x00, */
/* 	    SQ_MEM_OP_RD_SCATTER                          = 0x02, */
/* 	    SQ_MEM_OP_GDS                                 = 0x04, */
/* 	    SQ_MEM_OP_TF_WRITE                            = 0x05, */
	SQ_MEM_GDS_WORD0__SRC_GPR_mask                    = 0x7f << 11,
	SQ_MEM_GDS_WORD0__SRC_GPR_shift                   = 11,
	SRC_REL_MODE_mask                                 = 0x03 << 18,
	SRC_REL_MODE_shift                                = 18,
/* 	    SQ_REL_NONE                                   = 0x00, */
/* 	    SQ_REL_LOOP                                   = 0x01, */
/* 	    SQ_REL_GLOBAL                                 = 0x02, */
	SQ_MEM_GDS_WORD0__SRC_SEL_X_mask                  = 0x07 << 20,
	SQ_MEM_GDS_WORD0__SRC_SEL_X_shift                 = 20,
/* 	    SQ_SEL_X                                      = 0x00, */
/* 	    SQ_SEL_Y                                      = 0x01, */
/* 	    SQ_SEL_Z                                      = 0x02, */
/* 	    SQ_SEL_W                                      = 0x03, */
/* 	    SQ_SEL_0                                      = 0x04, */
/* 	    SQ_SEL_1                                      = 0x05, */
/* 	SRC_SEL_Y_mask                                    = 0x07 << 23, */
/* 	SRC_SEL_Y_shift                                   = 23, */
/* 	    SQ_SEL_X                                      = 0x00, */
/* 	    SQ_SEL_Y                                      = 0x01, */
/* 	    SQ_SEL_Z                                      = 0x02, */
/* 	    SQ_SEL_W                                      = 0x03, */
/* 	    SQ_SEL_0                                      = 0x04, */
/* 	    SQ_SEL_1                                      = 0x05, */
/* 	SRC_SEL_Z_mask                                    = 0x07 << 26, */
/* 	SRC_SEL_Z_shift                                   = 26, */
/* 	    SQ_SEL_X                                      = 0x00, */
/* 	    SQ_SEL_Y                                      = 0x01, */
/* 	    SQ_SEL_Z                                      = 0x02, */
/* 	    SQ_SEL_W                                      = 0x03, */
/* 	    SQ_SEL_0                                      = 0x04, */
/* 	    SQ_SEL_1                                      = 0x05, */
    SQ_ALU_WORD1_LDS_DIRECT_LITERAL_HI                    = 0x00008dfc,
	OFFSET_B_mask                                     = 0x1fff << 0,
	OFFSET_B_shift                                    = 0,
	STRIDE_B_mask                                     = 0x7f << 13,
	STRIDE_B_shift                                    = 13,
	THREAD_REL_B_bit                                  = 1 << 22,
	DIRECT_READ_32_bit                                = 1 << 31,
    SQ_VTX_WORD1                                          = 0x00008dfc,
	SQ_VTX_WORD1__DST_SEL_X_mask                      = 0x07 << 9,
	SQ_VTX_WORD1__DST_SEL_X_shift                     = 9,
/* 	    SQ_SEL_X                                      = 0x00, */
/* 	    SQ_SEL_Y                                      = 0x01, */
/* 	    SQ_SEL_Z                                      = 0x02, */
/* 	    SQ_SEL_W                                      = 0x03, */
/* 	    SQ_SEL_0                                      = 0x04, */
/* 	    SQ_SEL_1                                      = 0x05, */
/* 	    SQ_SEL_MASK                                   = 0x07, */
	SQ_VTX_WORD1__DST_SEL_Y_mask                      = 0x07 << 12,
	SQ_VTX_WORD1__DST_SEL_Y_shift                     = 12,
/* 	    SQ_SEL_X                                      = 0x00, */
/* 	    SQ_SEL_Y                                      = 0x01, */
/* 	    SQ_SEL_Z                                      = 0x02, */
/* 	    SQ_SEL_W                                      = 0x03, */
/* 	    SQ_SEL_0                                      = 0x04, */
/* 	    SQ_SEL_1                                      = 0x05, */
/* 	    SQ_SEL_MASK                                   = 0x07, */
	SQ_VTX_WORD1__DST_SEL_Z_mask                      = 0x07 << 15,
	SQ_VTX_WORD1__DST_SEL_Z_shift                     = 15,
/* 	    SQ_SEL_X                                      = 0x00, */
/* 	    SQ_SEL_Y                                      = 0x01, */
/* 	    SQ_SEL_Z                                      = 0x02, */
/* 	    SQ_SEL_W                                      = 0x03, */
/* 	    SQ_SEL_0                                      = 0x04, */
/* 	    SQ_SEL_1                                      = 0x05, */
/* 	    SQ_SEL_MASK                                   = 0x07, */
	SQ_VTX_WORD1__DST_SEL_W_mask                      = 0x07 << 18,
	SQ_VTX_WORD1__DST_SEL_W_shift                     = 18,
/* 	    SQ_SEL_X                                      = 0x00, */
/* 	    SQ_SEL_Y                                      = 0x01, */
/* 	    SQ_SEL_Z                                      = 0x02, */
/* 	    SQ_SEL_W                                      = 0x03, */
/* 	    SQ_SEL_0                                      = 0x04, */
/* 	    SQ_SEL_1                                      = 0x05, */
/* 	    SQ_SEL_MASK                                   = 0x07, */
	USE_CONST_FIELDS_bit                              = 1 << 21,
	SQ_VTX_WORD1__DATA_FORMAT_mask                    = 0x3f << 22,
	SQ_VTX_WORD1__DATA_FORMAT_shift                   = 22,
	SQ_VTX_WORD1__NUM_FORMAT_ALL_mask                 = 0x03 << 28,
	SQ_VTX_WORD1__NUM_FORMAT_ALL_shift                = 28,
	    SQ_NUM_FORMAT_NORM                            = 0x00,
	    SQ_NUM_FORMAT_INT                             = 0x01,
	    SQ_NUM_FORMAT_SCALED                          = 0x02,
	SQ_VTX_WORD1__FORMAT_COMP_ALL_bit                 = 1 << 30,
	SQ_VTX_WORD1__SRF_MODE_ALL_bit                    = 1 << 31,
    SQ_ALU_WORD1_OP2                                      = 0x00008dfc,
	SRC0_ABS_bit                                      = 1 << 0,
	SRC1_ABS_bit                                      = 1 << 1,
	UPDATE_EXECUTE_MASK_bit                           = 1 << 2,
	UPDATE_PRED_bit                                   = 1 << 3,
	WRITE_MASK_bit                                    = 1 << 4,
	OMOD_mask                                         = 0x03 << 5,
	OMOD_shift                                        = 5,
	    SQ_ALU_OMOD_OFF                               = 0x00,
	    SQ_ALU_OMOD_M2                                = 0x01,
	    SQ_ALU_OMOD_M4                                = 0x02,
	    SQ_ALU_OMOD_D2                                = 0x03,
	SQ_ALU_WORD1_OP2__ALU_INST_mask                   = 0x7ff << 7,
	SQ_ALU_WORD1_OP2__ALU_INST_shift                  = 7,
	    SQ_OP2_INST_ADD                               = 0x00,
	    SQ_OP2_INST_MUL                               = 0x01,
	    SQ_OP2_INST_MUL_IEEE                          = 0x02,
	    SQ_OP2_INST_MAX                               = 0x03,
	    SQ_OP2_INST_MIN                               = 0x04,
	    SQ_OP2_INST_MAX_DX10                          = 0x05,
	    SQ_OP2_INST_MIN_DX10                          = 0x06,
	    SQ_OP2_INST_SETE                              = 0x08,
	    SQ_OP2_INST_SETGT                             = 0x09,
	    SQ_OP2_INST_SETGE                             = 0x0a,
	    SQ_OP2_INST_SETNE                             = 0x0b,
	    SQ_OP2_INST_SETE_DX10                         = 0x0c,
	    SQ_OP2_INST_SETGT_DX10                        = 0x0d,
	    SQ_OP2_INST_SETGE_DX10                        = 0x0e,
	    SQ_OP2_INST_SETNE_DX10                        = 0x0f,
	    SQ_OP2_INST_FRACT                             = 0x10,
	    SQ_OP2_INST_TRUNC                             = 0x11,
	    SQ_OP2_INST_CEIL                              = 0x12,
	    SQ_OP2_INST_RNDNE                             = 0x13,
	    SQ_OP2_INST_FLOOR                             = 0x14,
	    SQ_OP2_INST_ASHR_INT                          = 0x15,
	    SQ_OP2_INST_LSHR_INT                          = 0x16,
	    SQ_OP2_INST_LSHL_INT                          = 0x17,
	    SQ_OP2_INST_MOV                               = 0x19,
	    SQ_OP2_INST_NOP                               = 0x1a,
	    SQ_OP2_INST_PRED_SETGT_UINT                   = 0x1e,
	    SQ_OP2_INST_PRED_SETGE_UINT                   = 0x1f,
	    SQ_OP2_INST_PRED_SETE                         = 0x20,
	    SQ_OP2_INST_PRED_SETGT                        = 0x21,
	    SQ_OP2_INST_PRED_SETGE                        = 0x22,
	    SQ_OP2_INST_PRED_SETNE                        = 0x23,
	    SQ_OP2_INST_PRED_SET_INV                      = 0x24,
	    SQ_OP2_INST_PRED_SET_POP                      = 0x25,
	    SQ_OP2_INST_PRED_SET_CLR                      = 0x26,
	    SQ_OP2_INST_PRED_SET_RESTORE                  = 0x27,
	    SQ_OP2_INST_PRED_SETE_PUSH                    = 0x28,
	    SQ_OP2_INST_PRED_SETGT_PUSH                   = 0x29,
	    SQ_OP2_INST_PRED_SETGE_PUSH                   = 0x2a,
	    SQ_OP2_INST_PRED_SETNE_PUSH                   = 0x2b,
	    SQ_OP2_INST_KILLE                             = 0x2c,
	    SQ_OP2_INST_KILLGT                            = 0x2d,
	    SQ_OP2_INST_KILLGE                            = 0x2e,
	    SQ_OP2_INST_KILLNE                            = 0x2f,
	    SQ_OP2_INST_AND_INT                           = 0x30,
	    SQ_OP2_INST_OR_INT                            = 0x31,
	    SQ_OP2_INST_XOR_INT                           = 0x32,
	    SQ_OP2_INST_NOT_INT                           = 0x33,
	    SQ_OP2_INST_ADD_INT                           = 0x34,
	    SQ_OP2_INST_SUB_INT                           = 0x35,
	    SQ_OP2_INST_MAX_INT                           = 0x36,
	    SQ_OP2_INST_MIN_INT                           = 0x37,
	    SQ_OP2_INST_MAX_UINT                          = 0x38,
	    SQ_OP2_INST_MIN_UINT                          = 0x39,
	    SQ_OP2_INST_SETE_INT                          = 0x3a,
	    SQ_OP2_INST_SETGT_INT                         = 0x3b,
	    SQ_OP2_INST_SETGE_INT                         = 0x3c,
	    SQ_OP2_INST_SETNE_INT                         = 0x3d,
	    SQ_OP2_INST_SETGT_UINT                        = 0x3e,
	    SQ_OP2_INST_SETGE_UINT                        = 0x3f,
	    SQ_OP2_INST_KILLGT_UINT                       = 0x40,
	    SQ_OP2_INST_KILLGE_UINT                       = 0x41,
	    SQ_OP2_INST_PRED_SETE_INT                     = 0x42,
	    SQ_OP2_INST_PRED_SETGT_INT                    = 0x43,
	    SQ_OP2_INST_PRED_SETGE_INT                    = 0x44,
	    SQ_OP2_INST_PRED_SETNE_INT                    = 0x45,
	    SQ_OP2_INST_KILLE_INT                         = 0x46,
	    SQ_OP2_INST_KILLGT_INT                        = 0x47,
	    SQ_OP2_INST_KILLGE_INT                        = 0x48,
	    SQ_OP2_INST_KILLNE_INT                        = 0x49,
	    SQ_OP2_INST_PRED_SETE_PUSH_INT                = 0x4a,
	    SQ_OP2_INST_PRED_SETGT_PUSH_INT               = 0x4b,
	    SQ_OP2_INST_PRED_SETGE_PUSH_INT               = 0x4c,
	    SQ_OP2_INST_PRED_SETNE_PUSH_INT               = 0x4d,
	    SQ_OP2_INST_PRED_SETLT_PUSH_INT               = 0x4e,
	    SQ_OP2_INST_PRED_SETLE_PUSH_INT               = 0x4f,
	    SQ_OP2_INST_FLT_TO_INT                        = 0x50,
	    SQ_OP2_INST_BFREV_INT                         = 0x51,
	    SQ_OP2_INST_ADDC_UINT                         = 0x52,
	    SQ_OP2_INST_SUBB_UINT                         = 0x53,
	    SQ_OP2_INST_GROUP_BARRIER                     = 0x54,
	    SQ_OP2_INST_GROUP_SEQ_BEGIN                   = 0x55,
	    SQ_OP2_INST_GROUP_SEQ_END                     = 0x56,
	    SQ_OP2_INST_SET_MODE                          = 0x57,
	    SQ_OP2_INST_SET_CF_IDX0                       = 0x58,
	    SQ_OP2_INST_SET_CF_IDX1                       = 0x59,
	    SQ_OP2_INST_SET_LDS_SIZE                      = 0x5a,
	    SQ_OP2_INST_EXP_IEEE                          = 0x81,
	    SQ_OP2_INST_LOG_CLAMPED                       = 0x82,
	    SQ_OP2_INST_LOG_IEEE                          = 0x83,
	    SQ_OP2_INST_RECIP_CLAMPED                     = 0x84,
	    SQ_OP2_INST_RECIP_FF                          = 0x85,
	    SQ_OP2_INST_RECIP_IEEE                        = 0x86,
	    SQ_OP2_INST_RECIPSQRT_CLAMPED                 = 0x87,
	    SQ_OP2_INST_RECIPSQRT_FF                      = 0x88,
	    SQ_OP2_INST_RECIPSQRT_IEEE                    = 0x89,
	    SQ_OP2_INST_SQRT_IEEE                         = 0x8a,
	    SQ_OP2_INST_SIN                               = 0x8d,
	    SQ_OP2_INST_COS                               = 0x8e,
	    SQ_OP2_INST_MULLO_INT                         = 0x8f,
	    SQ_OP2_INST_MULHI_INT                         = 0x90,
	    SQ_OP2_INST_MULLO_UINT                        = 0x91,
	    SQ_OP2_INST_MULHI_UINT                        = 0x92,
	    SQ_OP2_INST_RECIP_INT                         = 0x93,
	    SQ_OP2_INST_RECIP_UINT                        = 0x94,
	    SQ_OP2_INST_RECIP_64                          = 0x95,
	    SQ_OP2_INST_RECIP_CLAMPED_64                  = 0x96,
	    SQ_OP2_INST_RECIPSQRT_64                      = 0x97,
	    SQ_OP2_INST_RECIPSQRT_CLAMPED_64              = 0x98,
	    SQ_OP2_INST_SQRT_64                           = 0x99,
	    SQ_OP2_INST_FLT_TO_UINT                       = 0x9a,
	    SQ_OP2_INST_INT_TO_FLT                        = 0x9b,
	    SQ_OP2_INST_UINT_TO_FLT                       = 0x9c,
	    SQ_OP2_INST_BFM_INT                           = 0xa0,
	    SQ_OP2_INST_FLT32_TO_FLT16                    = 0xa2,
	    SQ_OP2_INST_FLT16_TO_FLT32                    = 0xa3,
	    SQ_OP2_INST_UBYTE0_FLT                        = 0xa4,
	    SQ_OP2_INST_UBYTE1_FLT                        = 0xa5,
	    SQ_OP2_INST_UBYTE2_FLT                        = 0xa6,
	    SQ_OP2_INST_UBYTE3_FLT                        = 0xa7,
	    SQ_OP2_INST_BCNT_INT                          = 0xaa,
	    SQ_OP2_INST_FFBH_UINT                         = 0xab,
	    SQ_OP2_INST_FFBL_INT                          = 0xac,
	    SQ_OP2_INST_FFBH_INT                          = 0xad,
	    SQ_OP2_INST_FLT_TO_UINT4                      = 0xae,
	    SQ_OP2_INST_DOT_IEEE                          = 0xaf,
	    SQ_OP2_INST_FLT_TO_INT_RPI                    = 0xb0,
	    SQ_OP2_INST_FLT_TO_INT_FLOOR                  = 0xb1,
	    SQ_OP2_INST_MULHI_UINT24                      = 0xb2,
	    SQ_OP2_INST_MBCNT_32HI_INT                    = 0xb3,
	    SQ_OP2_INST_OFFSET_TO_FLT                     = 0xb4,
	    SQ_OP2_INST_MUL_UINT24                        = 0xb5,
	    SQ_OP2_INST_BCNT_ACCUM_PREV_INT               = 0xb6,
	    SQ_OP2_INST_MBCNT_32LO_ACCUM_PREV_INT         = 0xb7,
	    SQ_OP2_INST_SETE_64                           = 0xb8,
	    SQ_OP2_INST_SETNE_64                          = 0xb9,
	    SQ_OP2_INST_SETGT_64                          = 0xba,
	    SQ_OP2_INST_SETGE_64                          = 0xbb,
	    SQ_OP2_INST_MIN_64                            = 0xbc,
	    SQ_OP2_INST_MAX_64                            = 0xbd,
	    SQ_OP2_INST_DOT4                              = 0xbe,
	    SQ_OP2_INST_DOT4_IEEE                         = 0xbf,
	    SQ_OP2_INST_CUBE                              = 0xc0,
	    SQ_OP2_INST_MAX4                              = 0xc1,
	    SQ_OP2_INST_FREXP_64                          = 0xc4,
	    SQ_OP2_INST_LDEXP_64                          = 0xc5,
	    SQ_OP2_INST_FRACT_64                          = 0xc6,
	    SQ_OP2_INST_PRED_SETGT_64                     = 0xc7,
	    SQ_OP2_INST_PRED_SETE_64                      = 0xc8,
	    SQ_OP2_INST_PRED_SETGE_64                     = 0xc9,
	    SQ_OP2_INST_MUL_64                            = 0xca,
	    SQ_OP2_INST_ADD_64                            = 0xcb,
	    SQ_OP2_INST_MOVA_INT                          = 0xcc,
	    SQ_OP2_INST_FLT64_TO_FLT32                    = 0xcd,
	    SQ_OP2_INST_FLT32_TO_FLT64                    = 0xce,
	    SQ_OP2_INST_SAD_ACCUM_PREV_UINT               = 0xcf,
	    SQ_OP2_INST_DOT                               = 0xd0,
	    SQ_OP2_INST_MUL_PREV                          = 0xd1,
	    SQ_OP2_INST_MUL_IEEE_PREV                     = 0xd2,
	    SQ_OP2_INST_ADD_PREV                          = 0xd3,
	    SQ_OP2_INST_MULADD_PREV                       = 0xd4,
	    SQ_OP2_INST_MULADD_IEEE_PREV                  = 0xd5,
	    SQ_OP2_INST_INTERP_XY                         = 0xd6,
	    SQ_OP2_INST_INTERP_ZW                         = 0xd7,
	    SQ_OP2_INST_INTERP_X                          = 0xd8,
	    SQ_OP2_INST_INTERP_Z                          = 0xd9,
	    SQ_OP2_INST_STORE_FLAGS                       = 0xda,
	    SQ_OP2_INST_LOAD_STORE_FLAGS                  = 0xdb,
	    SQ_OP2_INST_INTERP_LOAD_P0                    = 0xe0,
	    SQ_OP2_INST_INTERP_LOAD_P10                   = 0xe1,
	    SQ_OP2_INST_INTERP_LOAD_P20                   = 0xe2,
    SQ_CF_WORD1                                           = 0x00008dfc,
	POP_COUNT_mask                                    = 0x07 << 0,
	POP_COUNT_shift                                   = 0,
	CF_CONST_mask                                     = 0x1f << 3,
	CF_CONST_shift                                    = 3,
	COND_mask                                         = 0x03 << 8,
	COND_shift                                        = 8,
	    SQ_CF_COND_ACTIVE                             = 0x00,
	    SQ_CF_COND_FALSE                              = 0x01,
	    SQ_CF_COND_BOOL                               = 0x02,
	    SQ_CF_COND_NOT_BOOL                           = 0x03,
	SQ_CF_WORD1__COUNT_mask                           = 0x3f << 10,
	SQ_CF_WORD1__COUNT_shift                          = 10,
/* 	VALID_PIXEL_MODE_bit                              = 1 << 20, */
/* 	END_OF_PROGRAM_bit                                = 1 << 21, */
	SQ_CF_WORD1__CF_INST_mask                         = 0xff << 22,
	SQ_CF_WORD1__CF_INST_shift                        = 22,
	    SQ_CF_INST_NOP                                = 0x00,
	    SQ_CF_INST_TC                                 = 0x01,
	    SQ_CF_INST_VC                                 = 0x02,
	    SQ_CF_INST_GDS                                = 0x03,
	    SQ_CF_INST_LOOP_START                         = 0x04,
	    SQ_CF_INST_LOOP_END                           = 0x05,
	    SQ_CF_INST_LOOP_START_DX10                    = 0x06,
	    SQ_CF_INST_LOOP_START_NO_AL                   = 0x07,
	    SQ_CF_INST_LOOP_CONTINUE                      = 0x08,
	    SQ_CF_INST_LOOP_BREAK                         = 0x09,
	    SQ_CF_INST_JUMP                               = 0x0a,
	    SQ_CF_INST_PUSH                               = 0x0b,
	    SQ_CF_INST_ELSE                               = 0x0d,
	    SQ_CF_INST_POP                                = 0x0e,
	    SQ_CF_INST_CALL                               = 0x12,
	    SQ_CF_INST_CALL_FS                            = 0x13,
	    SQ_CF_INST_RETURN                             = 0x14,
	    SQ_CF_INST_EMIT_VERTEX                        = 0x15,
	    SQ_CF_INST_EMIT_CUT_VERTEX                    = 0x16,
	    SQ_CF_INST_CUT_VERTEX                         = 0x17,
	    SQ_CF_INST_KILL                               = 0x18,
	    SQ_CF_INST_WAIT_ACK                           = 0x1a,
	    SQ_CF_INST_TC_ACK                             = 0x1b,
	    SQ_CF_INST_VC_ACK                             = 0x1c,
	    SQ_CF_INST_JUMPTABLE                          = 0x1d,
	    SQ_CF_INST_GLOBAL_WAVE_SYNC                   = 0x1e,
	    SQ_CF_INST_HALT                               = 0x1f,
/* 	WHOLE_QUAD_MODE_bit                               = 1 << 30, */
/* 	BARRIER_bit                                       = 1 << 31, */
    SQ_VTX_WORD1_SEM                                      = 0x00008dfc,
	SEMANTIC_ID_mask                                  = 0xff << 0,
	SEMANTIC_ID_shift                                 = 0,
    SQ_TEX_WORD0                                          = 0x00008dfc,
	TEX_INST_mask                                     = 0x1f << 0,
	TEX_INST_shift                                    = 0,
	    SQ_TEX_INST_LD                                = 0x03,
	    SQ_TEX_INST_GET_TEXTURE_RESINFO               = 0x04,
	    SQ_TEX_INST_GET_NUMBER_OF_SAMPLES             = 0x05,
	    SQ_TEX_INST_GET_LOD                           = 0x06,
	    SQ_TEX_INST_GET_GRADIENTS_H                   = 0x07,
	    SQ_TEX_INST_GET_GRADIENTS_V                   = 0x08,
	    SQ_TEX_INST_SET_TEXTURE_OFFSETS               = 0x09,
	    SQ_TEX_INST_KEEP_GRADIENTS                    = 0x0a,
	    SQ_TEX_INST_SET_GRADIENTS_H                   = 0x0b,
	    SQ_TEX_INST_SET_GRADIENTS_V                   = 0x0c,
	    SQ_TEX_INST_PASS                              = 0x0d,
	    SQ_TEX_INST_SAMPLE                            = 0x10,
	    SQ_TEX_INST_SAMPLE_L                          = 0x11,
	    SQ_TEX_INST_SAMPLE_LB                         = 0x12,
	    SQ_TEX_INST_SAMPLE_LZ                         = 0x13,
	    SQ_TEX_INST_SAMPLE_G                          = 0x14,
	    SQ_TEX_INST_GATHER4                           = 0x15,
	    SQ_TEX_INST_SAMPLE_G_LB                       = 0x16,
	    SQ_TEX_INST_GATHER4_O                         = 0x17,
	    SQ_TEX_INST_SAMPLE_C                          = 0x18,
	    SQ_TEX_INST_SAMPLE_C_L                        = 0x19,
	    SQ_TEX_INST_SAMPLE_C_LB                       = 0x1a,
	    SQ_TEX_INST_SAMPLE_C_LZ                       = 0x1b,
	    SQ_TEX_INST_SAMPLE_C_G                        = 0x1c,
	    SQ_TEX_INST_GATHER4_C                         = 0x1d,
	    SQ_TEX_INST_SAMPLE_C_G_LB                     = 0x1e,
	    SQ_TEX_INST_GATHER4_C_O                       = 0x1f,
	INST_MOD_mask                                     = 0x03 << 5,
	INST_MOD_shift                                    = 5,
/* 	FETCH_WHOLE_QUAD_bit                              = 1 << 7, */
	RESOURCE_ID_mask                                  = 0xff << 8,
	RESOURCE_ID_shift                                 = 8,
	SQ_TEX_WORD0__SRC_GPR_mask                        = 0x7f << 16,
	SQ_TEX_WORD0__SRC_GPR_shift                       = 16,
/* 	SRC_REL_bit                                       = 1 << 23, */
	SQ_TEX_WORD0__ALT_CONST_bit                       = 1 << 24,
	RESOURCE_INDEX_MODE_mask                          = 0x03 << 25,
	RESOURCE_INDEX_MODE_shift                         = 25,
/* 	    SQ_CF_INDEX_NONE                              = 0x00, */
/* 	    SQ_CF_INDEX_0                                 = 0x01, */
/* 	    SQ_CF_INDEX_1                                 = 0x02, */
/* 	    SQ_CF_INVALID                                 = 0x03, */
	SAMPLER_INDEX_MODE_mask                           = 0x03 << 27,
	SAMPLER_INDEX_MODE_shift                          = 27,
/* 	    SQ_CF_INDEX_NONE                              = 0x00, */
/* 	    SQ_CF_INDEX_0                                 = 0x01, */
/* 	    SQ_CF_INDEX_1                                 = 0x02, */
/* 	    SQ_CF_INVALID                                 = 0x03, */
    SQ_VTX_WORD1_GPR                                      = 0x00008dfc,
	SQ_VTX_WORD1_GPR__DST_GPR_mask                    = 0x7f << 0,
	SQ_VTX_WORD1_GPR__DST_GPR_shift                   = 0,
	SQ_VTX_WORD1_GPR__DST_REL_bit                     = 1 << 7,
    SQ_ALU_WORD1_LDS_IDX_OP                               = 0x00008dfc,
/* 	SRC2_SEL_mask                                     = 0x1ff << 0, */
/* 	SRC2_SEL_shift                                    = 0, */
/* 	    SQ_ALU_SRC_LDS_OQ_A                           = 0xdb, */
/* 	    SQ_ALU_SRC_LDS_OQ_B                           = 0xdc, */
/* 	    SQ_ALU_SRC_LDS_OQ_A_POP                       = 0xdd, */
/* 	    SQ_ALU_SRC_LDS_OQ_B_POP                       = 0xde, */
/* 	    SQ_ALU_SRC_LDS_DIRECT_A                       = 0xdf, */
/* 	    SQ_ALU_SRC_LDS_DIRECT_B                       = 0xe0, */
/* 	    SQ_ALU_SRC_TIME_HI                            = 0xe3, */
/* 	    SQ_ALU_SRC_TIME_LO                            = 0xe4, */
/* 	    SQ_ALU_SRC_MASK_HI                            = 0xe5, */
/* 	    SQ_ALU_SRC_MASK_LO                            = 0xe6, */
/* 	    SQ_ALU_SRC_HW_WAVE_ID                         = 0xe7, */
/* 	    SQ_ALU_SRC_SIMD_ID                            = 0xe8, */
/* 	    SQ_ALU_SRC_SE_ID                              = 0xe9, */
/* 	    SQ_ALU_SRC_HW_THREADGRP_ID                    = 0xea, */
/* 	    SQ_ALU_SRC_WAVE_ID_IN_GRP                     = 0xeb, */
/* 	    SQ_ALU_SRC_NUM_THREADGRP_WAVES                = 0xec, */
/* 	    SQ_ALU_SRC_HW_ALU_ODD                         = 0xed, */
/* 	    SQ_ALU_SRC_LOOP_IDX                           = 0xee, */
/* 	    SQ_ALU_SRC_PARAM_BASE_ADDR                    = 0xf0, */
/* 	    SQ_ALU_SRC_NEW_PRIM_MASK                      = 0xf1, */
/* 	    SQ_ALU_SRC_PRIM_MASK_HI                       = 0xf2, */
/* 	    SQ_ALU_SRC_PRIM_MASK_LO                       = 0xf3, */
/* 	    SQ_ALU_SRC_1_DBL_L                            = 0xf4, */
/* 	    SQ_ALU_SRC_1_DBL_M                            = 0xf5, */
/* 	    SQ_ALU_SRC_0_5_DBL_L                          = 0xf6, */
/* 	    SQ_ALU_SRC_0_5_DBL_M                          = 0xf7, */
/* 	    SQ_ALU_SRC_0                                  = 0xf8, */
/* 	    SQ_ALU_SRC_1                                  = 0xf9, */
/* 	    SQ_ALU_SRC_1_INT                              = 0xfa, */
/* 	    SQ_ALU_SRC_M_1_INT                            = 0xfb, */
/* 	    SQ_ALU_SRC_0_5                                = 0xfc, */
/* 	    SQ_ALU_SRC_LITERAL                            = 0xfd, */
/* 	    SQ_ALU_SRC_PV                                 = 0xfe, */
/* 	    SQ_ALU_SRC_PS                                 = 0xff, */
/* 	SRC2_REL_bit                                      = 1 << 9, */
/* 	SRC2_CHAN_mask                                    = 0x03 << 10, */
/* 	SRC2_CHAN_shift                                   = 10, */
/* 	    SQ_CHAN_X                                     = 0x00, */
/* 	    SQ_CHAN_Y                                     = 0x01, */
/* 	    SQ_CHAN_Z                                     = 0x02, */
/* 	    SQ_CHAN_W                                     = 0x03, */
	IDX_OFFSET_1_bit                                  = 1 << 12,
	SQ_ALU_WORD1_LDS_IDX_OP__ALU_INST_mask            = 0x1f << 13,
	SQ_ALU_WORD1_LDS_IDX_OP__ALU_INST_shift           = 13,
/* 	    SQ_OP3_INST_BFE_UINT                          = 0x04, */
/* 	    SQ_OP3_INST_BFE_INT                           = 0x05, */
/* 	    SQ_OP3_INST_BFI_INT                           = 0x06, */
/* 	    SQ_OP3_INST_FMA                               = 0x07, */
/* 	    SQ_OP3_INST_CNDNE_64                          = 0x09, */
/* 	    SQ_OP3_INST_FMA_64                            = 0x0a, */
/* 	    SQ_OP3_INST_LERP_UINT                         = 0x0b, */
/* 	    SQ_OP3_INST_BIT_ALIGN_INT                     = 0x0c, */
/* 	    SQ_OP3_INST_BYTE_ALIGN_INT                    = 0x0d, */
/* 	    SQ_OP3_INST_SAD_ACCUM_UINT                    = 0x0e, */
/* 	    SQ_OP3_INST_SAD_ACCUM_HI_UINT                 = 0x0f, */
/* 	    SQ_OP3_INST_MULADD_UINT24                     = 0x10, */
/* 	    SQ_OP3_INST_LDS_IDX_OP                        = 0x11, */
/* 	    SQ_OP3_INST_MULADD                            = 0x14, */
/* 	    SQ_OP3_INST_MULADD_M2                         = 0x15, */
/* 	    SQ_OP3_INST_MULADD_M4                         = 0x16, */
/* 	    SQ_OP3_INST_MULADD_D2                         = 0x17, */
/* 	    SQ_OP3_INST_MULADD_IEEE                       = 0x18, */
/* 	    SQ_OP3_INST_CNDE                              = 0x19, */
/* 	    SQ_OP3_INST_CNDGT                             = 0x1a, */
/* 	    SQ_OP3_INST_CNDGE                             = 0x1b, */
/* 	    SQ_OP3_INST_CNDE_INT                          = 0x1c, */
/* 	    SQ_OP3_INST_CNDGT_INT                         = 0x1d, */
/* 	    SQ_OP3_INST_CNDGE_INT                         = 0x1e, */
/* 	    SQ_OP3_INST_MUL_LIT                           = 0x1f, */
/* 	BANK_SWIZZLE_mask                                 = 0x07 << 18, */
/* 	BANK_SWIZZLE_shift                                = 18, */
/* 	    SQ_ALU_VEC_012                                = 0x00, */
/* 	    SQ_ALU_VEC_021                                = 0x01, */
/* 	    SQ_ALU_VEC_120                                = 0x02, */
/* 	    SQ_ALU_VEC_102                                = 0x03, */
/* 	    SQ_ALU_VEC_201                                = 0x04, */
/* 	    SQ_ALU_VEC_210                                = 0x05, */
	LDS_OP_mask                                       = 0x3f << 21,
	LDS_OP_shift                                      = 21,
/* 	    SQ_DS_INST_ADD                                = 0x00, */
/* 	    SQ_DS_INST_SUB                                = 0x01, */
/* 	    SQ_DS_INST_RSUB                               = 0x02, */
/* 	    SQ_DS_INST_INC                                = 0x03, */
/* 	    SQ_DS_INST_DEC                                = 0x04, */
/* 	    SQ_DS_INST_MIN_INT                            = 0x05, */
/* 	    SQ_DS_INST_MAX_INT                            = 0x06, */
/* 	    SQ_DS_INST_MIN_UINT                           = 0x07, */
/* 	    SQ_DS_INST_MAX_UINT                           = 0x08, */
/* 	    SQ_DS_INST_AND                                = 0x09, */
/* 	    SQ_DS_INST_OR                                 = 0x0a, */
/* 	    SQ_DS_INST_XOR                                = 0x0b, */
/* 	    SQ_DS_INST_MSKOR                              = 0x0c, */
/* 	    SQ_DS_INST_WRITE                              = 0x0d, */
/* 	    SQ_DS_INST_WRITE_REL                          = 0x0e, */
/* 	    SQ_DS_INST_WRITE2                             = 0x0f, */
/* 	    SQ_DS_INST_CMP_STORE                          = 0x10, */
/* 	    SQ_DS_INST_CMP_STORE_SPF                      = 0x11, */
/* 	    SQ_DS_INST_BYTE_WRITE                         = 0x12, */
/* 	    SQ_DS_INST_SHORT_WRITE                        = 0x13, */
/* 	    SQ_DS_INST_ADD_RET                            = 0x20, */
/* 	    SQ_DS_INST_SUB_RET                            = 0x21, */
/* 	    SQ_DS_INST_RSUB_RET                           = 0x22, */
/* 	    SQ_DS_INST_INC_RET                            = 0x23, */
/* 	    SQ_DS_INST_DEC_RET                            = 0x24, */
/* 	    SQ_DS_INST_MIN_INT_RET                        = 0x25, */
/* 	    SQ_DS_INST_MAX_INT_RET                        = 0x26, */
/* 	    SQ_DS_INST_MIN_UINT_RET                       = 0x27, */
/* 	    SQ_DS_INST_MAX_UINT_RET                       = 0x28, */
/* 	    SQ_DS_INST_AND_RET                            = 0x29, */
/* 	    SQ_DS_INST_OR_RET                             = 0x2a, */
/* 	    SQ_DS_INST_XOR_RET                            = 0x2b, */
/* 	    SQ_DS_INST_MSKOR_RET                          = 0x2c, */
/* 	    SQ_DS_INST_XCHG_RET                           = 0x2d, */
/* 	    SQ_DS_INST_XCHG_REL_RET                       = 0x2e, */
/* 	    SQ_DS_INST_XCHG2_RET                          = 0x2f, */
/* 	    SQ_DS_INST_CMP_XCHG_RET                       = 0x30, */
/* 	    SQ_DS_INST_CMP_XCHG_SPF_RET                   = 0x31, */
/* 	    SQ_DS_INST_READ_RET                           = 0x32, */
/* 	    SQ_DS_INST_READ_REL_RET                       = 0x33, */
/* 	    SQ_DS_INST_READ2_RET                          = 0x34, */
/* 	    SQ_DS_INST_READWRITE_RET                      = 0x35, */
/* 	    SQ_DS_INST_BYTE_READ_RET                      = 0x36, */
/* 	    SQ_DS_INST_UBYTE_READ_RET                     = 0x37, */
/* 	    SQ_DS_INST_SHORT_READ_RET                     = 0x38, */
/* 	    SQ_DS_INST_USHORT_READ_RET                    = 0x39, */
/* 	    SQ_DS_INST_ATOMIC_ORDERED_ALLOC_RET           = 0x3f, */
	IDX_OFFSET_0_bit                                  = 1 << 27,
	IDX_OFFSET_2_bit                                  = 1 << 28,
/* 	DST_CHAN_mask                                     = 0x03 << 29, */
/* 	DST_CHAN_shift                                    = 29, */
/* 	    CHAN_X                                        = 0x00, */
/* 	    CHAN_Y                                        = 0x01, */
/* 	    CHAN_Z                                        = 0x02, */
/* 	    CHAN_W                                        = 0x03, */
	IDX_OFFSET_3_bit                                  = 1 << 31,
    SQ_CF_ENCODING_WORD1                                  = 0x00008dfc,
	SQ_CF_ENCODING_WORD1__ENCODING_mask               = 0x03 << 28,
	SQ_CF_ENCODING_WORD1__ENCODING_shift              = 28,
	    SQ_CF_ENCODING_INST_CF                        = 0x00,
	    SQ_CF_ENCODING_INST_ALLOC_EXPORT              = 0x01,
	    SQ_CF_ENCODING_INST_ALU0                      = 0x02,
	    SQ_CF_ENCODING_INST_ALU1                      = 0x03,
    SQ_ALU_WORD0                                          = 0x00008dfc,
/* 	SRC0_SEL_mask                                     = 0x1ff << 0, */
/* 	SRC0_SEL_shift                                    = 0, */
/* 	    SQ_ALU_SRC_LDS_OQ_A                           = 0xdb, */
/* 	    SQ_ALU_SRC_LDS_OQ_B                           = 0xdc, */
/* 	    SQ_ALU_SRC_LDS_OQ_A_POP                       = 0xdd, */
/* 	    SQ_ALU_SRC_LDS_OQ_B_POP                       = 0xde, */
/* 	    SQ_ALU_SRC_LDS_DIRECT_A                       = 0xdf, */
/* 	    SQ_ALU_SRC_LDS_DIRECT_B                       = 0xe0, */
/* 	    SQ_ALU_SRC_TIME_HI                            = 0xe3, */
/* 	    SQ_ALU_SRC_TIME_LO                            = 0xe4, */
/* 	    SQ_ALU_SRC_MASK_HI                            = 0xe5, */
/* 	    SQ_ALU_SRC_MASK_LO                            = 0xe6, */
/* 	    SQ_ALU_SRC_HW_WAVE_ID                         = 0xe7, */
/* 	    SQ_ALU_SRC_SIMD_ID                            = 0xe8, */
/* 	    SQ_ALU_SRC_SE_ID                              = 0xe9, */
/* 	    SQ_ALU_SRC_HW_THREADGRP_ID                    = 0xea, */
/* 	    SQ_ALU_SRC_WAVE_ID_IN_GRP                     = 0xeb, */
/* 	    SQ_ALU_SRC_NUM_THREADGRP_WAVES                = 0xec, */
/* 	    SQ_ALU_SRC_HW_ALU_ODD                         = 0xed, */
/* 	    SQ_ALU_SRC_LOOP_IDX                           = 0xee, */
/* 	    SQ_ALU_SRC_PARAM_BASE_ADDR                    = 0xf0, */
/* 	    SQ_ALU_SRC_NEW_PRIM_MASK                      = 0xf1, */
/* 	    SQ_ALU_SRC_PRIM_MASK_HI                       = 0xf2, */
/* 	    SQ_ALU_SRC_PRIM_MASK_LO                       = 0xf3, */
/* 	    SQ_ALU_SRC_1_DBL_L                            = 0xf4, */
/* 	    SQ_ALU_SRC_1_DBL_M                            = 0xf5, */
/* 	    SQ_ALU_SRC_0_5_DBL_L                          = 0xf6, */
/* 	    SQ_ALU_SRC_0_5_DBL_M                          = 0xf7, */
/* 	    SQ_ALU_SRC_0                                  = 0xf8, */
/* 	    SQ_ALU_SRC_1                                  = 0xf9, */
/* 	    SQ_ALU_SRC_1_INT                              = 0xfa, */
/* 	    SQ_ALU_SRC_M_1_INT                            = 0xfb, */
/* 	    SQ_ALU_SRC_0_5                                = 0xfc, */
/* 	    SQ_ALU_SRC_LITERAL                            = 0xfd, */
/* 	    SQ_ALU_SRC_PV                                 = 0xfe, */
/* 	    SQ_ALU_SRC_PS                                 = 0xff, */
/* 	SRC0_REL_bit                                      = 1 << 9, */
/* 	SRC0_CHAN_mask                                    = 0x03 << 10, */
/* 	SRC0_CHAN_shift                                   = 10, */
/* 	    SQ_CHAN_X                                     = 0x00, */
/* 	    SQ_CHAN_Y                                     = 0x01, */
/* 	    SQ_CHAN_Z                                     = 0x02, */
/* 	    SQ_CHAN_W                                     = 0x03, */
	SRC0_NEG_bit                                      = 1 << 12,
/* 	SRC1_SEL_mask                                     = 0x1ff << 13, */
/* 	SRC1_SEL_shift                                    = 13, */
/* 	    SQ_ALU_SRC_LDS_OQ_A                           = 0xdb, */
/* 	    SQ_ALU_SRC_LDS_OQ_B                           = 0xdc, */
/* 	    SQ_ALU_SRC_LDS_OQ_A_POP                       = 0xdd, */
/* 	    SQ_ALU_SRC_LDS_OQ_B_POP                       = 0xde, */
/* 	    SQ_ALU_SRC_LDS_DIRECT_A                       = 0xdf, */
/* 	    SQ_ALU_SRC_LDS_DIRECT_B                       = 0xe0, */
/* 	    SQ_ALU_SRC_TIME_HI                            = 0xe3, */
/* 	    SQ_ALU_SRC_TIME_LO                            = 0xe4, */
/* 	    SQ_ALU_SRC_MASK_HI                            = 0xe5, */
/* 	    SQ_ALU_SRC_MASK_LO                            = 0xe6, */
/* 	    SQ_ALU_SRC_HW_WAVE_ID                         = 0xe7, */
/* 	    SQ_ALU_SRC_SIMD_ID                            = 0xe8, */
/* 	    SQ_ALU_SRC_SE_ID                              = 0xe9, */
/* 	    SQ_ALU_SRC_HW_THREADGRP_ID                    = 0xea, */
/* 	    SQ_ALU_SRC_WAVE_ID_IN_GRP                     = 0xeb, */
/* 	    SQ_ALU_SRC_NUM_THREADGRP_WAVES                = 0xec, */
/* 	    SQ_ALU_SRC_HW_ALU_ODD                         = 0xed, */
/* 	    SQ_ALU_SRC_LOOP_IDX                           = 0xee, */
/* 	    SQ_ALU_SRC_PARAM_BASE_ADDR                    = 0xf0, */
/* 	    SQ_ALU_SRC_NEW_PRIM_MASK                      = 0xf1, */
/* 	    SQ_ALU_SRC_PRIM_MASK_HI                       = 0xf2, */
/* 	    SQ_ALU_SRC_PRIM_MASK_LO                       = 0xf3, */
/* 	    SQ_ALU_SRC_1_DBL_L                            = 0xf4, */
/* 	    SQ_ALU_SRC_1_DBL_M                            = 0xf5, */
/* 	    SQ_ALU_SRC_0_5_DBL_L                          = 0xf6, */
/* 	    SQ_ALU_SRC_0_5_DBL_M                          = 0xf7, */
/* 	    SQ_ALU_SRC_0                                  = 0xf8, */
/* 	    SQ_ALU_SRC_1                                  = 0xf9, */
/* 	    SQ_ALU_SRC_1_INT                              = 0xfa, */
/* 	    SQ_ALU_SRC_M_1_INT                            = 0xfb, */
/* 	    SQ_ALU_SRC_0_5                                = 0xfc, */
/* 	    SQ_ALU_SRC_LITERAL                            = 0xfd, */
/* 	    SQ_ALU_SRC_PV                                 = 0xfe, */
/* 	    SQ_ALU_SRC_PS                                 = 0xff, */
/* 	SRC1_REL_bit                                      = 1 << 22, */
/* 	SRC1_CHAN_mask                                    = 0x03 << 23, */
/* 	SRC1_CHAN_shift                                   = 23, */
/* 	    SQ_CHAN_X                                     = 0x00, */
/* 	    SQ_CHAN_Y                                     = 0x01, */
/* 	    SQ_CHAN_Z                                     = 0x02, */
/* 	    SQ_CHAN_W                                     = 0x03, */
	SRC1_NEG_bit                                      = 1 << 25,
/* 	INDEX_MODE_mask                                   = 0x07 << 26, */
/* 	INDEX_MODE_shift                                  = 26, */
/* 	    SQ_INDEX_AR_X                                 = 0x00, */
/* 	    SQ_INDEX_LOOP                                 = 0x04, */
/* 	    SQ_INDEX_GLOBAL                               = 0x05, */
/* 	    SQ_INDEX_GLOBAL_AR_X                          = 0x06, */
/* 	PRED_SEL_mask                                     = 0x03 << 29, */
/* 	PRED_SEL_shift                                    = 29, */
/* 	    SQ_PRED_SEL_OFF                               = 0x00, */
/* 	    SQ_PRED_SEL_ZERO                              = 0x02, */
/* 	    SQ_PRED_SEL_ONE                               = 0x03, */
/* 	LAST_bit                                          = 1 << 31, */
    SQ_MEM_RD_WORD1                                       = 0x00008dfc,
	SQ_MEM_RD_WORD1__DST_GPR_mask                     = 0x7f << 0,
	SQ_MEM_RD_WORD1__DST_GPR_shift                    = 0,
	SQ_MEM_RD_WORD1__DST_REL_bit                      = 1 << 7,
	SQ_MEM_RD_WORD1__DST_SEL_X_mask                   = 0x07 << 9,
	SQ_MEM_RD_WORD1__DST_SEL_X_shift                  = 9,
/* 	    SQ_SEL_X                                      = 0x00, */
/* 	    SQ_SEL_Y                                      = 0x01, */
/* 	    SQ_SEL_Z                                      = 0x02, */
/* 	    SQ_SEL_W                                      = 0x03, */
/* 	    SQ_SEL_0                                      = 0x04, */
/* 	    SQ_SEL_1                                      = 0x05, */
/* 	    SQ_SEL_MASK                                   = 0x07, */
	SQ_MEM_RD_WORD1__DST_SEL_Y_mask                   = 0x07 << 12,
	SQ_MEM_RD_WORD1__DST_SEL_Y_shift                  = 12,
/* 	    SQ_SEL_X                                      = 0x00, */
/* 	    SQ_SEL_Y                                      = 0x01, */
/* 	    SQ_SEL_Z                                      = 0x02, */
/* 	    SQ_SEL_W                                      = 0x03, */
/* 	    SQ_SEL_0                                      = 0x04, */
/* 	    SQ_SEL_1                                      = 0x05, */
/* 	    SQ_SEL_MASK                                   = 0x07, */
	SQ_MEM_RD_WORD1__DST_SEL_Z_mask                   = 0x07 << 15,
	SQ_MEM_RD_WORD1__DST_SEL_Z_shift                  = 15,
/* 	    SQ_SEL_X                                      = 0x00, */
/* 	    SQ_SEL_Y                                      = 0x01, */
/* 	    SQ_SEL_Z                                      = 0x02, */
/* 	    SQ_SEL_W                                      = 0x03, */
/* 	    SQ_SEL_0                                      = 0x04, */
/* 	    SQ_SEL_1                                      = 0x05, */
/* 	    SQ_SEL_MASK                                   = 0x07, */
	SQ_MEM_RD_WORD1__DST_SEL_W_mask                   = 0x07 << 18,
	SQ_MEM_RD_WORD1__DST_SEL_W_shift                  = 18,
/* 	    SQ_SEL_X                                      = 0x00, */
/* 	    SQ_SEL_Y                                      = 0x01, */
/* 	    SQ_SEL_Z                                      = 0x02, */
/* 	    SQ_SEL_W                                      = 0x03, */
/* 	    SQ_SEL_0                                      = 0x04, */
/* 	    SQ_SEL_1                                      = 0x05, */
/* 	    SQ_SEL_MASK                                   = 0x07, */
	SQ_MEM_RD_WORD1__DATA_FORMAT_mask                 = 0x3f << 22,
	SQ_MEM_RD_WORD1__DATA_FORMAT_shift                = 22,
	SQ_MEM_RD_WORD1__NUM_FORMAT_ALL_mask              = 0x03 << 28,
	SQ_MEM_RD_WORD1__NUM_FORMAT_ALL_shift             = 28,
/* 	    SQ_NUM_FORMAT_NORM                            = 0x00, */
/* 	    SQ_NUM_FORMAT_INT                             = 0x01, */
/* 	    SQ_NUM_FORMAT_SCALED                          = 0x02, */
	SQ_MEM_RD_WORD1__FORMAT_COMP_ALL_bit              = 1 << 30,
	SQ_MEM_RD_WORD1__SRF_MODE_ALL_bit                 = 1 << 31,
    SQ_LSTMP_RING_BASE                                    = 0x00008e10,
    SQ_LSTMP_RING_SIZE                                    = 0x00008e14,
    SQ_HSTMP_RING_BASE                                    = 0x00008e18,
    SQ_HSTMP_RING_SIZE                                    = 0x00008e1c,
    SX_EXPORT_BUFFER_SIZES                                = 0x0000900c,
	COLOR_BUFFER_SIZE_mask                            = 0xff << 0,
	COLOR_BUFFER_SIZE_shift                           = 0,
	POSITION_BUFFER_SIZE_mask                         = 0xff << 8,
	POSITION_BUFFER_SIZE_shift                        = 8,
	SMX_BUFFER_SIZE_mask                              = 0xff << 16,
	SMX_BUFFER_SIZE_shift                             = 16,
    SX_MEMORY_EXPORT_BASE                                 = 0x00009010,
    SX_MEMORY_EXPORT_SIZE                                 = 0x00009014,
    SPI_CONFIG_CNTL                                       = 0x00009100,
	GPR_WRITE_PRIORITY_mask                           = 0x3ffff << 0,
	GPR_WRITE_PRIORITY_shift                          = 0,
    SPI_CONFIG_CNTL_1                                     = 0x0000913c,
	VTX_DONE_DELAY_mask                               = 0x0f << 0,
	VTX_DONE_DELAY_shift                              = 0,
	    X_DELAY_14_CLKS                               = 0x00,
	    X_DELAY_16_CLKS                               = 0x01,
	    X_DELAY_18_CLKS                               = 0x02,
	    X_DELAY_20_CLKS                               = 0x03,
	    X_DELAY_22_CLKS                               = 0x04,
	    X_DELAY_24_CLKS                               = 0x05,
	    X_DELAY_26_CLKS                               = 0x06,
	    X_DELAY_28_CLKS                               = 0x07,
	    X_DELAY_30_CLKS                               = 0x08,
	    X_DELAY_32_CLKS                               = 0x09,
	    X_DELAY_34_CLKS                               = 0x0a,
	    X_DELAY_4_CLKS                                = 0x0b,
	    X_DELAY_6_CLKS                                = 0x0c,
	    X_DELAY_8_CLKS                                = 0x0d,
	    X_DELAY_10_CLKS                               = 0x0e,
	    X_DELAY_12_CLKS                               = 0x0f,
	INTERP_ONE_PRIM_PER_ROW_bit                       = 1 << 4,
	BC_OPTIMIZE_DISABLE_bit                           = 1 << 5,
	PC_LIMIT_ENABLE_bit                               = 1 << 6,
	PC_LIMIT_STRICT_bit                               = 1 << 7,
	PC_LIMIT_SIZE_mask                                = 0xffff << 16,
	PC_LIMIT_SIZE_shift                               = 16,
    TD_CNTL                                               = 0x00009494,
	SYNC_PHASE_SH_mask                                = 0x03 << 0,
	SYNC_PHASE_SH_shift                               = 0,
	PAD_STALL_EN_bit                                  = 1 << 8,
	GATHER4_FLOAT_MODE_bit                            = 1 << 16,
    TD_STATUS                                             = 0x00009498,
	BUSY_bit                                          = 1 << 31,
    TA_CNTL_AUX                                           = 0x00009508,
	TA_CNTL_AUX__DISABLE_CUBE_WRAP_bit                = 1 << 0,
	DISABLE_CUBE_ANISO_bit                            = 1 << 1,
	GETLOD_SELECT_mask                                = 0x03 << 2,
	GETLOD_SELECT_shift                               = 2,
	    X_SAMPLER_AND_RESOURCE_CLAMPED_LOD_IN_RESOURCE= 0x00,
	DISABLE_IDLE_STALL_bit                            = 1 << 4,
	TEX_COORD_PRECISION_bit                           = 1 << 28,
	LOD_LOG2_TRUNC_bit                                = 1 << 29,
    DB_ZPASS_COUNT_LOW                                    = 0x00009870,
    DB_ZPASS_COUNT_HI                                     = 0x00009874,
	COUNT_HI_mask                                     = 0x7fffffff << 0,
	COUNT_HI_shift                                    = 0,
    TD_PS_BORDER_COLOR_INDEX                              = 0x0000a400,
	INDEX_mask                                        = 0x1f << 0,
	INDEX_shift                                       = 0,
    TD_PS_BORDER_COLOR_RED                                = 0x0000a404,
    TD_PS_BORDER_COLOR_GREEN                              = 0x0000a408,
    TD_PS_BORDER_COLOR_BLUE                               = 0x0000a40c,
    TD_PS_BORDER_COLOR_ALPHA                              = 0x0000a410,
    TD_VS_BORDER_COLOR_INDEX                              = 0x0000a414,
/* 	INDEX_mask                                        = 0x1f << 0, */
/* 	INDEX_shift                                       = 0, */
    TD_VS_BORDER_COLOR_RED                                = 0x0000a418,
    TD_VS_BORDER_COLOR_GREEN                              = 0x0000a41c,
    TD_VS_BORDER_COLOR_BLUE                               = 0x0000a420,
    TD_VS_BORDER_COLOR_ALPHA                              = 0x0000a424,
    TD_GS_BORDER_COLOR_INDEX                              = 0x0000a428,
/* 	INDEX_mask                                        = 0x1f << 0, */
/* 	INDEX_shift                                       = 0, */
    TD_GS_BORDER_COLOR_RED                                = 0x0000a42c,
    TD_GS_BORDER_COLOR_GREEN                              = 0x0000a430,
    TD_GS_BORDER_COLOR_BLUE                               = 0x0000a434,
    TD_GS_BORDER_COLOR_ALPHA                              = 0x0000a438,
    TD_HS_BORDER_COLOR_INDEX                              = 0x0000a43c,
/* 	INDEX_mask                                        = 0x1f << 0, */
/* 	INDEX_shift                                       = 0, */
    TD_HS_BORDER_COLOR_RED                                = 0x0000a440,
    TD_HS_BORDER_COLOR_GREEN                              = 0x0000a444,
    TD_HS_BORDER_COLOR_BLUE                               = 0x0000a448,
    TD_HS_BORDER_COLOR_ALPHA                              = 0x0000a44c,
    TD_LS_BORDER_COLOR_INDEX                              = 0x0000a450,
/* 	INDEX_mask                                        = 0x1f << 0, */
/* 	INDEX_shift                                       = 0, */
    TD_LS_BORDER_COLOR_RED                                = 0x0000a454,
    TD_LS_BORDER_COLOR_GREEN                              = 0x0000a458,
    TD_LS_BORDER_COLOR_BLUE                               = 0x0000a45c,
    TD_LS_BORDER_COLOR_ALPHA                              = 0x0000a460,
    TD_CS_BORDER_COLOR_INDEX                              = 0x0000a464,
/* 	INDEX_mask                                        = 0x1f << 0, */
/* 	INDEX_shift                                       = 0, */
    TD_CS_BORDER_COLOR_RED                                = 0x0000a468,
    TD_CS_BORDER_COLOR_GREEN                              = 0x0000a46c,
    TD_CS_BORDER_COLOR_BLUE                               = 0x0000a470,
    TD_CS_BORDER_COLOR_ALPHA                              = 0x0000a474,
    DB_RENDER_CONTROL                                     = 0x00028000,
	DEPTH_CLEAR_ENABLE_bit                            = 1 << 0,
	STENCIL_CLEAR_ENABLE_bit                          = 1 << 1,
	DEPTH_COPY_bit                                    = 1 << 2,
	STENCIL_COPY_bit                                  = 1 << 3,
	RESUMMARIZE_ENABLE_bit                            = 1 << 4,
	STENCIL_COMPRESS_DISABLE_bit                      = 1 << 5,
	DEPTH_COMPRESS_DISABLE_bit                        = 1 << 6,
	COPY_CENTROID_bit                                 = 1 << 7,
	COPY_SAMPLE_mask                                  = 0x07 << 8,
	COPY_SAMPLE_shift                                 = 8,
	COLOR_DISABLE_bit                                 = 1 << 12,
    DB_COUNT_CONTROL                                      = 0x00028004,
	ZPASS_INCREMENT_DISABLE_bit                       = 1 << 0,
	PERFECT_ZPASS_COUNTS_bit                          = 1 << 1,
    DB_DEPTH_VIEW                                         = 0x00028008,
	SLICE_START_mask                                  = 0x7ff << 0,
	SLICE_START_shift                                 = 0,
	SLICE_MAX_mask                                    = 0x7ff << 13,
	SLICE_MAX_shift                                   = 13,
	Z_READ_ONLY_bit                                   = 1 << 24,
	STENCIL_READ_ONLY_bit                             = 1 << 25,
    DB_RENDER_OVERRIDE                                    = 0x0002800c,
	FORCE_HIZ_ENABLE_mask                             = 0x03 << 0,
	FORCE_HIZ_ENABLE_shift                            = 0,
	    FORCE_OFF                                     = 0x00,
	    FORCE_ENABLE                                  = 0x01,
	    FORCE_DISABLE                                 = 0x02,
	    FORCE_RESERVED                                = 0x03,
	FORCE_HIS_ENABLE0_mask                            = 0x03 << 2,
	FORCE_HIS_ENABLE0_shift                           = 2,
/* 	    FORCE_OFF                                     = 0x00, */
/* 	    FORCE_ENABLE                                  = 0x01, */
/* 	    FORCE_DISABLE                                 = 0x02, */
/* 	    FORCE_RESERVED                                = 0x03, */
	FORCE_HIS_ENABLE1_mask                            = 0x03 << 4,
	FORCE_HIS_ENABLE1_shift                           = 4,
/* 	    FORCE_OFF                                     = 0x00, */
/* 	    FORCE_ENABLE                                  = 0x01, */
/* 	    FORCE_DISABLE                                 = 0x02, */
/* 	    FORCE_RESERVED                                = 0x03, */
	FORCE_SHADER_Z_ORDER_bit                          = 1 << 6,
	FAST_Z_DISABLE_bit                                = 1 << 7,
	FAST_STENCIL_DISABLE_bit                          = 1 << 8,
	NOOP_CULL_DISABLE_bit                             = 1 << 9,
	FORCE_COLOR_KILL_bit                              = 1 << 10,
	FORCE_Z_READ_bit                                  = 1 << 11,
	FORCE_STENCIL_READ_bit                            = 1 << 12,
	FORCE_FULL_Z_RANGE_mask                           = 0x03 << 13,
	FORCE_FULL_Z_RANGE_shift                          = 13,
/* 	    FORCE_OFF                                     = 0x00, */
/* 	    FORCE_ENABLE                                  = 0x01, */
/* 	    FORCE_DISABLE                                 = 0x02, */
/* 	    FORCE_RESERVED                                = 0x03, */
	FORCE_QC_SMASK_CONFLICT_bit                       = 1 << 15,
	DISABLE_VIEWPORT_CLAMP_bit                        = 1 << 16,
	IGNORE_SC_ZRANGE_bit                              = 1 << 17,
	DISABLE_FULLY_COVERED_bit                         = 1 << 18,
	FORCE_Z_LIMIT_SUMM_mask                           = 0x03 << 19,
	FORCE_Z_LIMIT_SUMM_shift                          = 19,
	    FORCE_SUMM_OFF                                = 0x00,
	    FORCE_SUMM_MINZ                               = 0x01,
	    FORCE_SUMM_MAXZ                               = 0x02,
	    FORCE_SUMM_BOTH                               = 0x03,
	MAX_TILES_IN_DTT_mask                             = 0x1f << 21,
	MAX_TILES_IN_DTT_shift                            = 21,
	DISABLE_PIXEL_RATE_TILES_bit                      = 1 << 26,
	FORCE_Z_DIRTY_bit                                 = 1 << 27,
	FORCE_STENCIL_DIRTY_bit                           = 1 << 28,
	FORCE_Z_VALID_bit                                 = 1 << 29,
	FORCE_STENCIL_VALID_bit                           = 1 << 30,
	PRESERVE_COMPRESSION_bit                          = 1 << 31,
    DB_RENDER_OVERRIDE2                                   = 0x00028010,
	PARTIAL_SQUAD_LAUNCH_CONTROL_mask                 = 0x03 << 0,
	PARTIAL_SQUAD_LAUNCH_CONTROL_shift                = 0,
	    PSLC_AUTO                                     = 0x00,
	    PSLC_ON_HANG_ONLY                             = 0x01,
	    PSLC_ASAP                                     = 0x02,
	    PSLC_COUNTDOWN                                = 0x03,
	PARTIAL_SQUAD_LAUNCH_COUNTDOWN_mask               = 0x07 << 2,
	PARTIAL_SQUAD_LAUNCH_COUNTDOWN_shift              = 2,
	DISABLE_ZMASK_EXPCLEAR_OPTIMIZATIO_bit            = 1 << 5,
    DB_HTILE_DATA_BASE                                    = 0x00028014,
    DB_STENCIL_CLEAR                                      = 0x00028028,
	DB_STENCIL_CLEAR__CLEAR_mask                      = 0xff << 0,
	DB_STENCIL_CLEAR__CLEAR_shift                     = 0,
	MIN_mask                                          = 0xff << 16,
	MIN_shift                                         = 16,
    DB_DEPTH_CLEAR                                        = 0x0002802c,
    PA_SC_SCREEN_SCISSOR_TL                               = 0x00028030,
	PA_SC_SCREEN_SCISSOR_TL__TL_X_mask                = 0xffff << 0,
	PA_SC_SCREEN_SCISSOR_TL__TL_X_shift               = 0,
	PA_SC_SCREEN_SCISSOR_TL__TL_Y_mask                = 0xffff << 16,
	PA_SC_SCREEN_SCISSOR_TL__TL_Y_shift               = 16,
    PA_SC_SCREEN_SCISSOR_BR                               = 0x00028034,
	PA_SC_SCREEN_SCISSOR_BR__BR_X_mask                = 0xffff << 0,
	PA_SC_SCREEN_SCISSOR_BR__BR_X_shift               = 0,
	PA_SC_SCREEN_SCISSOR_BR__BR_Y_mask                = 0xffff << 16,
	PA_SC_SCREEN_SCISSOR_BR__BR_Y_shift               = 16,
    DB_Z_INFO                                             = 0x00028040,
	DB_Z_INFO__FORMAT_mask                            = 0x03 << 0,
	DB_Z_INFO__FORMAT_shift                           = 0,
	    Z_INVALID                                     = 0x00,
	    Z_16                                          = 0x01,
	    Z_24                                          = 0x02,
	    Z_32_FLOAT                                    = 0x03,
	DB_Z_INFO__ARRAY_MODE_mask                        = 0x0f << 4,
	DB_Z_INFO__ARRAY_MODE_shift                       = 4,
	    ARRAY_LINEAR_GENERAL                          = 0x00,
	    ARRAY_LINEAR_ALIGNED                          = 0x01,
	    ARRAY_1D_TILED_THIN1                          = 0x02,
	    ARRAY_2D_TILED_THIN1                          = 0x04,
	DB_Z_INFO__TILE_SPLIT_mask                        = 0x07 << 8,
	DB_Z_INFO__TILE_SPLIT_shift                       = 8,
	    ADDR_SURF_TILE_SPLIT_64B                      = 0x00,
	    ADDR_SURF_TILE_SPLIT_128B                     = 0x01,
	    ADDR_SURF_TILE_SPLIT_256B                     = 0x02,
	    ADDR_SURF_TILE_SPLIT_512B                     = 0x03,
	    ADDR_SURF_TILE_SPLIT_1KB                      = 0x04,
	    ADDR_SURF_TILE_SPLIT_2KB                      = 0x05,
	    ADDR_SURF_TILE_SPLIT_4KB                      = 0x06,
	DB_Z_INFO__NUM_BANKS_mask                         = 0x03 << 12,
	DB_Z_INFO__NUM_BANKS_shift                        = 12,
	    ADDR_SURF_2_BANK                              = 0x00,
	    ADDR_SURF_4_BANK                              = 0x01,
	    ADDR_SURF_8_BANK                              = 0x02,
	    ADDR_SURF_16_BANK                             = 0x03,
	DB_Z_INFO__BANK_WIDTH_mask                        = 0x03 << 16,
	DB_Z_INFO__BANK_WIDTH_shift                       = 16,
	    ADDR_SURF_BANK_WIDTH_1                        = 0x00,
	    ADDR_SURF_BANK_WIDTH_2                        = 0x01,
	    ADDR_SURF_BANK_WIDTH_4                        = 0x02,
	    ADDR_SURF_BANK_WIDTH_8                        = 0x03,
	DB_Z_INFO__BANK_HEIGHT_mask                       = 0x03 << 20,
	DB_Z_INFO__BANK_HEIGHT_shift                      = 20,
	    ADDR_SURF_BANK_HEIGHT_1                       = 0x00,
	    ADDR_SURF_BANK_HEIGHT_2                       = 0x01,
	    ADDR_SURF_BANK_HEIGHT_4                       = 0x02,
	    ADDR_SURF_BANK_HEIGHT_8                       = 0x03,
	DB_Z_INFO__MACRO_TILE_ASPECT_mask                 = 0x03 << 24,
	DB_Z_INFO__MACRO_TILE_ASPECT_shift                = 24,
	    ADDR_SURF_MACRO_ASPECT_1                      = 0x00,
	    ADDR_SURF_MACRO_ASPECT_2                      = 0x01,
	    ADDR_SURF_MACRO_ASPECT_4                      = 0x02,
	    ADDR_SURF_MACRO_ASPECT_8                      = 0x03,
	ALLOW_EXPCLEAR_bit                                = 1 << 27,
	READ_SIZE_bit                                     = 1 << 28,
	TILE_SURFACE_ENABLE_bit                           = 1 << 29,
	DB_Z_INFO__TILE_COMPACT_bit                       = 1 << 30,
	ZRANGE_PRECISION_bit                              = 1 << 31,
    DB_STENCIL_INFO                                       = 0x00028044,
	DB_STENCIL_INFO__FORMAT_bit                       = 1 << 0,
	DB_STENCIL_INFO__TILE_SPLIT_mask                  = 0x07 << 8,
	DB_STENCIL_INFO__TILE_SPLIT_shift                 = 8,
/* 	    ADDR_SURF_TILE_SPLIT_64B                      = 0x00, */
/* 	    ADDR_SURF_TILE_SPLIT_128B                     = 0x01, */
/* 	    ADDR_SURF_TILE_SPLIT_256B                     = 0x02, */
/* 	    ADDR_SURF_TILE_SPLIT_512B                     = 0x03, */
/* 	    ADDR_SURF_TILE_SPLIT_1KB                      = 0x04, */
/* 	    ADDR_SURF_TILE_SPLIT_2KB                      = 0x05, */
/* 	    ADDR_SURF_TILE_SPLIT_4KB                      = 0x06, */
    DB_Z_READ_BASE                                        = 0x00028048,
    DB_STENCIL_READ_BASE                                  = 0x0002804c,
    DB_Z_WRITE_BASE                                       = 0x00028050,
    DB_STENCIL_WRITE_BASE                                 = 0x00028054,
    DB_DEPTH_SIZE                                         = 0x00028058,
	PITCH_TILE_MAX_mask                               = 0x7ff << 0,
	PITCH_TILE_MAX_shift                              = 0,
	HEIGHT_TILE_MAX_mask                              = 0x7ff << 11,
	HEIGHT_TILE_MAX_shift                             = 11,
    DB_DEPTH_SLICE                                        = 0x0002805c,
	SLICE_TILE_MAX_mask                               = 0x3fffff << 0,
	SLICE_TILE_MAX_shift                              = 0,
    SQ_ALU_CONST_BUFFER_SIZE_PS_0                         = 0x00028140,
	SQ_ALU_CONST_BUFFER_SIZE_PS_0_num                 = 16,
	SQ_ALU_CONST_BUFFER_SIZE_PS_0__DATA_mask          = 0x1ff << 0,
	SQ_ALU_CONST_BUFFER_SIZE_PS_0__DATA_shift         = 0,
    SQ_ALU_CONST_BUFFER_SIZE_VS_0                         = 0x00028180,
	SQ_ALU_CONST_BUFFER_SIZE_VS_0_num                 = 16,
	SQ_ALU_CONST_BUFFER_SIZE_VS_0__DATA_mask          = 0x1ff << 0,
	SQ_ALU_CONST_BUFFER_SIZE_VS_0__DATA_shift         = 0,
    SQ_ALU_CONST_BUFFER_SIZE_GS_0                         = 0x000281c0,
	SQ_ALU_CONST_BUFFER_SIZE_GS_0_num                 = 16,
	SQ_ALU_CONST_BUFFER_SIZE_GS_0__DATA_mask          = 0x1ff << 0,
	SQ_ALU_CONST_BUFFER_SIZE_GS_0__DATA_shift         = 0,
    PA_SC_WINDOW_OFFSET                                   = 0x00028200,
	WINDOW_X_OFFSET_mask                              = 0xffff << 0,
	WINDOW_X_OFFSET_shift                             = 0,
	WINDOW_Y_OFFSET_mask                              = 0xffff << 16,
	WINDOW_Y_OFFSET_shift                             = 16,
    PA_SC_WINDOW_SCISSOR_TL                               = 0x00028204,
	PA_SC_WINDOW_SCISSOR_TL__TL_X_mask                = 0x7fff << 0,
	PA_SC_WINDOW_SCISSOR_TL__TL_X_shift               = 0,
	PA_SC_WINDOW_SCISSOR_TL__TL_Y_mask                = 0x7fff << 16,
	PA_SC_WINDOW_SCISSOR_TL__TL_Y_shift               = 16,
	WINDOW_OFFSET_DISABLE_bit                         = 1 << 31,
    PA_SC_WINDOW_SCISSOR_BR                               = 0x00028208,
	PA_SC_WINDOW_SCISSOR_BR__BR_X_mask                = 0x7fff << 0,
	PA_SC_WINDOW_SCISSOR_BR__BR_X_shift               = 0,
	PA_SC_WINDOW_SCISSOR_BR__BR_Y_mask                = 0x7fff << 16,
	PA_SC_WINDOW_SCISSOR_BR__BR_Y_shift               = 16,
    PA_SC_CLIPRECT_RULE                                   = 0x0002820c,
	CLIP_RULE_mask                                    = 0xffff << 0,
	CLIP_RULE_shift                                   = 0,
    PA_SC_CLIPRECT_0_TL                                   = 0x00028210,
	PA_SC_CLIPRECT_0_TL_num                           = 4,
	PA_SC_CLIPRECT_0_TL_offset                        = 8,
	PA_SC_CLIPRECT_0_TL__TL_X_mask                    = 0x7fff << 0,
	PA_SC_CLIPRECT_0_TL__TL_X_shift                   = 0,
	PA_SC_CLIPRECT_0_TL__TL_Y_mask                    = 0x7fff << 16,
	PA_SC_CLIPRECT_0_TL__TL_Y_shift                   = 16,
    PA_SC_CLIPRECT_0_BR                                   = 0x00028214,
	PA_SC_CLIPRECT_0_BR_num                           = 4,
	PA_SC_CLIPRECT_0_BR_offset                        = 8,
	PA_SC_CLIPRECT_0_BR__BR_X_mask                    = 0x7fff << 0,
	PA_SC_CLIPRECT_0_BR__BR_X_shift                   = 0,
	PA_SC_CLIPRECT_0_BR__BR_Y_mask                    = 0x7fff << 16,
	PA_SC_CLIPRECT_0_BR__BR_Y_shift                   = 16,
    PA_SC_EDGERULE                                        = 0x00028230,
	ER_TRI_mask                                       = 0x0f << 0,
	ER_TRI_shift                                      = 0,
	ER_POINT_mask                                     = 0x0f << 4,
	ER_POINT_shift                                    = 4,
	ER_RECT_mask                                      = 0x0f << 8,
	ER_RECT_shift                                     = 8,
	ER_LINE_LR_mask                                   = 0x3f << 12,
	ER_LINE_LR_shift                                  = 12,
	ER_LINE_RL_mask                                   = 0x3f << 18,
	ER_LINE_RL_shift                                  = 18,
	ER_LINE_TB_mask                                   = 0x0f << 24,
	ER_LINE_TB_shift                                  = 24,
	ER_LINE_BT_mask                                   = 0x0f << 28,
	ER_LINE_BT_shift                                  = 28,
    PA_SU_HARDWARE_SCREEN_OFFSET                          = 0x00028234,
	HW_SCREEN_OFFSET_X_mask                           = 0x1f << 0,
	HW_SCREEN_OFFSET_X_shift                          = 0,
	HW_SCREEN_OFFSET_Y_mask                           = 0x1f << 8,
	HW_SCREEN_OFFSET_Y_shift                          = 8,
    CB_TARGET_MASK                                        = 0x00028238,
	TARGET0_ENABLE_mask                               = 0x0f << 0,
	TARGET0_ENABLE_shift                              = 0,
	TARGET1_ENABLE_mask                               = 0x0f << 4,
	TARGET1_ENABLE_shift                              = 4,
	TARGET2_ENABLE_mask                               = 0x0f << 8,
	TARGET2_ENABLE_shift                              = 8,
	TARGET3_ENABLE_mask                               = 0x0f << 12,
	TARGET3_ENABLE_shift                              = 12,
	TARGET4_ENABLE_mask                               = 0x0f << 16,
	TARGET4_ENABLE_shift                              = 16,
	TARGET5_ENABLE_mask                               = 0x0f << 20,
	TARGET5_ENABLE_shift                              = 20,
	TARGET6_ENABLE_mask                               = 0x0f << 24,
	TARGET6_ENABLE_shift                              = 24,
	TARGET7_ENABLE_mask                               = 0x0f << 28,
	TARGET7_ENABLE_shift                              = 28,
    CB_SHADER_MASK                                        = 0x0002823c,
	OUTPUT0_ENABLE_mask                               = 0x0f << 0,
	OUTPUT0_ENABLE_shift                              = 0,
	OUTPUT1_ENABLE_mask                               = 0x0f << 4,
	OUTPUT1_ENABLE_shift                              = 4,
	OUTPUT2_ENABLE_mask                               = 0x0f << 8,
	OUTPUT2_ENABLE_shift                              = 8,
	OUTPUT3_ENABLE_mask                               = 0x0f << 12,
	OUTPUT3_ENABLE_shift                              = 12,
	OUTPUT4_ENABLE_mask                               = 0x0f << 16,
	OUTPUT4_ENABLE_shift                              = 16,
	OUTPUT5_ENABLE_mask                               = 0x0f << 20,
	OUTPUT5_ENABLE_shift                              = 20,
	OUTPUT6_ENABLE_mask                               = 0x0f << 24,
	OUTPUT6_ENABLE_shift                              = 24,
	OUTPUT7_ENABLE_mask                               = 0x0f << 28,
	OUTPUT7_ENABLE_shift                              = 28,
    PA_SC_GENERIC_SCISSOR_TL                              = 0x00028240,
	PA_SC_GENERIC_SCISSOR_TL__TL_X_mask               = 0x7fff << 0,
	PA_SC_GENERIC_SCISSOR_TL__TL_X_shift              = 0,
	PA_SC_GENERIC_SCISSOR_TL__TL_Y_mask               = 0x7fff << 16,
	PA_SC_GENERIC_SCISSOR_TL__TL_Y_shift              = 16,
/* 	WINDOW_OFFSET_DISABLE_bit                         = 1 << 31, */
    PA_SC_GENERIC_SCISSOR_BR                              = 0x00028244,
	PA_SC_GENERIC_SCISSOR_BR__BR_X_mask               = 0x7fff << 0,
	PA_SC_GENERIC_SCISSOR_BR__BR_X_shift              = 0,
	PA_SC_GENERIC_SCISSOR_BR__BR_Y_mask               = 0x7fff << 16,
	PA_SC_GENERIC_SCISSOR_BR__BR_Y_shift              = 16,
    PA_SC_VPORT_SCISSOR_0_TL                              = 0x00028250,
	PA_SC_VPORT_SCISSOR_0_TL_num                      = 16,
	PA_SC_VPORT_SCISSOR_0_TL_offset                   = 8,
	PA_SC_VPORT_SCISSOR_0_TL__TL_X_mask               = 0x7fff << 0,
	PA_SC_VPORT_SCISSOR_0_TL__TL_X_shift              = 0,
	PA_SC_VPORT_SCISSOR_0_TL__TL_Y_mask               = 0x7fff << 16,
	PA_SC_VPORT_SCISSOR_0_TL__TL_Y_shift              = 16,
/* 	WINDOW_OFFSET_DISABLE_bit                         = 1 << 31, */
    PA_SC_VPORT_SCISSOR_0_BR                              = 0x00028254,
	PA_SC_VPORT_SCISSOR_0_BR_num                      = 16,
	PA_SC_VPORT_SCISSOR_0_BR_offset                   = 8,
	PA_SC_VPORT_SCISSOR_0_BR__BR_X_mask               = 0x7fff << 0,
	PA_SC_VPORT_SCISSOR_0_BR__BR_X_shift              = 0,
	PA_SC_VPORT_SCISSOR_0_BR__BR_Y_mask               = 0x7fff << 16,
	PA_SC_VPORT_SCISSOR_0_BR__BR_Y_shift              = 16,
    PA_SC_VPORT_ZMIN_0                                    = 0x000282d0,
	PA_SC_VPORT_ZMIN_0_num                            = 16,
	PA_SC_VPORT_ZMIN_0_offset                         = 8,
    PA_SC_VPORT_ZMAX_0                                    = 0x000282d4,
	PA_SC_VPORT_ZMAX_0_num                            = 16,
	PA_SC_VPORT_ZMAX_0_offset                         = 8,
    SX_MISC                                               = 0x00028350,
	MULTIPASS_bit                                     = 1 << 0,
    SQ_VTX_SEMANTIC_0                                     = 0x00028380,
	SQ_VTX_SEMANTIC_0_num                             = 32,
/* 	SEMANTIC_ID_mask                                  = 0xff << 0, */
/* 	SEMANTIC_ID_shift                                 = 0, */
    VGT_MAX_VTX_INDX                                      = 0x00028400,
    VGT_MIN_VTX_INDX                                      = 0x00028404,
    VGT_INDX_OFFSET                                       = 0x00028408,
    VGT_MULTI_PRIM_IB_RESET_INDX                          = 0x0002840c,
    SX_ALPHA_TEST_CONTROL                                 = 0x00028410,
	ALPHA_FUNC_mask                                   = 0x07 << 0,
	ALPHA_FUNC_shift                                  = 0,
	    REF_NEVER                                     = 0x00,
	    REF_LESS                                      = 0x01,
	    REF_EQUAL                                     = 0x02,
	    REF_LEQUAL                                    = 0x03,
	    REF_GREATER                                   = 0x04,
	    REF_NOTEQUAL                                  = 0x05,
	    REF_GEQUAL                                    = 0x06,
	    REF_ALWAYS                                    = 0x07,
	ALPHA_TEST_ENABLE_bit                             = 1 << 3,
	ALPHA_TEST_BYPASS_bit                             = 1 << 8,
    CB_BLEND_RED                                          = 0x00028414,
    CB_BLEND_GREEN                                        = 0x00028418,
    CB_BLEND_BLUE                                         = 0x0002841c,
    CB_BLEND_ALPHA                                        = 0x00028420,
    DB_STENCILREFMASK                                     = 0x00028430,
	STENCILREF_mask                                   = 0xff << 0,
	STENCILREF_shift                                  = 0,
	STENCILMASK_mask                                  = 0xff << 8,
	STENCILMASK_shift                                 = 8,
	STENCILWRITEMASK_mask                             = 0xff << 16,
	STENCILWRITEMASK_shift                            = 16,
    DB_STENCILREFMASK_BF                                  = 0x00028434,
	STENCILREF_BF_mask                                = 0xff << 0,
	STENCILREF_BF_shift                               = 0,
	STENCILMASK_BF_mask                               = 0xff << 8,
	STENCILMASK_BF_shift                              = 8,
	STENCILWRITEMASK_BF_mask                          = 0xff << 16,
	STENCILWRITEMASK_BF_shift                         = 16,
    SX_ALPHA_REF                                          = 0x00028438,
    PA_CL_VPORT_XSCALE_0                                  = 0x0002843c,
	PA_CL_VPORT_XSCALE_0_num                          = 16,
	PA_CL_VPORT_XSCALE_0_offset                       = 24,
    PA_CL_VPORT_XOFFSET_0                                 = 0x00028440,
	PA_CL_VPORT_XOFFSET_0_num                         = 16,
	PA_CL_VPORT_XOFFSET_0_offset                      = 24,
    PA_CL_VPORT_YSCALE_0                                  = 0x00028444,
	PA_CL_VPORT_YSCALE_0_num                          = 16,
	PA_CL_VPORT_YSCALE_0_offset                       = 24,
    PA_CL_VPORT_YOFFSET_0                                 = 0x00028448,
	PA_CL_VPORT_YOFFSET_0_num                         = 16,
	PA_CL_VPORT_YOFFSET_0_offset                      = 24,
    PA_CL_VPORT_ZSCALE_0                                  = 0x0002844c,
	PA_CL_VPORT_ZSCALE_0_num                          = 16,
	PA_CL_VPORT_ZSCALE_0_offset                       = 24,
    PA_CL_VPORT_ZOFFSET_0                                 = 0x00028450,
	PA_CL_VPORT_ZOFFSET_0_num                         = 16,
	PA_CL_VPORT_ZOFFSET_0_offset                      = 24,
    PA_CL_UCP_0_X                                         = 0x000285bc,
	PA_CL_UCP_0_X_num                                 = 6,
	PA_CL_UCP_0_X_offset                              = 16,
    PA_CL_UCP_0_Y                                         = 0x000285c0,
	PA_CL_UCP_0_Y_num                                 = 6,
	PA_CL_UCP_0_Y_offset                              = 16,
    PA_CL_UCP_0_Z                                         = 0x000285c4,
	PA_CL_UCP_0_Z_num                                 = 6,
	PA_CL_UCP_0_Z_offset                              = 16,
    PA_CL_UCP_0_W                                         = 0x000285c8,
	PA_CL_UCP_0_W_num                                 = 6,
	PA_CL_UCP_0_W_offset                              = 16,
    SPI_VS_OUT_ID_0                                       = 0x0002861c,
	SPI_VS_OUT_ID_0_num                               = 10,
	SEMANTIC_0_mask                                   = 0xff << 0,
	SEMANTIC_0_shift                                  = 0,
	SEMANTIC_1_mask                                   = 0xff << 8,
	SEMANTIC_1_shift                                  = 8,
	SEMANTIC_2_mask                                   = 0xff << 16,
	SEMANTIC_2_shift                                  = 16,
	SEMANTIC_3_mask                                   = 0xff << 24,
	SEMANTIC_3_shift                                  = 24,
    SPI_PS_INPUT_CNTL_0                                   = 0x00028644,
	SPI_PS_INPUT_CNTL_0_num                           = 32,
	SEMANTIC_mask                                     = 0xff << 0,
	SEMANTIC_shift                                    = 0,
	DEFAULT_VAL_mask                                  = 0x03 << 8,
	DEFAULT_VAL_shift                                 = 8,
	    X_0_0F                                        = 0x00,
	FLAT_SHADE_bit                                    = 1 << 10,
	CYL_WRAP_mask                                     = 0x0f << 13,
	CYL_WRAP_shift                                    = 13,
	PT_SPRITE_TEX_bit                                 = 1 << 17,
    SPI_VS_OUT_CONFIG                                     = 0x000286c4,
	VS_PER_COMPONENT_bit                              = 1 << 0,
	VS_EXPORT_COUNT_mask                              = 0x1f << 1,
	VS_EXPORT_COUNT_shift                             = 1,
	VS_EXPORTS_FOG_bit                                = 1 << 8,
	VS_OUT_FOG_VEC_ADDR_mask                          = 0x1f << 9,
	VS_OUT_FOG_VEC_ADDR_shift                         = 9,
    SPI_PS_IN_CONTROL_0                                   = 0x000286cc,
	NUM_INTERP_mask                                   = 0x3f << 0,
	NUM_INTERP_shift                                  = 0,
	POSITION_ENA_bit                                  = 1 << 8,
	POSITION_CENTROID_bit                             = 1 << 9,
	POSITION_ADDR_mask                                = 0x1f << 10,
	POSITION_ADDR_shift                               = 10,
	PARAM_GEN_mask                                    = 0x0f << 15,
	PARAM_GEN_shift                                   = 15,
	PERSP_GRADIENT_ENA_bit                            = 1 << 28,
	LINEAR_GRADIENT_ENA_bit                           = 1 << 29,
	POSITION_SAMPLE_bit                               = 1 << 30,
    SPI_PS_IN_CONTROL_1                                   = 0x000286d0,
	FRONT_FACE_ENA_bit                                = 1 << 8,
	FRONT_FACE_ALL_BITS_bit                           = 1 << 11,
	FRONT_FACE_ADDR_mask                              = 0x1f << 12,
	FRONT_FACE_ADDR_shift                             = 12,
	FOG_ADDR_mask                                     = 0x7f << 17,
	FOG_ADDR_shift                                    = 17,
	FIXED_PT_POSITION_ENA_bit                         = 1 << 24,
	FIXED_PT_POSITION_ADDR_mask                       = 0x1f << 25,
	FIXED_PT_POSITION_ADDR_shift                      = 25,
	POSITION_ULC_bit                                  = 1 << 30,
    SPI_INTERP_CONTROL_0                                  = 0x000286d4,
	FLAT_SHADE_ENA_bit                                = 1 << 0,
	PNT_SPRITE_ENA_bit                                = 1 << 1,
	PNT_SPRITE_OVRD_X_mask                            = 0x07 << 2,
	PNT_SPRITE_OVRD_X_shift                           = 2,
	    SPI_PNT_SPRITE_SEL_0                          = 0x00,
	    SPI_PNT_SPRITE_SEL_1                          = 0x01,
	    SPI_PNT_SPRITE_SEL_S                          = 0x02,
	    SPI_PNT_SPRITE_SEL_T                          = 0x03,
	    SPI_PNT_SPRITE_SEL_NONE                       = 0x04,
	PNT_SPRITE_OVRD_Y_mask                            = 0x07 << 5,
	PNT_SPRITE_OVRD_Y_shift                           = 5,
/* 	    SPI_PNT_SPRITE_SEL_0                          = 0x00, */
/* 	    SPI_PNT_SPRITE_SEL_1                          = 0x01, */
/* 	    SPI_PNT_SPRITE_SEL_S                          = 0x02, */
/* 	    SPI_PNT_SPRITE_SEL_T                          = 0x03, */
/* 	    SPI_PNT_SPRITE_SEL_NONE                       = 0x04, */
	PNT_SPRITE_OVRD_Z_mask                            = 0x07 << 8,
	PNT_SPRITE_OVRD_Z_shift                           = 8,
/* 	    SPI_PNT_SPRITE_SEL_0                          = 0x00, */
/* 	    SPI_PNT_SPRITE_SEL_1                          = 0x01, */
/* 	    SPI_PNT_SPRITE_SEL_S                          = 0x02, */
/* 	    SPI_PNT_SPRITE_SEL_T                          = 0x03, */
/* 	    SPI_PNT_SPRITE_SEL_NONE                       = 0x04, */
	PNT_SPRITE_OVRD_W_mask                            = 0x07 << 11,
	PNT_SPRITE_OVRD_W_shift                           = 11,
/* 	    SPI_PNT_SPRITE_SEL_0                          = 0x00, */
/* 	    SPI_PNT_SPRITE_SEL_1                          = 0x01, */
/* 	    SPI_PNT_SPRITE_SEL_S                          = 0x02, */
/* 	    SPI_PNT_SPRITE_SEL_T                          = 0x03, */
/* 	    SPI_PNT_SPRITE_SEL_NONE                       = 0x04, */
	PNT_SPRITE_TOP_1_bit                              = 1 << 14,
    SPI_INPUT_Z                                           = 0x000286d8,
	PROVIDE_Z_TO_SPI_bit                              = 1 << 0,
    SPI_FOG_CNTL                                          = 0x000286dc,
	PASS_FOG_THROUGH_PS_bit                           = 1 << 0,
    SPI_BARYC_CNTL                                        = 0x000286e0,
	PERSP_CENTER_ENA_mask                             = 0x03 << 0,
	PERSP_CENTER_ENA_shift                            = 0,
	    X_OFF                                         = 0x00,
	    PERSP_CENTER_ENA__X_ON_AT_CENTER              = 0x01,
	    PERSP_CENTER_ENA__X_ON_AT_CENTROID            = 0x02,
	PERSP_CENTROID_ENA_mask                           = 0x03 << 4,
	PERSP_CENTROID_ENA_shift                          = 4,
/* 	    X_OFF                                         = 0x00, */
	    PERSP_CENTROID_ENA__X_ON_AT_CENTROID          = 0x01,
	    PERSP_CENTROID_ENA__X_ON_AT_CENTER            = 0x02,
	PERSP_SAMPLE_ENA_mask                             = 0x03 << 8,
	PERSP_SAMPLE_ENA_shift                            = 8,
/* 	    X_OFF                                         = 0x00, */
	PERSP_PULL_MODEL_ENA_mask                         = 0x03 << 12,
	PERSP_PULL_MODEL_ENA_shift                        = 12,
/* 	    X_OFF                                         = 0x00, */
	LINEAR_CENTER_ENA_mask                            = 0x03 << 16,
	LINEAR_CENTER_ENA_shift                           = 16,
/* 	    X_OFF                                         = 0x00, */
	    LINEAR_CENTER_ENA__X_ON_AT_CENTER             = 0x01,
	    LINEAR_CENTER_ENA__X_ON_AT_CENTROID           = 0x02,
	LINEAR_CENTROID_ENA_mask                          = 0x03 << 20,
	LINEAR_CENTROID_ENA_shift                         = 20,
/* 	    X_OFF                                         = 0x00, */
	    LINEAR_CENTROID_ENA__X_ON_AT_CENTROID         = 0x01,
	    LINEAR_CENTROID_ENA__X_ON_AT_CENTER           = 0x02,
	LINEAR_SAMPLE_ENA_mask                            = 0x03 << 24,
	LINEAR_SAMPLE_ENA_shift                           = 24,
/* 	    X_OFF                                         = 0x00, */
    SPI_PS_IN_CONTROL_2                                   = 0x000286e4,
	LINE_STIPPLE_TEX_ADDR_mask                        = 0xff << 0,
	LINE_STIPPLE_TEX_ADDR_shift                       = 0,
	LINE_STIPPLE_TEX_ENA_bit                          = 1 << 8,
    CB_BLEND0_CONTROL                                     = 0x00028780,
	CB_BLEND0_CONTROL_num                             = 8,
	COLOR_SRCBLEND_mask                               = 0x1f << 0,
	COLOR_SRCBLEND_shift                              = 0,
	    BLEND_ZERO                                    = 0x00,
	    BLEND_ONE                                     = 0x01,
	    BLEND_SRC_COLOR                               = 0x02,
	    BLEND_ONE_MINUS_SRC_COLOR                     = 0x03,
	    BLEND_SRC_ALPHA                               = 0x04,
	    BLEND_ONE_MINUS_SRC_ALPHA                     = 0x05,
	    BLEND_DST_ALPHA                               = 0x06,
	    BLEND_ONE_MINUS_DST_ALPHA                     = 0x07,
	    BLEND_DST_COLOR                               = 0x08,
	    BLEND_ONE_MINUS_DST_COLOR                     = 0x09,
	    BLEND_SRC_ALPHA_SATURATE                      = 0x0a,
	    BLEND_BOTH_SRC_ALPHA                          = 0x0b,
	    BLEND_BOTH_INV_SRC_ALPHA                      = 0x0c,
	    BLEND_CONSTANT_COLOR                          = 0x0d,
	    BLEND_ONE_MINUS_CONSTANT_COLOR                = 0x0e,
	    BLEND_SRC1_COLOR                              = 0x0f,
	    BLEND_INV_SRC1_COLOR                          = 0x10,
	    BLEND_SRC1_ALPHA                              = 0x11,
	    BLEND_INV_SRC1_ALPHA                          = 0x12,
	    BLEND_CONSTANT_ALPHA                          = 0x13,
	    BLEND_ONE_MINUS_CONSTANT_ALPHA                = 0x14,
	COLOR_COMB_FCN_mask                               = 0x07 << 5,
	COLOR_COMB_FCN_shift                              = 5,
	    COMB_DST_PLUS_SRC                             = 0x00,
	    COMB_SRC_MINUS_DST                            = 0x01,
	    COMB_MIN_DST_SRC                              = 0x02,
	    COMB_MAX_DST_SRC                              = 0x03,
	    COMB_DST_MINUS_SRC                            = 0x04,
	COLOR_DESTBLEND_mask                              = 0x1f << 8,
	COLOR_DESTBLEND_shift                             = 8,
/* 	    BLEND_ZERO                                    = 0x00, */
/* 	    BLEND_ONE                                     = 0x01, */
/* 	    BLEND_SRC_COLOR                               = 0x02, */
/* 	    BLEND_ONE_MINUS_SRC_COLOR                     = 0x03, */
/* 	    BLEND_SRC_ALPHA                               = 0x04, */
/* 	    BLEND_ONE_MINUS_SRC_ALPHA                     = 0x05, */
/* 	    BLEND_DST_ALPHA                               = 0x06, */
/* 	    BLEND_ONE_MINUS_DST_ALPHA                     = 0x07, */
/* 	    BLEND_DST_COLOR                               = 0x08, */
/* 	    BLEND_ONE_MINUS_DST_COLOR                     = 0x09, */
/* 	    BLEND_SRC_ALPHA_SATURATE                      = 0x0a, */
/* 	    BLEND_BOTH_SRC_ALPHA                          = 0x0b, */
/* 	    BLEND_BOTH_INV_SRC_ALPHA                      = 0x0c, */
/* 	    BLEND_CONSTANT_COLOR                          = 0x0d, */
/* 	    BLEND_ONE_MINUS_CONSTANT_COLOR                = 0x0e, */
/* 	    BLEND_SRC1_COLOR                              = 0x0f, */
/* 	    BLEND_INV_SRC1_COLOR                          = 0x10, */
/* 	    BLEND_SRC1_ALPHA                              = 0x11, */
/* 	    BLEND_INV_SRC1_ALPHA                          = 0x12, */
/* 	    BLEND_CONSTANT_ALPHA                          = 0x13, */
/* 	    BLEND_ONE_MINUS_CONSTANT_ALPHA                = 0x14, */
	ALPHA_SRCBLEND_mask                               = 0x1f << 16,
	ALPHA_SRCBLEND_shift                              = 16,
/* 	    BLEND_ZERO                                    = 0x00, */
/* 	    BLEND_ONE                                     = 0x01, */
/* 	    BLEND_SRC_COLOR                               = 0x02, */
/* 	    BLEND_ONE_MINUS_SRC_COLOR                     = 0x03, */
/* 	    BLEND_SRC_ALPHA                               = 0x04, */
/* 	    BLEND_ONE_MINUS_SRC_ALPHA                     = 0x05, */
/* 	    BLEND_DST_ALPHA                               = 0x06, */
/* 	    BLEND_ONE_MINUS_DST_ALPHA                     = 0x07, */
/* 	    BLEND_DST_COLOR                               = 0x08, */
/* 	    BLEND_ONE_MINUS_DST_COLOR                     = 0x09, */
/* 	    BLEND_SRC_ALPHA_SATURATE                      = 0x0a, */
/* 	    BLEND_BOTH_SRC_ALPHA                          = 0x0b, */
/* 	    BLEND_BOTH_INV_SRC_ALPHA                      = 0x0c, */
/* 	    BLEND_CONSTANT_COLOR                          = 0x0d, */
/* 	    BLEND_ONE_MINUS_CONSTANT_COLOR                = 0x0e, */
/* 	    BLEND_SRC1_COLOR                              = 0x0f, */
/* 	    BLEND_INV_SRC1_COLOR                          = 0x10, */
/* 	    BLEND_SRC1_ALPHA                              = 0x11, */
/* 	    BLEND_INV_SRC1_ALPHA                          = 0x12, */
/* 	    BLEND_CONSTANT_ALPHA                          = 0x13, */
/* 	    BLEND_ONE_MINUS_CONSTANT_ALPHA                = 0x14, */
	ALPHA_COMB_FCN_mask                               = 0x07 << 21,
	ALPHA_COMB_FCN_shift                              = 21,
/* 	    COMB_DST_PLUS_SRC                             = 0x00, */
/* 	    COMB_SRC_MINUS_DST                            = 0x01, */
/* 	    COMB_MIN_DST_SRC                              = 0x02, */
/* 	    COMB_MAX_DST_SRC                              = 0x03, */
/* 	    COMB_DST_MINUS_SRC                            = 0x04, */
	ALPHA_DESTBLEND_mask                              = 0x1f << 24,
	ALPHA_DESTBLEND_shift                             = 24,
/* 	    BLEND_ZERO                                    = 0x00, */
/* 	    BLEND_ONE                                     = 0x01, */
/* 	    BLEND_SRC_COLOR                               = 0x02, */
/* 	    BLEND_ONE_MINUS_SRC_COLOR                     = 0x03, */
/* 	    BLEND_SRC_ALPHA                               = 0x04, */
/* 	    BLEND_ONE_MINUS_SRC_ALPHA                     = 0x05, */
/* 	    BLEND_DST_ALPHA                               = 0x06, */
/* 	    BLEND_ONE_MINUS_DST_ALPHA                     = 0x07, */
/* 	    BLEND_DST_COLOR                               = 0x08, */
/* 	    BLEND_ONE_MINUS_DST_COLOR                     = 0x09, */
/* 	    BLEND_SRC_ALPHA_SATURATE                      = 0x0a, */
/* 	    BLEND_BOTH_SRC_ALPHA                          = 0x0b, */
/* 	    BLEND_BOTH_INV_SRC_ALPHA                      = 0x0c, */
/* 	    BLEND_CONSTANT_COLOR                          = 0x0d, */
/* 	    BLEND_ONE_MINUS_CONSTANT_COLOR                = 0x0e, */
/* 	    BLEND_SRC1_COLOR                              = 0x0f, */
/* 	    BLEND_INV_SRC1_COLOR                          = 0x10, */
/* 	    BLEND_SRC1_ALPHA                              = 0x11, */
/* 	    BLEND_INV_SRC1_ALPHA                          = 0x12, */
/* 	    BLEND_CONSTANT_ALPHA                          = 0x13, */
/* 	    BLEND_ONE_MINUS_CONSTANT_ALPHA                = 0x14, */
	SEPARATE_ALPHA_BLEND_bit                          = 1 << 29,
	CB_BLEND0_CONTROL__ENABLE_bit                     = 1 << 30,
    PA_CL_POINT_X_RAD                                     = 0x000287d4,
    PA_CL_POINT_Y_RAD                                     = 0x000287d8,
    PA_CL_POINT_SIZE                                      = 0x000287dc,
    PA_CL_POINT_CULL_RAD                                  = 0x000287e0,
    VGT_DMA_BASE_HI                                       = 0x000287e4,
	VGT_DMA_BASE_HI__BASE_ADDR_mask                   = 0xff << 0,
	VGT_DMA_BASE_HI__BASE_ADDR_shift                  = 0,
    VGT_DMA_BASE                                          = 0x000287e8,
    VGT_DRAW_INITIATOR                                    = 0x000287f0,
	SOURCE_SELECT_mask                                = 0x03 << 0,
	SOURCE_SELECT_shift                               = 0,
	    DI_SRC_SEL_DMA                                = 0x00,
	    DI_SRC_SEL_IMMEDIATE                          = 0x01,
	    DI_SRC_SEL_AUTO_INDEX                         = 0x02,
	    DI_SRC_SEL_RESERVED                           = 0x03,
	MAJOR_MODE_mask                                   = 0x03 << 2,
	MAJOR_MODE_shift                                  = 2,
	    DI_MAJOR_MODE_0                               = 0x00,
	    DI_MAJOR_MODE_1                               = 0x01,
	NOT_EOP_bit                                       = 1 << 5,
	USE_OPAQUE_bit                                    = 1 << 6,
    VGT_IMMED_DATA                                        = 0x000287f4,
    VGT_EVENT_ADDRESS_REG                                 = 0x000287f8,
	ADDRESS_LOW_mask                                  = 0xfffffff << 0,
	ADDRESS_LOW_shift                                 = 0,
    DB_DEPTH_CONTROL                                      = 0x00028800,
	STENCIL_ENABLE_bit                                = 1 << 0,
	Z_ENABLE_bit                                      = 1 << 1,
	Z_WRITE_ENABLE_bit                                = 1 << 2,
	ZFUNC_mask                                        = 0x07 << 4,
	ZFUNC_shift                                       = 4,
	    FRAG_NEVER                                    = 0x00,
	    FRAG_LESS                                     = 0x01,
	    FRAG_EQUAL                                    = 0x02,
	    FRAG_LEQUAL                                   = 0x03,
	    FRAG_GREATER                                  = 0x04,
	    FRAG_NOTEQUAL                                 = 0x05,
	    FRAG_GEQUAL                                   = 0x06,
	    FRAG_ALWAYS                                   = 0x07,
	BACKFACE_ENABLE_bit                               = 1 << 7,
	STENCILFUNC_mask                                  = 0x07 << 8,
	STENCILFUNC_shift                                 = 8,
/* 	    REF_NEVER                                     = 0x00, */
/* 	    REF_LESS                                      = 0x01, */
/* 	    REF_EQUAL                                     = 0x02, */
/* 	    REF_LEQUAL                                    = 0x03, */
/* 	    REF_GREATER                                   = 0x04, */
/* 	    REF_NOTEQUAL                                  = 0x05, */
/* 	    REF_GEQUAL                                    = 0x06, */
/* 	    REF_ALWAYS                                    = 0x07, */
	STENCILFAIL_mask                                  = 0x07 << 11,
	STENCILFAIL_shift                                 = 11,
	    STENCIL_KEEP                                  = 0x00,
	    STENCIL_ZERO                                  = 0x01,
	    STENCIL_REPLACE                               = 0x02,
	    STENCIL_INCR_CLAMP                            = 0x03,
	    STENCIL_DECR_CLAMP                            = 0x04,
	    STENCIL_INVERT                                = 0x05,
	    STENCIL_INCR_WRAP                             = 0x06,
	    STENCIL_DECR_WRAP                             = 0x07,
	STENCILZPASS_mask                                 = 0x07 << 14,
	STENCILZPASS_shift                                = 14,
/* 	    STENCIL_KEEP                                  = 0x00, */
/* 	    STENCIL_ZERO                                  = 0x01, */
/* 	    STENCIL_REPLACE                               = 0x02, */
/* 	    STENCIL_INCR_CLAMP                            = 0x03, */
/* 	    STENCIL_DECR_CLAMP                            = 0x04, */
/* 	    STENCIL_INVERT                                = 0x05, */
/* 	    STENCIL_INCR_WRAP                             = 0x06, */
/* 	    STENCIL_DECR_WRAP                             = 0x07, */
	STENCILZFAIL_mask                                 = 0x07 << 17,
	STENCILZFAIL_shift                                = 17,
/* 	    STENCIL_KEEP                                  = 0x00, */
/* 	    STENCIL_ZERO                                  = 0x01, */
/* 	    STENCIL_REPLACE                               = 0x02, */
/* 	    STENCIL_INCR_CLAMP                            = 0x03, */
/* 	    STENCIL_DECR_CLAMP                            = 0x04, */
/* 	    STENCIL_INVERT                                = 0x05, */
/* 	    STENCIL_INCR_WRAP                             = 0x06, */
/* 	    STENCIL_DECR_WRAP                             = 0x07, */
	STENCILFUNC_BF_mask                               = 0x07 << 20,
	STENCILFUNC_BF_shift                              = 20,
/* 	    REF_NEVER                                     = 0x00, */
/* 	    REF_LESS                                      = 0x01, */
/* 	    REF_EQUAL                                     = 0x02, */
/* 	    REF_LEQUAL                                    = 0x03, */
/* 	    REF_GREATER                                   = 0x04, */
/* 	    REF_NOTEQUAL                                  = 0x05, */
/* 	    REF_GEQUAL                                    = 0x06, */
/* 	    REF_ALWAYS                                    = 0x07, */
	STENCILFAIL_BF_mask                               = 0x07 << 23,
	STENCILFAIL_BF_shift                              = 23,
/* 	    STENCIL_KEEP                                  = 0x00, */
/* 	    STENCIL_ZERO                                  = 0x01, */
/* 	    STENCIL_REPLACE                               = 0x02, */
/* 	    STENCIL_INCR_CLAMP                            = 0x03, */
/* 	    STENCIL_DECR_CLAMP                            = 0x04, */
/* 	    STENCIL_INVERT                                = 0x05, */
/* 	    STENCIL_INCR_WRAP                             = 0x06, */
/* 	    STENCIL_DECR_WRAP                             = 0x07, */
	STENCILZPASS_BF_mask                              = 0x07 << 26,
	STENCILZPASS_BF_shift                             = 26,
/* 	    STENCIL_KEEP                                  = 0x00, */
/* 	    STENCIL_ZERO                                  = 0x01, */
/* 	    STENCIL_REPLACE                               = 0x02, */
/* 	    STENCIL_INCR_CLAMP                            = 0x03, */
/* 	    STENCIL_DECR_CLAMP                            = 0x04, */
/* 	    STENCIL_INVERT                                = 0x05, */
/* 	    STENCIL_INCR_WRAP                             = 0x06, */
/* 	    STENCIL_DECR_WRAP                             = 0x07, */
	STENCILZFAIL_BF_mask                              = 0x07 << 29,
	STENCILZFAIL_BF_shift                             = 29,
/* 	    STENCIL_KEEP                                  = 0x00, */
/* 	    STENCIL_ZERO                                  = 0x01, */
/* 	    STENCIL_REPLACE                               = 0x02, */
/* 	    STENCIL_INCR_CLAMP                            = 0x03, */
/* 	    STENCIL_DECR_CLAMP                            = 0x04, */
/* 	    STENCIL_INVERT                                = 0x05, */
/* 	    STENCIL_INCR_WRAP                             = 0x06, */
/* 	    STENCIL_DECR_WRAP                             = 0x07, */
    CB_COLOR_CONTROL                                      = 0x00028808,
	DEGAMMA_ENABLE_bit                                = 1 << 3,
	CB_COLOR_CONTROL__MODE_mask                       = 0x07 << 4,
	CB_COLOR_CONTROL__MODE_shift                      = 4,
	    CB_DISABLE                                    = 0x00,
	    CB_NORMAL                                     = 0x01,
	    CB_ELIMINATE_FAST_CLEAR                       = 0x02,
	    CB_RESOLVE                                    = 0x03,
	    CB_DECOMPRESS                                 = 0x04,
	    CB_FMASK_DECOMPRESS                           = 0x05,
	ROP3_mask                                         = 0xff << 16,
	ROP3_shift                                        = 16,
    DB_SHADER_CONTROL                                     = 0x0002880c,
	Z_EXPORT_ENABLE_bit                               = 1 << 0,
	STENCIL_REF_EXPORT_ENABLE_bit                     = 1 << 1,
	Z_ORDER_mask                                      = 0x03 << 4,
	Z_ORDER_shift                                     = 4,
	    LATE_Z                                        = 0x00,
	    EARLY_Z_THEN_LATE_Z                           = 0x01,
	    RE_Z                                          = 0x02,
	    EARLY_Z_THEN_RE_Z                             = 0x03,
	KILL_ENABLE_bit                                   = 1 << 6,
	COVERAGE_TO_MASK_ENABLE_bit                       = 1 << 7,
	MASK_EXPORT_ENABLE_bit                            = 1 << 8,
	DUAL_EXPORT_ENABLE_bit                            = 1 << 9,
	EXEC_ON_HIER_FAIL_bit                             = 1 << 10,
	EXEC_ON_NOOP_bit                                  = 1 << 11,
	ALPHA_TO_MASK_DISABLE_bit                         = 1 << 12,
	DB_SOURCE_FORMAT_mask                             = 0x03 << 13,
	DB_SOURCE_FORMAT_shift                            = 13,
	    EXPORT_DB_FULL                                = 0x00,
	    EXPORT_DB_FOUR16                              = 0x01,
	    EXPORT_DB_TWO                                 = 0x02,
	DEPTH_BEFORE_SHADER_bit                           = 1 << 15,
	CONSERVATIVE_Z_EXPORT_mask                        = 0x03 << 16,
	CONSERVATIVE_Z_EXPORT_shift                       = 16,
	    EXPORT_ANY_Z                                  = 0x00,
	    EXPORT_LESS_THAN_Z                            = 0x01,
	    EXPORT_GREATER_THAN_Z                         = 0x02,
	    EXPORT_RESERVED                               = 0x03,
    PA_CL_CLIP_CNTL                                       = 0x00028810,
	UCP_ENA_0_bit                                     = 1 << 0,
	UCP_ENA_1_bit                                     = 1 << 1,
	UCP_ENA_2_bit                                     = 1 << 2,
	UCP_ENA_3_bit                                     = 1 << 3,
	UCP_ENA_4_bit                                     = 1 << 4,
	UCP_ENA_5_bit                                     = 1 << 5,
	PS_UCP_Y_SCALE_NEG_bit                            = 1 << 13,
	PS_UCP_MODE_mask                                  = 0x03 << 14,
	PS_UCP_MODE_shift                                 = 14,
	CLIP_DISABLE_bit                                  = 1 << 16,
	UCP_CULL_ONLY_ENA_bit                             = 1 << 17,
	BOUNDARY_EDGE_FLAG_ENA_bit                        = 1 << 18,
	DX_CLIP_SPACE_DEF_bit                             = 1 << 19,
	DIS_CLIP_ERR_DETECT_bit                           = 1 << 20,
	VTX_KILL_OR_bit                                   = 1 << 21,
	DX_RASTERIZATION_KILL_bit                         = 1 << 22,
	DX_LINEAR_ATTR_CLIP_ENA_bit                       = 1 << 24,
	VTE_VPORT_PROVOKE_DISABLE_bit                     = 1 << 25,
	ZCLIP_NEAR_DISABLE_bit                            = 1 << 26,
	ZCLIP_FAR_DISABLE_bit                             = 1 << 27,
    PA_SU_SC_MODE_CNTL                                    = 0x00028814,
	CULL_FRONT_bit                                    = 1 << 0,
	CULL_BACK_bit                                     = 1 << 1,
	FACE_bit                                          = 1 << 2,
	POLY_MODE_mask                                    = 0x03 << 3,
	POLY_MODE_shift                                   = 3,
	    X_DISABLE_POLY_MODE                           = 0x00,
	    X_DUAL_MODE                                   = 0x01,
	POLYMODE_FRONT_PTYPE_mask                         = 0x07 << 5,
	POLYMODE_FRONT_PTYPE_shift                        = 5,
	    X_DRAW_POINTS                                 = 0x00,
	    X_DRAW_LINES                                  = 0x01,
	    X_DRAW_TRIANGLES                              = 0x02,
	POLYMODE_BACK_PTYPE_mask                          = 0x07 << 8,
	POLYMODE_BACK_PTYPE_shift                         = 8,
/* 	    X_DRAW_POINTS                                 = 0x00, */
/* 	    X_DRAW_LINES                                  = 0x01, */
/* 	    X_DRAW_TRIANGLES                              = 0x02, */
	POLY_OFFSET_FRONT_ENABLE_bit                      = 1 << 11,
	POLY_OFFSET_BACK_ENABLE_bit                       = 1 << 12,
	POLY_OFFSET_PARA_ENABLE_bit                       = 1 << 13,
	VTX_WINDOW_OFFSET_ENABLE_bit                      = 1 << 16,
	PROVOKING_VTX_LAST_bit                            = 1 << 19,
	PERSP_CORR_DIS_bit                                = 1 << 20,
	MULTI_PRIM_IB_ENA_bit                             = 1 << 21,
    PA_CL_VTE_CNTL                                        = 0x00028818,
	VPORT_X_SCALE_ENA_bit                             = 1 << 0,
	VPORT_X_OFFSET_ENA_bit                            = 1 << 1,
	VPORT_Y_SCALE_ENA_bit                             = 1 << 2,
	VPORT_Y_OFFSET_ENA_bit                            = 1 << 3,
	VPORT_Z_SCALE_ENA_bit                             = 1 << 4,
	VPORT_Z_OFFSET_ENA_bit                            = 1 << 5,
	VTX_XY_FMT_bit                                    = 1 << 8,
	VTX_Z_FMT_bit                                     = 1 << 9,
	VTX_W0_FMT_bit                                    = 1 << 10,
    PA_CL_VS_OUT_CNTL                                     = 0x0002881c,
	CLIP_DIST_ENA_0_bit                               = 1 << 0,
	CLIP_DIST_ENA_1_bit                               = 1 << 1,
	CLIP_DIST_ENA_2_bit                               = 1 << 2,
	CLIP_DIST_ENA_3_bit                               = 1 << 3,
	CLIP_DIST_ENA_4_bit                               = 1 << 4,
	CLIP_DIST_ENA_5_bit                               = 1 << 5,
	CLIP_DIST_ENA_6_bit                               = 1 << 6,
	CLIP_DIST_ENA_7_bit                               = 1 << 7,
	CULL_DIST_ENA_0_bit                               = 1 << 8,
	CULL_DIST_ENA_1_bit                               = 1 << 9,
	CULL_DIST_ENA_2_bit                               = 1 << 10,
	CULL_DIST_ENA_3_bit                               = 1 << 11,
	CULL_DIST_ENA_4_bit                               = 1 << 12,
	CULL_DIST_ENA_5_bit                               = 1 << 13,
	CULL_DIST_ENA_6_bit                               = 1 << 14,
	CULL_DIST_ENA_7_bit                               = 1 << 15,
	USE_VTX_POINT_SIZE_bit                            = 1 << 16,
	USE_VTX_EDGE_FLAG_bit                             = 1 << 17,
	USE_VTX_RENDER_TARGET_INDX_bit                    = 1 << 18,
	USE_VTX_VIEWPORT_INDX_bit                         = 1 << 19,
	USE_VTX_KILL_FLAG_bit                             = 1 << 20,
	VS_OUT_MISC_VEC_ENA_bit                           = 1 << 21,
	VS_OUT_CCDIST0_VEC_ENA_bit                        = 1 << 22,
	VS_OUT_CCDIST1_VEC_ENA_bit                        = 1 << 23,
    PA_CL_NANINF_CNTL                                     = 0x00028820,
	VTE_XY_INF_DISCARD_bit                            = 1 << 0,
	VTE_Z_INF_DISCARD_bit                             = 1 << 1,
	VTE_W_INF_DISCARD_bit                             = 1 << 2,
	VTE_0XNANINF_IS_0_bit                             = 1 << 3,
	VTE_XY_NAN_RETAIN_bit                             = 1 << 4,
	VTE_Z_NAN_RETAIN_bit                              = 1 << 5,
	VTE_W_NAN_RETAIN_bit                              = 1 << 6,
	VTE_W_RECIP_NAN_IS_0_bit                          = 1 << 7,
	VS_XY_NAN_TO_INF_bit                              = 1 << 8,
	VS_XY_INF_RETAIN_bit                              = 1 << 9,
	VS_Z_NAN_TO_INF_bit                               = 1 << 10,
	VS_Z_INF_RETAIN_bit                               = 1 << 11,
	VS_W_NAN_TO_INF_bit                               = 1 << 12,
	VS_W_INF_RETAIN_bit                               = 1 << 13,
	VS_CLIP_DIST_INF_DISCARD_bit                      = 1 << 14,
	VTE_NO_OUTPUT_NEG_0_bit                           = 1 << 20,
    PA_SU_LINE_STIPPLE_CNTL                               = 0x00028824,
	LINE_STIPPLE_RESET_mask                           = 0x03 << 0,
	LINE_STIPPLE_RESET_shift                          = 0,
	EXPAND_FULL_LENGTH_bit                            = 1 << 2,
	FRACTIONAL_ACCUM_bit                              = 1 << 3,
	DIAMOND_ADJUST_bit                                = 1 << 4,
    PA_SU_LINE_STIPPLE_SCALE                              = 0x00028828,
    PA_SU_PRIM_FILTER_CNTL                                = 0x0002882c,
	TRIANGLE_FILTER_DISABLE_bit                       = 1 << 0,
	LINE_FILTER_DISABLE_bit                           = 1 << 1,
	POINT_FILTER_DISABLE_bit                          = 1 << 2,
	RECTANGLE_FILTER_DISABLE_bit                      = 1 << 3,
	TRIANGLE_EXPAND_ENA_bit                           = 1 << 4,
	LINE_EXPAND_ENA_bit                               = 1 << 5,
	POINT_EXPAND_ENA_bit                              = 1 << 6,
	RECTANGLE_EXPAND_ENA_bit                          = 1 << 7,
	PRIM_EXPAND_CONSTANT_mask                         = 0xff << 8,
	PRIM_EXPAND_CONSTANT_shift                        = 8,
    SQ_LSTMP_RING_ITEMSIZE                                = 0x00028830,
	ITEMSIZE_mask                                     = 0x7fff << 0,
	ITEMSIZE_shift                                    = 0,
    SQ_HSTMP_RING_ITEMSIZE                                = 0x00028834,
/* 	ITEMSIZE_mask                                     = 0x7fff << 0, */
/* 	ITEMSIZE_shift                                    = 0, */
    SQ_PGM_START_PS                                       = 0x00028840,
    SQ_PGM_RESOURCES_PS                                   = 0x00028844,
	NUM_GPRS_mask                                     = 0xff << 0,
	NUM_GPRS_shift                                    = 0,
	STACK_SIZE_mask                                   = 0xff << 8,
	STACK_SIZE_shift                                  = 8,
	DX10_CLAMP_bit                                    = 1 << 21,
	UNCACHED_FIRST_INST_bit                           = 1 << 28,
	CLAMP_CONSTS_bit                                  = 1 << 31,
    SQ_PGM_RESOURCES_2_PS                                 = 0x00028848,
	SINGLE_ROUND_mask                                 = 0x03 << 0,
	SINGLE_ROUND_shift                                = 0,
	    SQ_ROUND_NEAREST_EVEN                         = 0x00,
	    SQ_ROUND_PLUS_INFINITY                        = 0x01,
	    SQ_ROUND_MINUS_INFINITY                       = 0x02,
	    SQ_ROUND_TO_ZERO                              = 0x03,
	DOUBLE_ROUND_mask                                 = 0x03 << 2,
	DOUBLE_ROUND_shift                                = 2,
/* 	    SQ_ROUND_NEAREST_EVEN                         = 0x00, */
/* 	    SQ_ROUND_PLUS_INFINITY                        = 0x01, */
/* 	    SQ_ROUND_MINUS_INFINITY                       = 0x02, */
/* 	    SQ_ROUND_TO_ZERO                              = 0x03, */
	ALLOW_SINGLE_DENORM_IN_bit                        = 1 << 4,
	ALLOW_SINGLE_DENORM_OUT_bit                       = 1 << 5,
	ALLOW_DOUBLE_DENORM_IN_bit                        = 1 << 6,
	ALLOW_DOUBLE_DENORM_OUT_bit                       = 1 << 7,
    SQ_PGM_EXPORTS_PS                                     = 0x0002884c,
	EXPORT_MODE_mask                                  = 0x1f << 0,
	EXPORT_MODE_shift                                 = 0,
    SQ_PGM_START_VS                                       = 0x0002885c,
    SQ_PGM_RESOURCES_VS                                   = 0x00028860,
/* 	NUM_GPRS_mask                                     = 0xff << 0, */
/* 	NUM_GPRS_shift                                    = 0, */
/* 	STACK_SIZE_mask                                   = 0xff << 8, */
/* 	STACK_SIZE_shift                                  = 8, */
/* 	DX10_CLAMP_bit                                    = 1 << 21, */
/* 	UNCACHED_FIRST_INST_bit                           = 1 << 28, */
    SQ_PGM_RESOURCES_2_VS                                 = 0x00028864,
/* 	SINGLE_ROUND_mask                                 = 0x03 << 0, */
/* 	SINGLE_ROUND_shift                                = 0, */
/* 	    SQ_ROUND_NEAREST_EVEN                         = 0x00, */
/* 	    SQ_ROUND_PLUS_INFINITY                        = 0x01, */
/* 	    SQ_ROUND_MINUS_INFINITY                       = 0x02, */
/* 	    SQ_ROUND_TO_ZERO                              = 0x03, */
/* 	DOUBLE_ROUND_mask                                 = 0x03 << 2, */
/* 	DOUBLE_ROUND_shift                                = 2, */
/* 	    SQ_ROUND_NEAREST_EVEN                         = 0x00, */
/* 	    SQ_ROUND_PLUS_INFINITY                        = 0x01, */
/* 	    SQ_ROUND_MINUS_INFINITY                       = 0x02, */
/* 	    SQ_ROUND_TO_ZERO                              = 0x03, */
/* 	ALLOW_SINGLE_DENORM_IN_bit                        = 1 << 4, */
/* 	ALLOW_SINGLE_DENORM_OUT_bit                       = 1 << 5, */
/* 	ALLOW_DOUBLE_DENORM_IN_bit                        = 1 << 6, */
/* 	ALLOW_DOUBLE_DENORM_OUT_bit                       = 1 << 7, */
    SQ_PGM_START_GS                                       = 0x00028874,
    SQ_PGM_RESOURCES_GS                                   = 0x00028878,
/* 	NUM_GPRS_mask                                     = 0xff << 0, */
/* 	NUM_GPRS_shift                                    = 0, */
/* 	STACK_SIZE_mask                                   = 0xff << 8, */
/* 	STACK_SIZE_shift                                  = 8, */
/* 	DX10_CLAMP_bit                                    = 1 << 21, */
/* 	UNCACHED_FIRST_INST_bit                           = 1 << 28, */
    SQ_PGM_RESOURCES_2_GS                                 = 0x0002887c,
/* 	SINGLE_ROUND_mask                                 = 0x03 << 0, */
/* 	SINGLE_ROUND_shift                                = 0, */
/* 	    SQ_ROUND_NEAREST_EVEN                         = 0x00, */
/* 	    SQ_ROUND_PLUS_INFINITY                        = 0x01, */
/* 	    SQ_ROUND_MINUS_INFINITY                       = 0x02, */
/* 	    SQ_ROUND_TO_ZERO                              = 0x03, */
/* 	DOUBLE_ROUND_mask                                 = 0x03 << 2, */
/* 	DOUBLE_ROUND_shift                                = 2, */
/* 	    SQ_ROUND_NEAREST_EVEN                         = 0x00, */
/* 	    SQ_ROUND_PLUS_INFINITY                        = 0x01, */
/* 	    SQ_ROUND_MINUS_INFINITY                       = 0x02, */
/* 	    SQ_ROUND_TO_ZERO                              = 0x03, */
/* 	ALLOW_SINGLE_DENORM_IN_bit                        = 1 << 4, */
/* 	ALLOW_SINGLE_DENORM_OUT_bit                       = 1 << 5, */
/* 	ALLOW_DOUBLE_DENORM_IN_bit                        = 1 << 6, */
/* 	ALLOW_DOUBLE_DENORM_OUT_bit                       = 1 << 7, */
    SQ_PGM_START_ES                                       = 0x0002888c,
    SQ_PGM_RESOURCES_ES                                   = 0x00028890,
/* 	NUM_GPRS_mask                                     = 0xff << 0, */
/* 	NUM_GPRS_shift                                    = 0, */
/* 	STACK_SIZE_mask                                   = 0xff << 8, */
/* 	STACK_SIZE_shift                                  = 8, */
/* 	DX10_CLAMP_bit                                    = 1 << 21, */
/* 	UNCACHED_FIRST_INST_bit                           = 1 << 28, */
    SQ_PGM_RESOURCES_2_ES                                 = 0x00028894,
/* 	SINGLE_ROUND_mask                                 = 0x03 << 0, */
/* 	SINGLE_ROUND_shift                                = 0, */
/* 	    SQ_ROUND_NEAREST_EVEN                         = 0x00, */
/* 	    SQ_ROUND_PLUS_INFINITY                        = 0x01, */
/* 	    SQ_ROUND_MINUS_INFINITY                       = 0x02, */
/* 	    SQ_ROUND_TO_ZERO                              = 0x03, */
/* 	DOUBLE_ROUND_mask                                 = 0x03 << 2, */
/* 	DOUBLE_ROUND_shift                                = 2, */
/* 	    SQ_ROUND_NEAREST_EVEN                         = 0x00, */
/* 	    SQ_ROUND_PLUS_INFINITY                        = 0x01, */
/* 	    SQ_ROUND_MINUS_INFINITY                       = 0x02, */
/* 	    SQ_ROUND_TO_ZERO                              = 0x03, */
/* 	ALLOW_SINGLE_DENORM_IN_bit                        = 1 << 4, */
/* 	ALLOW_SINGLE_DENORM_OUT_bit                       = 1 << 5, */
/* 	ALLOW_DOUBLE_DENORM_IN_bit                        = 1 << 6, */
/* 	ALLOW_DOUBLE_DENORM_OUT_bit                       = 1 << 7, */
    SQ_PGM_START_FS                                       = 0x000288a4,
    SQ_PGM_RESOURCES_FS                                   = 0x000288a8,
/* 	NUM_GPRS_mask                                     = 0xff << 0, */
/* 	NUM_GPRS_shift                                    = 0, */
/* 	STACK_SIZE_mask                                   = 0xff << 8, */
/* 	STACK_SIZE_shift                                  = 8, */
/* 	DX10_CLAMP_bit                                    = 1 << 21, */
    SQ_PGM_START_HS                                       = 0x000288b8,
    SQ_PGM_RESOURCES_HS                                   = 0x000288bc,
/* 	NUM_GPRS_mask                                     = 0xff << 0, */
/* 	NUM_GPRS_shift                                    = 0, */
/* 	STACK_SIZE_mask                                   = 0xff << 8, */
/* 	STACK_SIZE_shift                                  = 8, */
/* 	DX10_CLAMP_bit                                    = 1 << 21, */
/* 	UNCACHED_FIRST_INST_bit                           = 1 << 28, */
    SQ_PGM_RESOURCES_2_HS                                 = 0x000288c0,
/* 	SINGLE_ROUND_mask                                 = 0x03 << 0, */
/* 	SINGLE_ROUND_shift                                = 0, */
/* 	    SQ_ROUND_NEAREST_EVEN                         = 0x00, */
/* 	    SQ_ROUND_PLUS_INFINITY                        = 0x01, */
/* 	    SQ_ROUND_MINUS_INFINITY                       = 0x02, */
/* 	    SQ_ROUND_TO_ZERO                              = 0x03, */
/* 	DOUBLE_ROUND_mask                                 = 0x03 << 2, */
/* 	DOUBLE_ROUND_shift                                = 2, */
/* 	    SQ_ROUND_NEAREST_EVEN                         = 0x00, */
/* 	    SQ_ROUND_PLUS_INFINITY                        = 0x01, */
/* 	    SQ_ROUND_MINUS_INFINITY                       = 0x02, */
/* 	    SQ_ROUND_TO_ZERO                              = 0x03, */
/* 	ALLOW_SINGLE_DENORM_IN_bit                        = 1 << 4, */
/* 	ALLOW_SINGLE_DENORM_OUT_bit                       = 1 << 5, */
/* 	ALLOW_DOUBLE_DENORM_IN_bit                        = 1 << 6, */
/* 	ALLOW_DOUBLE_DENORM_OUT_bit                       = 1 << 7, */
    SQ_PGM_START_LS                                       = 0x000288d0,
    SQ_PGM_RESOURCES_LS                                   = 0x000288d4,
/* 	NUM_GPRS_mask                                     = 0xff << 0, */
/* 	NUM_GPRS_shift                                    = 0, */
/* 	STACK_SIZE_mask                                   = 0xff << 8, */
/* 	STACK_SIZE_shift                                  = 8, */
/* 	DX10_CLAMP_bit                                    = 1 << 21, */
/* 	UNCACHED_FIRST_INST_bit                           = 1 << 28, */
    SQ_PGM_RESOURCES_2_LS                                 = 0x000288d8,
/* 	SINGLE_ROUND_mask                                 = 0x03 << 0, */
/* 	SINGLE_ROUND_shift                                = 0, */
/* 	    SQ_ROUND_NEAREST_EVEN                         = 0x00, */
/* 	    SQ_ROUND_PLUS_INFINITY                        = 0x01, */
/* 	    SQ_ROUND_MINUS_INFINITY                       = 0x02, */
/* 	    SQ_ROUND_TO_ZERO                              = 0x03, */
/* 	DOUBLE_ROUND_mask                                 = 0x03 << 2, */
/* 	DOUBLE_ROUND_shift                                = 2, */
/* 	    SQ_ROUND_NEAREST_EVEN                         = 0x00, */
/* 	    SQ_ROUND_PLUS_INFINITY                        = 0x01, */
/* 	    SQ_ROUND_MINUS_INFINITY                       = 0x02, */
/* 	    SQ_ROUND_TO_ZERO                              = 0x03, */
/* 	ALLOW_SINGLE_DENORM_IN_bit                        = 1 << 4, */
/* 	ALLOW_SINGLE_DENORM_OUT_bit                       = 1 << 5, */
/* 	ALLOW_DOUBLE_DENORM_IN_bit                        = 1 << 6, */
/* 	ALLOW_DOUBLE_DENORM_OUT_bit                       = 1 << 7, */
    SQ_VTX_SEMANTIC_CLEAR                                 = 0x000288f0,
    SQ_ESGS_RING_ITEMSIZE                                 = 0x00028900,
/* 	ITEMSIZE_mask                                     = 0x7fff << 0, */
/* 	ITEMSIZE_shift                                    = 0, */
    SQ_GSVS_RING_ITEMSIZE                                 = 0x00028904,
/* 	ITEMSIZE_mask                                     = 0x7fff << 0, */
/* 	ITEMSIZE_shift                                    = 0, */
    SQ_ESTMP_RING_ITEMSIZE                                = 0x00028908,
/* 	ITEMSIZE_mask                                     = 0x7fff << 0, */
/* 	ITEMSIZE_shift                                    = 0, */
    SQ_GSTMP_RING_ITEMSIZE                                = 0x0002890c,
/* 	ITEMSIZE_mask                                     = 0x7fff << 0, */
/* 	ITEMSIZE_shift                                    = 0, */
    SQ_VSTMP_RING_ITEMSIZE                                = 0x00028910,
/* 	ITEMSIZE_mask                                     = 0x7fff << 0, */
/* 	ITEMSIZE_shift                                    = 0, */
    SQ_PSTMP_RING_ITEMSIZE                                = 0x00028914,
/* 	ITEMSIZE_mask                                     = 0x7fff << 0, */
/* 	ITEMSIZE_shift                                    = 0, */
    SQ_GS_VERT_ITEMSIZE                                   = 0x0002891c,
/* 	ITEMSIZE_mask                                     = 0x7fff << 0, */
/* 	ITEMSIZE_shift                                    = 0, */
    SQ_GS_VERT_ITEMSIZE_1                                 = 0x00028920,
/* 	ITEMSIZE_mask                                     = 0x7fff << 0, */
/* 	ITEMSIZE_shift                                    = 0, */
    SQ_GS_VERT_ITEMSIZE_2                                 = 0x00028924,
/* 	ITEMSIZE_mask                                     = 0x7fff << 0, */
/* 	ITEMSIZE_shift                                    = 0, */
    SQ_GS_VERT_ITEMSIZE_3                                 = 0x00028928,
/* 	ITEMSIZE_mask                                     = 0x7fff << 0, */
/* 	ITEMSIZE_shift                                    = 0, */
    SQ_GSVS_RING_OFFSET_1                                 = 0x0002892c,
	SQ_GSVS_RING_OFFSET_1__OFFSET_mask                = 0x7fff << 0,
	SQ_GSVS_RING_OFFSET_1__OFFSET_shift               = 0,
    SQ_GSVS_RING_OFFSET_2                                 = 0x00028930,
	SQ_GSVS_RING_OFFSET_2__OFFSET_mask                = 0x7fff << 0,
	SQ_GSVS_RING_OFFSET_2__OFFSET_shift               = 0,
    SQ_GSVS_RING_OFFSET_3                                 = 0x00028934,
	SQ_GSVS_RING_OFFSET_3__OFFSET_mask                = 0x7fff << 0,
	SQ_GSVS_RING_OFFSET_3__OFFSET_shift               = 0,
    SQ_ALU_CONST_CACHE_PS_0                               = 0x00028940,
	SQ_ALU_CONST_CACHE_PS_0_num                       = 16,
    SQ_ALU_CONST_CACHE_VS_0                               = 0x00028980,
	SQ_ALU_CONST_CACHE_VS_0_num                       = 16,
    SQ_ALU_CONST_CACHE_GS_0                               = 0x000289c0,
	SQ_ALU_CONST_CACHE_GS_0_num                       = 16,
    PA_SU_POINT_SIZE                                      = 0x00028a00,
	HEIGHT_mask                                       = 0xffff << 0,
	HEIGHT_shift                                      = 0,
	PA_SU_POINT_SIZE__WIDTH_mask                      = 0xffff << 16,
	PA_SU_POINT_SIZE__WIDTH_shift                     = 16,
    PA_SU_POINT_MINMAX                                    = 0x00028a04,
	MIN_SIZE_mask                                     = 0xffff << 0,
	MIN_SIZE_shift                                    = 0,
	PA_SU_POINT_MINMAX__MAX_SIZE_mask                 = 0xffff << 16,
	PA_SU_POINT_MINMAX__MAX_SIZE_shift                = 16,
    PA_SU_LINE_CNTL                                       = 0x00028a08,
	PA_SU_LINE_CNTL__WIDTH_mask                       = 0xffff << 0,
	PA_SU_LINE_CNTL__WIDTH_shift                      = 0,
    PA_SC_LINE_STIPPLE                                    = 0x00028a0c,
	LINE_PATTERN_mask                                 = 0xffff << 0,
	LINE_PATTERN_shift                                = 0,
	REPEAT_COUNT_mask                                 = 0xff << 16,
	REPEAT_COUNT_shift                                = 16,
	PATTERN_BIT_ORDER_bit                             = 1 << 28,
	AUTO_RESET_CNTL_mask                              = 0x03 << 29,
	AUTO_RESET_CNTL_shift                             = 29,
    VGT_OUTPUT_PATH_CNTL                                  = 0x00028a10,
	PATH_SELECT_mask                                  = 0x07 << 0,
	PATH_SELECT_shift                                 = 0,
	    VGT_OUTPATH_VTX_REUSE                         = 0x00,
	    VGT_OUTPATH_TESS_EN                           = 0x01,
	    VGT_OUTPATH_PASSTHRU                          = 0x02,
	    VGT_OUTPATH_GS_BLOCK                          = 0x03,
	    VGT_OUTPATH_HS_BLOCK                          = 0x04,
    VGT_HOS_CNTL                                          = 0x00028a14,
	TESS_MODE_mask                                    = 0x03 << 0,
	TESS_MODE_shift                                   = 0,
    VGT_HOS_MAX_TESS_LEVEL                                = 0x00028a18,
    VGT_HOS_MIN_TESS_LEVEL                                = 0x00028a1c,
    VGT_HOS_REUSE_DEPTH                                   = 0x00028a20,
	REUSE_DEPTH_mask                                  = 0xff << 0,
	REUSE_DEPTH_shift                                 = 0,
    VGT_GROUP_PRIM_TYPE                                   = 0x00028a24,
	VGT_GROUP_PRIM_TYPE__PRIM_TYPE_mask               = 0x1f << 0,
	VGT_GROUP_PRIM_TYPE__PRIM_TYPE_shift              = 0,
	    VGT_GRP_3D_POINT                              = 0x00,
	    VGT_GRP_3D_LINE                               = 0x01,
	    VGT_GRP_3D_TRI                                = 0x02,
	    VGT_GRP_3D_RECT                               = 0x03,
	    VGT_GRP_3D_QUAD                               = 0x04,
	    VGT_GRP_2D_COPY_RECT_V0                       = 0x05,
	    VGT_GRP_2D_COPY_RECT_V1                       = 0x06,
	    VGT_GRP_2D_COPY_RECT_V2                       = 0x07,
	    VGT_GRP_2D_COPY_RECT_V3                       = 0x08,
	    VGT_GRP_2D_FILL_RECT                          = 0x09,
	    VGT_GRP_2D_LINE                               = 0x0a,
	    VGT_GRP_2D_TRI                                = 0x0b,
	    VGT_GRP_PRIM_INDEX_LINE                       = 0x0c,
	    VGT_GRP_PRIM_INDEX_TRI                        = 0x0d,
	    VGT_GRP_PRIM_INDEX_QUAD                       = 0x0e,
	    VGT_GRP_3D_LINE_ADJ                           = 0x0f,
	    VGT_GRP_3D_TRI_ADJ                            = 0x10,
	    VGT_GRP_3D_PATCH                              = 0x11,
	RETAIN_ORDER_bit                                  = 1 << 14,
	RETAIN_QUADS_bit                                  = 1 << 15,
	PRIM_ORDER_mask                                   = 0x07 << 16,
	PRIM_ORDER_shift                                  = 16,
	    VGT_GRP_LIST                                  = 0x00,
	    VGT_GRP_STRIP                                 = 0x01,
	    VGT_GRP_FAN                                   = 0x02,
	    VGT_GRP_LOOP                                  = 0x03,
	    VGT_GRP_POLYGON                               = 0x04,
    VGT_GROUP_FIRST_DECR                                  = 0x00028a28,
	FIRST_DECR_mask                                   = 0x0f << 0,
	FIRST_DECR_shift                                  = 0,
    VGT_GROUP_DECR                                        = 0x00028a2c,
	DECR_mask                                         = 0x0f << 0,
	DECR_shift                                        = 0,
    VGT_GROUP_VECT_0_CNTL                                 = 0x00028a30,
	COMP_X_EN_bit                                     = 1 << 0,
	COMP_Y_EN_bit                                     = 1 << 1,
	COMP_Z_EN_bit                                     = 1 << 2,
	COMP_W_EN_bit                                     = 1 << 3,
	VGT_GROUP_VECT_0_CNTL__STRIDE_mask                = 0xff << 8,
	VGT_GROUP_VECT_0_CNTL__STRIDE_shift               = 8,
	SHIFT_mask                                        = 0xff << 16,
	SHIFT_shift                                       = 16,
    VGT_GROUP_VECT_1_CNTL                                 = 0x00028a34,
/* 	COMP_X_EN_bit                                     = 1 << 0, */
/* 	COMP_Y_EN_bit                                     = 1 << 1, */
/* 	COMP_Z_EN_bit                                     = 1 << 2, */
/* 	COMP_W_EN_bit                                     = 1 << 3, */
	VGT_GROUP_VECT_1_CNTL__STRIDE_mask                = 0xff << 8,
	VGT_GROUP_VECT_1_CNTL__STRIDE_shift               = 8,
/* 	SHIFT_mask                                        = 0xff << 16, */
/* 	SHIFT_shift                                       = 16, */
    VGT_GROUP_VECT_0_FMT_CNTL                             = 0x00028a38,
	X_CONV_mask                                       = 0x0f << 0,
	X_CONV_shift                                      = 0,
	    VGT_GRP_INDEX_16                              = 0x00,
	    VGT_GRP_INDEX_32                              = 0x01,
	    VGT_GRP_UINT_16                               = 0x02,
	    VGT_GRP_UINT_32                               = 0x03,
	    VGT_GRP_SINT_16                               = 0x04,
	    VGT_GRP_SINT_32                               = 0x05,
	    VGT_GRP_FLOAT_32                              = 0x06,
	    VGT_GRP_AUTO_PRIM                             = 0x07,
	    VGT_GRP_FIX_1_23_TO_FLOAT                     = 0x08,
	X_OFFSET_mask                                     = 0x0f << 4,
	X_OFFSET_shift                                    = 4,
	Y_CONV_mask                                       = 0x0f << 8,
	Y_CONV_shift                                      = 8,
/* 	    VGT_GRP_INDEX_16                              = 0x00, */
/* 	    VGT_GRP_INDEX_32                              = 0x01, */
/* 	    VGT_GRP_UINT_16                               = 0x02, */
/* 	    VGT_GRP_UINT_32                               = 0x03, */
/* 	    VGT_GRP_SINT_16                               = 0x04, */
/* 	    VGT_GRP_SINT_32                               = 0x05, */
/* 	    VGT_GRP_FLOAT_32                              = 0x06, */
/* 	    VGT_GRP_AUTO_PRIM                             = 0x07, */
/* 	    VGT_GRP_FIX_1_23_TO_FLOAT                     = 0x08, */
	Y_OFFSET_mask                                     = 0x0f << 12,
	Y_OFFSET_shift                                    = 12,
	Z_CONV_mask                                       = 0x0f << 16,
	Z_CONV_shift                                      = 16,
/* 	    VGT_GRP_INDEX_16                              = 0x00, */
/* 	    VGT_GRP_INDEX_32                              = 0x01, */
/* 	    VGT_GRP_UINT_16                               = 0x02, */
/* 	    VGT_GRP_UINT_32                               = 0x03, */
/* 	    VGT_GRP_SINT_16                               = 0x04, */
/* 	    VGT_GRP_SINT_32                               = 0x05, */
/* 	    VGT_GRP_FLOAT_32                              = 0x06, */
/* 	    VGT_GRP_AUTO_PRIM                             = 0x07, */
/* 	    VGT_GRP_FIX_1_23_TO_FLOAT                     = 0x08, */
	Z_OFFSET_mask                                     = 0x0f << 20,
	Z_OFFSET_shift                                    = 20,
	W_CONV_mask                                       = 0x0f << 24,
	W_CONV_shift                                      = 24,
/* 	    VGT_GRP_INDEX_16                              = 0x00, */
/* 	    VGT_GRP_INDEX_32                              = 0x01, */
/* 	    VGT_GRP_UINT_16                               = 0x02, */
/* 	    VGT_GRP_UINT_32                               = 0x03, */
/* 	    VGT_GRP_SINT_16                               = 0x04, */
/* 	    VGT_GRP_SINT_32                               = 0x05, */
/* 	    VGT_GRP_FLOAT_32                              = 0x06, */
/* 	    VGT_GRP_AUTO_PRIM                             = 0x07, */
/* 	    VGT_GRP_FIX_1_23_TO_FLOAT                     = 0x08, */
	W_OFFSET_mask                                     = 0x0f << 28,
	W_OFFSET_shift                                    = 28,
    VGT_GROUP_VECT_1_FMT_CNTL                             = 0x00028a3c,
/* 	X_CONV_mask                                       = 0x0f << 0, */
/* 	X_CONV_shift                                      = 0, */
/* 	    VGT_GRP_INDEX_16                              = 0x00, */
/* 	    VGT_GRP_INDEX_32                              = 0x01, */
/* 	    VGT_GRP_UINT_16                               = 0x02, */
/* 	    VGT_GRP_UINT_32                               = 0x03, */
/* 	    VGT_GRP_SINT_16                               = 0x04, */
/* 	    VGT_GRP_SINT_32                               = 0x05, */
/* 	    VGT_GRP_FLOAT_32                              = 0x06, */
/* 	    VGT_GRP_AUTO_PRIM                             = 0x07, */
/* 	    VGT_GRP_FIX_1_23_TO_FLOAT                     = 0x08, */
/* 	X_OFFSET_mask                                     = 0x0f << 4, */
/* 	X_OFFSET_shift                                    = 4, */
/* 	Y_CONV_mask                                       = 0x0f << 8, */
/* 	Y_CONV_shift                                      = 8, */
/* 	    VGT_GRP_INDEX_16                              = 0x00, */
/* 	    VGT_GRP_INDEX_32                              = 0x01, */
/* 	    VGT_GRP_UINT_16                               = 0x02, */
/* 	    VGT_GRP_UINT_32                               = 0x03, */
/* 	    VGT_GRP_SINT_16                               = 0x04, */
/* 	    VGT_GRP_SINT_32                               = 0x05, */
/* 	    VGT_GRP_FLOAT_32                              = 0x06, */
/* 	    VGT_GRP_AUTO_PRIM                             = 0x07, */
/* 	    VGT_GRP_FIX_1_23_TO_FLOAT                     = 0x08, */
/* 	Y_OFFSET_mask                                     = 0x0f << 12, */
/* 	Y_OFFSET_shift                                    = 12, */
/* 	Z_CONV_mask                                       = 0x0f << 16, */
/* 	Z_CONV_shift                                      = 16, */
/* 	    VGT_GRP_INDEX_16                              = 0x00, */
/* 	    VGT_GRP_INDEX_32                              = 0x01, */
/* 	    VGT_GRP_UINT_16                               = 0x02, */
/* 	    VGT_GRP_UINT_32                               = 0x03, */
/* 	    VGT_GRP_SINT_16                               = 0x04, */
/* 	    VGT_GRP_SINT_32                               = 0x05, */
/* 	    VGT_GRP_FLOAT_32                              = 0x06, */
/* 	    VGT_GRP_AUTO_PRIM                             = 0x07, */
/* 	    VGT_GRP_FIX_1_23_TO_FLOAT                     = 0x08, */
/* 	Z_OFFSET_mask                                     = 0x0f << 20, */
/* 	Z_OFFSET_shift                                    = 20, */
/* 	W_CONV_mask                                       = 0x0f << 24, */
/* 	W_CONV_shift                                      = 24, */
/* 	    VGT_GRP_INDEX_16                              = 0x00, */
/* 	    VGT_GRP_INDEX_32                              = 0x01, */
/* 	    VGT_GRP_UINT_16                               = 0x02, */
/* 	    VGT_GRP_UINT_32                               = 0x03, */
/* 	    VGT_GRP_SINT_16                               = 0x04, */
/* 	    VGT_GRP_SINT_32                               = 0x05, */
/* 	    VGT_GRP_FLOAT_32                              = 0x06, */
/* 	    VGT_GRP_AUTO_PRIM                             = 0x07, */
/* 	    VGT_GRP_FIX_1_23_TO_FLOAT                     = 0x08, */
/* 	W_OFFSET_mask                                     = 0x0f << 28, */
/* 	W_OFFSET_shift                                    = 28, */
    VGT_GS_MODE                                           = 0x00028a40,
	VGT_GS_MODE__MODE_mask                            = 0x03 << 0,
	VGT_GS_MODE__MODE_shift                           = 0,
	    GS_OFF                                        = 0x00,
	    GS_SCENARIO_A                                 = 0x01,
	    GS_SCENARIO_B                                 = 0x02,
	    GS_SCENARIO_G                                 = 0x03,
	    GS_SCENARIO_C                                 = 0x04,
	    SPRITE_EN                                     = 0x05,
	ES_PASSTHRU_bit                                   = 1 << 2,
	CUT_MODE_mask                                     = 0x03 << 3,
	CUT_MODE_shift                                    = 3,
	    GS_CUT_1024                                   = 0x00,
	    GS_CUT_512                                    = 0x01,
	    GS_CUT_256                                    = 0x02,
	    GS_CUT_128                                    = 0x03,
	MODE_HI_bit                                       = 1 << 8,
    PA_SC_MODE_CNTL_0                                     = 0x00028a48,
	MSAA_ENABLE_bit                                   = 1 << 0,
	VPORT_SCISSOR_ENABLE_bit                          = 1 << 1,
	LINE_STIPPLE_ENABLE_bit                           = 1 << 2,
    VGT_ENHANCE                                           = 0x00028a50,
    VGT_GS_PER_ES                                         = 0x00028a54,
	GS_PER_ES_mask                                    = 0x7ff << 0,
	GS_PER_ES_shift                                   = 0,
    VGT_ES_PER_GS                                         = 0x00028a58,
	ES_PER_GS_mask                                    = 0x7ff << 0,
	ES_PER_GS_shift                                   = 0,
    VGT_GS_PER_VS                                         = 0x00028a5c,
	GS_PER_VS_mask                                    = 0x0f << 0,
	GS_PER_VS_shift                                   = 0,
    VGT_GS_OUT_PRIM_TYPE                                  = 0x00028a6c,
	OUTPRIM_TYPE_mask                                 = 0x3f << 0,
	OUTPRIM_TYPE_shift                                = 0,
	    POINTLIST                                     = 0x00,
	    LINESTRIP                                     = 0x01,
	    TRISTRIP                                      = 0x02,
    VGT_DMA_SIZE                                          = 0x00028a74,
    VGT_DMA_MAX_SIZE                                      = 0x00028a78,
    VGT_DMA_INDEX_TYPE                                    = 0x00028a7c,
/* 	INDEX_TYPE_mask                                   = 0x03 << 0, */
/* 	INDEX_TYPE_shift                                  = 0, */
	    VGT_INDEX_16                                  = 0x00,
	    VGT_INDEX_32                                  = 0x01,
	SWAP_MODE_mask                                    = 0x03 << 2,
	SWAP_MODE_shift                                   = 2,
	    VGT_DMA_SWAP_NONE                             = 0x00,
	    VGT_DMA_SWAP_16_BIT                           = 0x01,
	    VGT_DMA_SWAP_32_BIT                           = 0x02,
	    VGT_DMA_SWAP_WORD                             = 0x03,
    VGT_PRIMITIVEID_EN                                    = 0x00028a84,
	PRIMITIVEID_EN_bit                                = 1 << 0,
    VGT_DMA_NUM_INSTANCES                                 = 0x00028a88,
    VGT_EVENT_INITIATOR                                   = 0x00028a90,
	EVENT_TYPE_mask                                   = 0x3f << 0,
	EVENT_TYPE_shift                                  = 0,
	    SAMPLE_STREAMOUTSTATS1                        = 0x01,
	    SAMPLE_STREAMOUTSTATS2                        = 0x02,
	    SAMPLE_STREAMOUTSTATS3                        = 0x03,
	    CACHE_FLUSH_TS                                = 0x04,
	    CONTEXT_DONE                                  = 0x05,
	    CACHE_FLUSH                                   = 0x06,
	    CS_PARTIAL_FLUSH                              = 0x07,
	    RST_PIX_CNT                                   = 0x0d,
	    VS_PARTIAL_FLUSH                              = 0x0f,
	    PS_PARTIAL_FLUSH                              = 0x10,
	    FLUSH_HS_OUTPUT                               = 0x11,
	    FLUSH_LS_OUTPUT                               = 0x12,
	    CACHE_FLUSH_AND_INV_TS_EVENT                  = 0x14,
	    ZPASS_DONE                                    = 0x15,
	    CACHE_FLUSH_AND_INV_EVENT                     = 0x16,
	    PERFCOUNTER_START                             = 0x17,
	    PERFCOUNTER_STOP                              = 0x18,
	    PIPELINESTAT_START                            = 0x19,
	    PIPELINESTAT_STOP                             = 0x1a,
	    PERFCOUNTER_SAMPLE                            = 0x1b,
	    FLUSH_ES_OUTPUT                               = 0x1c,
	    FLUSH_GS_OUTPUT                               = 0x1d,
	    SAMPLE_PIPELINESTAT                           = 0x1e,
	    SO_VGTSTREAMOUT_FLUSH                         = 0x1f,
	    SAMPLE_STREAMOUTSTATS                         = 0x20,
	    RESET_VTX_CNT                                 = 0x21,
	    BLOCK_CONTEXT_DONE                            = 0x22,
	    CS_CONTEXT_DONE                               = 0x23,
	    VGT_FLUSH                                     = 0x24,
	    SQ_NON_EVENT                                  = 0x26,
	    SC_SEND_DB_VPZ                                = 0x27,
	    BOTTOM_OF_PIPE_TS                             = 0x28,
	    FLUSH_SX_TS                                   = 0x29,
	    DB_CACHE_FLUSH_AND_INV                        = 0x2a,
	    FLUSH_AND_INV_DB_DATA_TS                      = 0x2b,
	    FLUSH_AND_INV_DB_META                         = 0x2c,
	    FLUSH_AND_INV_CB_DATA_TS                      = 0x2d,
	    FLUSH_AND_INV_CB_META                         = 0x2e,
	    CS_DONE                                       = 0x2f,
	    PS_DONE                                       = 0x30,
	    FLUSH_AND_INV_CB_PIXEL_DATA                   = 0x31,
	ADDRESS_HI_mask                                   = 0xff << 19,
	ADDRESS_HI_shift                                  = 19,
	EXTENDED_EVENT_bit                                = 1 << 27,
    VGT_MULTI_PRIM_IB_RESET_EN                            = 0x00028a94,
	RESET_EN_bit                                      = 1 << 0,
    VGT_INSTANCE_STEP_RATE_0                              = 0x00028aa0,
    VGT_INSTANCE_STEP_RATE_1                              = 0x00028aa4,
    VGT_REUSE_OFF                                         = 0x00028ab4,
	REUSE_OFF_bit                                     = 1 << 0,
    VGT_VTX_CNT_EN                                        = 0x00028ab8,
	VTX_CNT_EN_bit                                    = 1 << 0,
    DB_HTILE_SURFACE                                      = 0x00028abc,
	HTILE_WIDTH_bit                                   = 1 << 0,
	HTILE_HEIGHT_bit                                  = 1 << 1,
	LINEAR_bit                                        = 1 << 2,
	FULL_CACHE_bit                                    = 1 << 3,
	HTILE_USES_PRELOAD_WIN_bit                        = 1 << 4,
	PRELOAD_bit                                       = 1 << 5,
	PREFETCH_WIDTH_mask                               = 0x3f << 6,
	PREFETCH_WIDTH_shift                              = 6,
	PREFETCH_HEIGHT_mask                              = 0x3f << 12,
	PREFETCH_HEIGHT_shift                             = 12,
    DB_SRESULTS_COMPARE_STATE0                            = 0x00028ac0,
	COMPAREFUNC0_mask                                 = 0x07 << 0,
	COMPAREFUNC0_shift                                = 0,
/* 	    REF_NEVER                                     = 0x00, */
/* 	    REF_LESS                                      = 0x01, */
/* 	    REF_EQUAL                                     = 0x02, */
/* 	    REF_LEQUAL                                    = 0x03, */
/* 	    REF_GREATER                                   = 0x04, */
/* 	    REF_NOTEQUAL                                  = 0x05, */
/* 	    REF_GEQUAL                                    = 0x06, */
/* 	    REF_ALWAYS                                    = 0x07, */
	COMPAREVALUE0_mask                                = 0xff << 4,
	COMPAREVALUE0_shift                               = 4,
	COMPAREMASK0_mask                                 = 0xff << 12,
	COMPAREMASK0_shift                                = 12,
	ENABLE0_bit                                       = 1 << 24,
    DB_SRESULTS_COMPARE_STATE1                            = 0x00028ac4,
	COMPAREFUNC1_mask                                 = 0x07 << 0,
	COMPAREFUNC1_shift                                = 0,
/* 	    REF_NEVER                                     = 0x00, */
/* 	    REF_LESS                                      = 0x01, */
/* 	    REF_EQUAL                                     = 0x02, */
/* 	    REF_LEQUAL                                    = 0x03, */
/* 	    REF_GREATER                                   = 0x04, */
/* 	    REF_NOTEQUAL                                  = 0x05, */
/* 	    REF_GEQUAL                                    = 0x06, */
/* 	    REF_ALWAYS                                    = 0x07, */
	COMPAREVALUE1_mask                                = 0xff << 4,
	COMPAREVALUE1_shift                               = 4,
	COMPAREMASK1_mask                                 = 0xff << 12,
	COMPAREMASK1_shift                                = 12,
	ENABLE1_bit                                       = 1 << 24,
    DB_PRELOAD_CONTROL                                    = 0x00028ac8,
	START_X_mask                                      = 0xff << 0,
	START_X_shift                                     = 0,
	START_Y_mask                                      = 0xff << 8,
	START_Y_shift                                     = 8,
	MAX_X_mask                                        = 0xff << 16,
	MAX_X_shift                                       = 16,
	MAX_Y_mask                                        = 0xff << 24,
	MAX_Y_shift                                       = 24,
    VGT_STRMOUT_BUFFER_SIZE_0                             = 0x00028ad0,
    VGT_STRMOUT_VTX_STRIDE_0                              = 0x00028ad4,
	VGT_STRMOUT_VTX_STRIDE_0__STRIDE_mask             = 0x3ff << 0,
	VGT_STRMOUT_VTX_STRIDE_0__STRIDE_shift            = 0,
    VGT_STRMOUT_BUFFER_BASE_0                             = 0x00028ad8,
    VGT_STRMOUT_BUFFER_OFFSET_0                           = 0x00028adc,
    VGT_STRMOUT_BUFFER_SIZE_1                             = 0x00028ae0,
    VGT_STRMOUT_VTX_STRIDE_1                              = 0x00028ae4,
	VGT_STRMOUT_VTX_STRIDE_1__STRIDE_mask             = 0x3ff << 0,
	VGT_STRMOUT_VTX_STRIDE_1__STRIDE_shift            = 0,
    VGT_STRMOUT_BUFFER_BASE_1                             = 0x00028ae8,
    VGT_STRMOUT_BUFFER_OFFSET_1                           = 0x00028aec,
    VGT_STRMOUT_BUFFER_SIZE_2                             = 0x00028af0,
    VGT_STRMOUT_VTX_STRIDE_2                              = 0x00028af4,
	VGT_STRMOUT_VTX_STRIDE_2__STRIDE_mask             = 0x3ff << 0,
	VGT_STRMOUT_VTX_STRIDE_2__STRIDE_shift            = 0,
    VGT_STRMOUT_BUFFER_BASE_2                             = 0x00028af8,
    VGT_STRMOUT_BUFFER_OFFSET_2                           = 0x00028afc,
    VGT_STRMOUT_BUFFER_SIZE_3                             = 0x00028b00,
    VGT_STRMOUT_VTX_STRIDE_3                              = 0x00028b04,
	VGT_STRMOUT_VTX_STRIDE_3__STRIDE_mask             = 0x3ff << 0,
	VGT_STRMOUT_VTX_STRIDE_3__STRIDE_shift            = 0,
    VGT_STRMOUT_BUFFER_BASE_3                             = 0x00028b08,
    VGT_STRMOUT_BUFFER_OFFSET_3                           = 0x00028b0c,
    VGT_STRMOUT_BASE_OFFSET_0                             = 0x00028b10,
    VGT_STRMOUT_BASE_OFFSET_1                             = 0x00028b14,
    VGT_STRMOUT_BASE_OFFSET_2                             = 0x00028b18,
    VGT_STRMOUT_BASE_OFFSET_3                             = 0x00028b1c,
    VGT_STRMOUT_DRAW_OPAQUE_OFFSET                        = 0x00028b28,
    VGT_STRMOUT_DRAW_OPAQUE_BUFFER_FILLED_SIZE            = 0x00028b2c,
    VGT_STRMOUT_DRAW_OPAQUE_VERTEX_STRIDE                 = 0x00028b30,
	VERTEX_STRIDE_mask                                = 0x1ff << 0,
	VERTEX_STRIDE_shift                               = 0,
    VGT_GS_MAX_VERT_OUT                                   = 0x00028b38,
	MAX_VERT_OUT_mask                                 = 0x7ff << 0,
	MAX_VERT_OUT_shift                                = 0,
    VGT_STRMOUT_BASE_OFFSET_HI_0                          = 0x00028b44,
	VGT_STRMOUT_BASE_OFFSET_HI_0__BASE_OFFSET_mask    = 0x3f << 0,
	VGT_STRMOUT_BASE_OFFSET_HI_0__BASE_OFFSET_shift   = 0,
    VGT_STRMOUT_BASE_OFFSET_HI_1                          = 0x00028b48,
	VGT_STRMOUT_BASE_OFFSET_HI_1__BASE_OFFSET_mask    = 0x3f << 0,
	VGT_STRMOUT_BASE_OFFSET_HI_1__BASE_OFFSET_shift   = 0,
    VGT_STRMOUT_BASE_OFFSET_HI_2                          = 0x00028b4c,
	VGT_STRMOUT_BASE_OFFSET_HI_2__BASE_OFFSET_mask    = 0x3f << 0,
	VGT_STRMOUT_BASE_OFFSET_HI_2__BASE_OFFSET_shift   = 0,
    VGT_STRMOUT_BASE_OFFSET_HI_3                          = 0x00028b50,
	VGT_STRMOUT_BASE_OFFSET_HI_3__BASE_OFFSET_mask    = 0x3f << 0,
	VGT_STRMOUT_BASE_OFFSET_HI_3__BASE_OFFSET_shift   = 0,
    VGT_SHADER_STAGES_EN                                  = 0x00028b54,
	LS_EN_mask                                        = 0x03 << 0,
	LS_EN_shift                                       = 0,
	    LS_STAGE_OFF                                  = 0x00,
	    LS_STAGE_ON                                   = 0x01,
	    CS_STAGE_ON                                   = 0x02,
	HS_EN_bit                                         = 1 << 2,
	ES_EN_mask                                        = 0x03 << 3,
	ES_EN_shift                                       = 3,
	    ES_STAGE_OFF                                  = 0x00,
	    ES_STAGE_DS                                   = 0x01,
	    ES_STAGE_REAL                                 = 0x02,
	GS_EN_bit                                         = 1 << 5,
	VS_EN_mask                                        = 0x03 << 6,
	VS_EN_shift                                       = 6,
	    VS_STAGE_REAL                                 = 0x00,
	    VS_STAGE_DS                                   = 0x01,
	    VS_STAGE_COPY_SHADER                          = 0x02,
    VGT_LS_HS_CONFIG                                      = 0x00028b58,
	NUM_PATCHES_mask                                  = 0xff << 0,
	NUM_PATCHES_shift                                 = 0,
	HS_NUM_INPUT_CP_mask                              = 0x3f << 8,
	HS_NUM_INPUT_CP_shift                             = 8,
	HS_NUM_OUTPUT_CP_mask                             = 0x3f << 14,
	HS_NUM_OUTPUT_CP_shift                            = 14,
    VGT_LS_SIZE                                           = 0x00028b5c,
	VGT_LS_SIZE__SIZE_mask                            = 0xff << 0,
	VGT_LS_SIZE__SIZE_shift                           = 0,
	PATCH_CP_SIZE_mask                                = 0x1fff << 8,
	PATCH_CP_SIZE_shift                               = 8,
    VGT_HS_SIZE                                           = 0x00028b60,
	VGT_HS_SIZE__SIZE_mask                            = 0xff << 0,
	VGT_HS_SIZE__SIZE_shift                           = 0,
/* 	PATCH_CP_SIZE_mask                                = 0x1fff << 8, */
/* 	PATCH_CP_SIZE_shift                               = 8, */
    VGT_LS_HS_ALLOC                                       = 0x00028b64,
	HS_TOTAL_OUTPUT_mask                              = 0x1fff << 0,
	HS_TOTAL_OUTPUT_shift                             = 0,
	LS_HS_TOTAL_OUTPUT_mask                           = 0x1fff << 13,
	LS_HS_TOTAL_OUTPUT_shift                          = 13,
    VGT_HS_PATCH_CONST                                    = 0x00028b68,
	VGT_HS_PATCH_CONST__SIZE_mask                     = 0x1fff << 0,
	VGT_HS_PATCH_CONST__SIZE_shift                    = 0,
	VGT_HS_PATCH_CONST__STRIDE_mask                   = 0x1fff << 13,
	VGT_HS_PATCH_CONST__STRIDE_shift                  = 13,
    DB_ALPHA_TO_MASK                                      = 0x00028b70,
	ALPHA_TO_MASK_ENABLE_bit                          = 1 << 0,
	ALPHA_TO_MASK_OFFSET0_mask                        = 0x03 << 8,
	ALPHA_TO_MASK_OFFSET0_shift                       = 8,
	ALPHA_TO_MASK_OFFSET1_mask                        = 0x03 << 10,
	ALPHA_TO_MASK_OFFSET1_shift                       = 10,
	ALPHA_TO_MASK_OFFSET2_mask                        = 0x03 << 12,
	ALPHA_TO_MASK_OFFSET2_shift                       = 12,
	ALPHA_TO_MASK_OFFSET3_mask                        = 0x03 << 14,
	ALPHA_TO_MASK_OFFSET3_shift                       = 14,
	OFFSET_ROUND_bit                                  = 1 << 16,
    PA_SU_POLY_OFFSET_DB_FMT_CNTL                         = 0x00028b78,
	POLY_OFFSET_NEG_NUM_DB_BITS_mask                  = 0xff << 0,
	POLY_OFFSET_NEG_NUM_DB_BITS_shift                 = 0,
	POLY_OFFSET_DB_IS_FLOAT_FMT_bit                   = 1 << 8,
    PA_SU_POLY_OFFSET_CLAMP                               = 0x00028b7c,
    PA_SU_POLY_OFFSET_FRONT_SCALE                         = 0x00028b80,
    PA_SU_POLY_OFFSET_FRONT_OFFSET                        = 0x00028b84,
    PA_SU_POLY_OFFSET_BACK_SCALE                          = 0x00028b88,
    PA_SU_POLY_OFFSET_BACK_OFFSET                         = 0x00028b8c,
    VGT_GS_INSTANCE_CNT                                   = 0x00028b90,
	VGT_GS_INSTANCE_CNT__ENABLE_bit                   = 1 << 0,
	CNT_mask                                          = 0x7f << 2,
	CNT_shift                                         = 2,
    VGT_STRMOUT_CONFIG                                    = 0x00028b94,
	STREAMOUT_0_EN_bit                                = 1 << 0,
	STREAMOUT_1_EN_bit                                = 1 << 1,
	STREAMOUT_2_EN_bit                                = 1 << 2,
	STREAMOUT_3_EN_bit                                = 1 << 3,
	RAST_STREAM_mask                                  = 0x07 << 4,
	RAST_STREAM_shift                                 = 4,
    VGT_STRMOUT_BUFFER_CONFIG                             = 0x00028b98,
	STREAM_0_BUFFER_EN_mask                           = 0x0f << 0,
	STREAM_0_BUFFER_EN_shift                          = 0,
	STREAM_1_BUFFER_EN_mask                           = 0x0f << 4,
	STREAM_1_BUFFER_EN_shift                          = 4,
	STREAM_2_BUFFER_EN_mask                           = 0x0f << 8,
	STREAM_2_BUFFER_EN_shift                          = 8,
	STREAM_3_BUFFER_EN_mask                           = 0x0f << 12,
	STREAM_3_BUFFER_EN_shift                          = 12,
    CB_IMMED0_BASE                                        = 0x00028b9c,
	CB_IMMED0_BASE_num                                = 12,
    PA_SC_LINE_CNTL                                       = 0x00028c00,
	EXPAND_LINE_WIDTH_bit                             = 1 << 9,
	LAST_PIXEL_bit                                    = 1 << 10,
	PERPENDICULAR_ENDCAP_ENA_bit                      = 1 << 11,
	DX10_DIAMOND_TEST_ENA_bit                         = 1 << 12,
    PA_SC_AA_CONFIG                                       = 0x00028c04,
	MSAA_NUM_SAMPLES_mask                             = 0x03 << 0,
	MSAA_NUM_SAMPLES_shift                            = 0,
	AA_MASK_CENTROID_DTMN_bit                         = 1 << 4,
	MAX_SAMPLE_DIST_mask                              = 0x0f << 13,
	MAX_SAMPLE_DIST_shift                             = 13,
    PA_SU_VTX_CNTL                                        = 0x00028c08,
	PIX_CENTER_bit                                    = 1 << 0,
	PA_SU_VTX_CNTL__ROUND_MODE_mask                   = 0x03 << 1,
	PA_SU_VTX_CNTL__ROUND_MODE_shift                  = 1,
	    X_TRUNCATE                                    = 0x00,
	    X_ROUND                                       = 0x01,
	    X_ROUND_TO_EVEN                               = 0x02,
	    X_ROUND_TO_ODD                                = 0x03,
	QUANT_MODE_mask                                   = 0x07 << 3,
	QUANT_MODE_shift                                  = 3,
	    X_1_16TH                                      = 0x00,
	    X_1_8TH                                       = 0x01,
	    X_1_4TH                                       = 0x02,
	    X_1_2                                         = 0x03,
	    X_1                                           = 0x04,
	    X_1_256TH                                     = 0x05,
	    X_1_1024TH                                    = 0x06,
	    X_1_4096TH                                    = 0x07,
    PA_CL_GB_VERT_CLIP_ADJ                                = 0x00028c0c,
    PA_CL_GB_VERT_DISC_ADJ                                = 0x00028c10,
    PA_CL_GB_HORZ_CLIP_ADJ                                = 0x00028c14,
    PA_CL_GB_HORZ_DISC_ADJ                                = 0x00028c18,
    PA_SC_AA_SAMPLE_LOCS_0                                = 0x00028c1c,
	S0_X_mask                                         = 0x0f << 0,
	S0_X_shift                                        = 0,
	S0_Y_mask                                         = 0x0f << 4,
	S0_Y_shift                                        = 4,
	S1_X_mask                                         = 0x0f << 8,
	S1_X_shift                                        = 8,
	S1_Y_mask                                         = 0x0f << 12,
	S1_Y_shift                                        = 12,
	S2_X_mask                                         = 0x0f << 16,
	S2_X_shift                                        = 16,
	S2_Y_mask                                         = 0x0f << 20,
	S2_Y_shift                                        = 20,
	S3_X_mask                                         = 0x0f << 24,
	S3_X_shift                                        = 24,
	S3_Y_mask                                         = 0x0f << 28,
	S3_Y_shift                                        = 28,
    PA_SC_AA_SAMPLE_LOCS_1                                = 0x00028c20,
/* 	S0_X_mask                                         = 0x0f << 0, */
/* 	S0_X_shift                                        = 0, */
/* 	S0_Y_mask                                         = 0x0f << 4, */
/* 	S0_Y_shift                                        = 4, */
/* 	S1_X_mask                                         = 0x0f << 8, */
/* 	S1_X_shift                                        = 8, */
/* 	S1_Y_mask                                         = 0x0f << 12, */
/* 	S1_Y_shift                                        = 12, */
/* 	S2_X_mask                                         = 0x0f << 16, */
/* 	S2_X_shift                                        = 16, */
/* 	S2_Y_mask                                         = 0x0f << 20, */
/* 	S2_Y_shift                                        = 20, */
/* 	S3_X_mask                                         = 0x0f << 24, */
/* 	S3_X_shift                                        = 24, */
/* 	S3_Y_mask                                         = 0x0f << 28, */
/* 	S3_Y_shift                                        = 28, */
    PA_SC_AA_SAMPLE_LOCS_2                                = 0x00028c24,
/* 	S0_X_mask                                         = 0x0f << 0, */
/* 	S0_X_shift                                        = 0, */
/* 	S0_Y_mask                                         = 0x0f << 4, */
/* 	S0_Y_shift                                        = 4, */
/* 	S1_X_mask                                         = 0x0f << 8, */
/* 	S1_X_shift                                        = 8, */
/* 	S1_Y_mask                                         = 0x0f << 12, */
/* 	S1_Y_shift                                        = 12, */
/* 	S2_X_mask                                         = 0x0f << 16, */
/* 	S2_X_shift                                        = 16, */
/* 	S2_Y_mask                                         = 0x0f << 20, */
/* 	S2_Y_shift                                        = 20, */
/* 	S3_X_mask                                         = 0x0f << 24, */
/* 	S3_X_shift                                        = 24, */
/* 	S3_Y_mask                                         = 0x0f << 28, */
/* 	S3_Y_shift                                        = 28, */
    PA_SC_AA_SAMPLE_LOCS_3                                = 0x00028c28,
/* 	S0_X_mask                                         = 0x0f << 0, */
/* 	S0_X_shift                                        = 0, */
/* 	S0_Y_mask                                         = 0x0f << 4, */
/* 	S0_Y_shift                                        = 4, */
/* 	S1_X_mask                                         = 0x0f << 8, */
/* 	S1_X_shift                                        = 8, */
/* 	S1_Y_mask                                         = 0x0f << 12, */
/* 	S1_Y_shift                                        = 12, */
/* 	S2_X_mask                                         = 0x0f << 16, */
/* 	S2_X_shift                                        = 16, */
/* 	S2_Y_mask                                         = 0x0f << 20, */
/* 	S2_Y_shift                                        = 20, */
/* 	S3_X_mask                                         = 0x0f << 24, */
/* 	S3_X_shift                                        = 24, */
/* 	S3_Y_mask                                         = 0x0f << 28, */
/* 	S3_Y_shift                                        = 28, */
    PA_SC_AA_SAMPLE_LOCS_4                                = 0x00028c2c,
/* 	S0_X_mask                                         = 0x0f << 0, */
/* 	S0_X_shift                                        = 0, */
/* 	S0_Y_mask                                         = 0x0f << 4, */
/* 	S0_Y_shift                                        = 4, */
/* 	S1_X_mask                                         = 0x0f << 8, */
/* 	S1_X_shift                                        = 8, */
/* 	S1_Y_mask                                         = 0x0f << 12, */
/* 	S1_Y_shift                                        = 12, */
/* 	S2_X_mask                                         = 0x0f << 16, */
/* 	S2_X_shift                                        = 16, */
/* 	S2_Y_mask                                         = 0x0f << 20, */
/* 	S2_Y_shift                                        = 20, */
/* 	S3_X_mask                                         = 0x0f << 24, */
/* 	S3_X_shift                                        = 24, */
/* 	S3_Y_mask                                         = 0x0f << 28, */
/* 	S3_Y_shift                                        = 28, */
    PA_SC_AA_SAMPLE_LOCS_5                                = 0x00028c30,
/* 	S0_X_mask                                         = 0x0f << 0, */
/* 	S0_X_shift                                        = 0, */
/* 	S0_Y_mask                                         = 0x0f << 4, */
/* 	S0_Y_shift                                        = 4, */
/* 	S1_X_mask                                         = 0x0f << 8, */
/* 	S1_X_shift                                        = 8, */
/* 	S1_Y_mask                                         = 0x0f << 12, */
/* 	S1_Y_shift                                        = 12, */
/* 	S2_X_mask                                         = 0x0f << 16, */
/* 	S2_X_shift                                        = 16, */
/* 	S2_Y_mask                                         = 0x0f << 20, */
/* 	S2_Y_shift                                        = 20, */
/* 	S3_X_mask                                         = 0x0f << 24, */
/* 	S3_X_shift                                        = 24, */
/* 	S3_Y_mask                                         = 0x0f << 28, */
/* 	S3_Y_shift                                        = 28, */
    PA_SC_AA_SAMPLE_LOCS_6                                = 0x00028c34,
/* 	S0_X_mask                                         = 0x0f << 0, */
/* 	S0_X_shift                                        = 0, */
/* 	S0_Y_mask                                         = 0x0f << 4, */
/* 	S0_Y_shift                                        = 4, */
/* 	S1_X_mask                                         = 0x0f << 8, */
/* 	S1_X_shift                                        = 8, */
/* 	S1_Y_mask                                         = 0x0f << 12, */
/* 	S1_Y_shift                                        = 12, */
/* 	S2_X_mask                                         = 0x0f << 16, */
/* 	S2_X_shift                                        = 16, */
/* 	S2_Y_mask                                         = 0x0f << 20, */
/* 	S2_Y_shift                                        = 20, */
/* 	S3_X_mask                                         = 0x0f << 24, */
/* 	S3_X_shift                                        = 24, */
/* 	S3_Y_mask                                         = 0x0f << 28, */
/* 	S3_Y_shift                                        = 28, */
    PA_SC_AA_SAMPLE_LOCS_7                                = 0x00028c38,
/* 	S0_X_mask                                         = 0x0f << 0, */
/* 	S0_X_shift                                        = 0, */
/* 	S0_Y_mask                                         = 0x0f << 4, */
/* 	S0_Y_shift                                        = 4, */
/* 	S1_X_mask                                         = 0x0f << 8, */
/* 	S1_X_shift                                        = 8, */
/* 	S1_Y_mask                                         = 0x0f << 12, */
/* 	S1_Y_shift                                        = 12, */
/* 	S2_X_mask                                         = 0x0f << 16, */
/* 	S2_X_shift                                        = 16, */
/* 	S2_Y_mask                                         = 0x0f << 20, */
/* 	S2_Y_shift                                        = 20, */
/* 	S3_X_mask                                         = 0x0f << 24, */
/* 	S3_X_shift                                        = 24, */
/* 	S3_Y_mask                                         = 0x0f << 28, */
/* 	S3_Y_shift                                        = 28, */
    PA_SC_AA_MASK                                         = 0x00028c3c,
    VGT_VERTEX_REUSE_BLOCK_CNTL                           = 0x00028c58,
	VTX_REUSE_DEPTH_mask                              = 0xff << 0,
	VTX_REUSE_DEPTH_shift                             = 0,
    VGT_OUT_DEALLOC_CNTL                                  = 0x00028c5c,
	DEALLOC_DIST_mask                                 = 0x7f << 0,
	DEALLOC_DIST_shift                                = 0,
    CB_COLOR0_BASE                                        = 0x00028c60,
	CB_COLOR0_BASE_num                                = 12,
	CB_COLOR0_BASE_offset                             = 51,
    CB_COLOR0_PITCH                                       = 0x00028c64,
	CB_COLOR0_PITCH_num                               = 12,
	CB_COLOR0_PITCH_offset                            = 51,
	CB_COLOR0_PITCH__TILE_MAX_mask                    = 0x7ff << 0,
	CB_COLOR0_PITCH__TILE_MAX_shift                   = 0,
    CB_COLOR0_SLICE                                       = 0x00028c68,
	CB_COLOR0_SLICE_num                               = 12,
	CB_COLOR0_SLICE_offset                            = 51,
	CB_COLOR0_SLICE__TILE_MAX_mask                    = 0x3fffff << 0,
	CB_COLOR0_SLICE__TILE_MAX_shift                   = 0,
    CB_COLOR0_VIEW                                        = 0x00028c6c,
	CB_COLOR0_VIEW_num                                = 12,
	CB_COLOR0_VIEW_offset                             = 51,
/* 	SLICE_START_mask                                  = 0x7ff << 0, */
/* 	SLICE_START_shift                                 = 0, */
/* 	SLICE_MAX_mask                                    = 0x7ff << 13, */
/* 	SLICE_MAX_shift                                   = 13, */
    CB_COLOR0_INFO                                        = 0x00028c70,
	CB_COLOR0_INFO_num                                = 12,
	CB_COLOR0_INFO_offset                             = 51,
	ENDIAN_mask                                       = 0x03 << 0,
	ENDIAN_shift                                      = 0,
	    ENDIAN_NONE                                   = 0x00,
	    ENDIAN_8IN16                                  = 0x01,
	    ENDIAN_8IN32                                  = 0x02,
	    ENDIAN_8IN64                                  = 0x03,
	CB_COLOR0_INFO__FORMAT_mask                       = 0x3f << 2,
	CB_COLOR0_INFO__FORMAT_shift                      = 2,
	    COLOR_INVALID                                 = 0x00,
	    COLOR_8                                       = 0x01,
	    COLOR_16                                      = 0x05,
	    COLOR_16_FLOAT                                = 0x06,
	    COLOR_8_8                                     = 0x07,
	    COLOR_5_6_5                                   = 0x08,
	    COLOR_1_5_5_5                                 = 0x0a,
	    COLOR_4_4_4_4                                 = 0x0b,
	    COLOR_5_5_5_1                                 = 0x0c,
	    COLOR_32                                      = 0x0d,
	    COLOR_32_FLOAT                                = 0x0e,
	    COLOR_16_16                                   = 0x0f,
	    COLOR_16_16_FLOAT                             = 0x10,
	    COLOR_8_24                                    = 0x11,
	    COLOR_24_8                                    = 0x13,
	    COLOR_10_11_11                                = 0x15,
	    COLOR_10_11_11_FLOAT                          = 0x16,
	    COLOR_2_10_10_10                              = 0x19,
	    COLOR_8_8_8_8                                 = 0x1a,
	    COLOR_10_10_10_2                              = 0x1b,
	    COLOR_X24_8_32_FLOAT                          = 0x1c,
	    COLOR_32_32                                   = 0x1d,
	    COLOR_32_32_FLOAT                             = 0x1e,
	    COLOR_16_16_16_16                             = 0x1f,
	    COLOR_16_16_16_16_FLOAT                       = 0x20,
	    COLOR_32_32_32_32                             = 0x22,
	    COLOR_32_32_32_32_FLOAT                       = 0x23,
	CB_COLOR0_INFO__ARRAY_MODE_mask                   = 0x0f << 8,
	CB_COLOR0_INFO__ARRAY_MODE_shift                  = 8,
/* 	    ARRAY_LINEAR_GENERAL                          = 0x00, */
/* 	    ARRAY_LINEAR_ALIGNED                          = 0x01, */
/* 	    ARRAY_1D_TILED_THIN1                          = 0x02, */
/* 	    ARRAY_2D_TILED_THIN1                          = 0x04, */
	NUMBER_TYPE_mask                                  = 0x07 << 12,
	NUMBER_TYPE_shift                                 = 12,
	    NUMBER_UNORM                                  = 0x00,
	    NUMBER_SNORM                                  = 0x01,
	    NUMBER_UINT                                   = 0x04,
	    NUMBER_SINT                                   = 0x05,
	    NUMBER_SRGB                                   = 0x06,
	    NUMBER_FLOAT                                  = 0x07,
	COMP_SWAP_mask                                    = 0x03 << 15,
	COMP_SWAP_shift                                   = 15,
	    SWAP_STD                                      = 0x00,
	    SWAP_ALT                                      = 0x01,
	    SWAP_STD_REV                                  = 0x02,
	    SWAP_ALT_REV                                  = 0x03,
	FAST_CLEAR_bit                                    = 1 << 17,
	COMPRESSION_bit                                   = 1 << 18,
	BLEND_CLAMP_bit                                   = 1 << 19,
	BLEND_BYPASS_bit                                  = 1 << 20,
	SIMPLE_FLOAT_bit                                  = 1 << 21,
	CB_COLOR0_INFO__ROUND_MODE_bit                    = 1 << 22,
	CB_COLOR0_INFO__TILE_COMPACT_bit                  = 1 << 23,
	SOURCE_FORMAT_mask                                = 0x03 << 24,
	SOURCE_FORMAT_shift                               = 24,
	    EXPORT_4C_32BPC                               = 0x00,
	    EXPORT_4C_16BPC                               = 0x01,
	RAT_bit                                           = 1 << 26,
	RESOURCE_TYPE_mask                                = 0x07 << 27,
	RESOURCE_TYPE_shift                               = 27,
	    BUFFER                                        = 0x00,
	    TEXTURE1D                                     = 0x01,
	    TEXTURE1DARRAY                                = 0x02,
	    TEXTURE2D                                     = 0x03,
	    TEXTURE2DARRAY                                = 0x04,
	    TEXTURE3D                                     = 0x05,
    CB_COLOR0_ATTRIB                                      = 0x00028c74,
	CB_COLOR0_ATTRIB_num                              = 12,
	CB_COLOR0_ATTRIB_offset                           = 51,
	IGNORE_SHADER_ENGINE_TILING_bit                   = 1 << 3,
	CB_COLOR0_ATTRIB__NON_DISP_TILING_ORDER_bit       = 1 << 4,
	CB_COLOR0_ATTRIB__TILE_SPLIT_mask                 = 0x0f << 5,
	CB_COLOR0_ATTRIB__TILE_SPLIT_shift                = 5,
/* 	    ADDR_SURF_TILE_SPLIT_64B                      = 0x00, */
/* 	    ADDR_SURF_TILE_SPLIT_128B                     = 0x01, */
/* 	    ADDR_SURF_TILE_SPLIT_256B                     = 0x02, */
/* 	    ADDR_SURF_TILE_SPLIT_512B                     = 0x03, */
/* 	    ADDR_SURF_TILE_SPLIT_1KB                      = 0x04, */
/* 	    ADDR_SURF_TILE_SPLIT_2KB                      = 0x05, */
/* 	    ADDR_SURF_TILE_SPLIT_4KB                      = 0x06, */
	CB_COLOR0_ATTRIB__NUM_BANKS_mask                  = 0x03 << 10,
	CB_COLOR0_ATTRIB__NUM_BANKS_shift                 = 10,
/* 	    ADDR_SURF_2_BANK                              = 0x00, */
/* 	    ADDR_SURF_4_BANK                              = 0x01, */
/* 	    ADDR_SURF_8_BANK                              = 0x02, */
/* 	    ADDR_SURF_16_BANK                             = 0x03, */
	CB_COLOR0_ATTRIB__BANK_WIDTH_mask                 = 0x03 << 13,
	CB_COLOR0_ATTRIB__BANK_WIDTH_shift                = 13,
/* 	    ADDR_SURF_BANK_WIDTH_1                        = 0x00, */
/* 	    ADDR_SURF_BANK_WIDTH_2                        = 0x01, */
/* 	    ADDR_SURF_BANK_WIDTH_4                        = 0x02, */
/* 	    ADDR_SURF_BANK_WIDTH_8                        = 0x03, */
	CB_COLOR0_ATTRIB__BANK_HEIGHT_mask                = 0x03 << 16,
	CB_COLOR0_ATTRIB__BANK_HEIGHT_shift               = 16,
/* 	    ADDR_SURF_BANK_HEIGHT_1                       = 0x00, */
/* 	    ADDR_SURF_BANK_HEIGHT_2                       = 0x01, */
/* 	    ADDR_SURF_BANK_HEIGHT_4                       = 0x02, */
/* 	    ADDR_SURF_BANK_HEIGHT_8                       = 0x03, */
	CB_COLOR0_ATTRIB__MACRO_TILE_ASPECT_mask          = 0x03 << 19,
	CB_COLOR0_ATTRIB__MACRO_TILE_ASPECT_shift         = 19,
/* 	    ADDR_SURF_MACRO_ASPECT_1                      = 0x00, */
/* 	    ADDR_SURF_MACRO_ASPECT_2                      = 0x01, */
/* 	    ADDR_SURF_MACRO_ASPECT_4                      = 0x02, */
/* 	    ADDR_SURF_MACRO_ASPECT_8                      = 0x03, */
	FMASK_BANK_HEIGHT_mask                            = 0x03 << 22,
	FMASK_BANK_HEIGHT_shift                           = 22,
/* 	    ADDR_SURF_BANK_HEIGHT_1                       = 0x00, */
/* 	    ADDR_SURF_BANK_HEIGHT_2                       = 0x01, */
/* 	    ADDR_SURF_BANK_HEIGHT_4                       = 0x02, */
/* 	    ADDR_SURF_BANK_HEIGHT_8                       = 0x03, */
    CB_COLOR0_DIM                                         = 0x00028c78,
	CB_COLOR0_DIM_num                                 = 12,
	CB_COLOR0_DIM_offset                              = 51,
	WIDTH_MAX_mask                                    = 0xffff << 0,
	WIDTH_MAX_shift                                   = 0,
	HEIGHT_MAX_mask                                   = 0xffff << 16,
	HEIGHT_MAX_shift                                  = 16,
    CB_COLOR0_CMASK                                       = 0x00028c7c,
	CB_COLOR0_CMASK_num                               = 8,
	CB_COLOR0_CMASK_offset                            = 60,
    CB_COLOR0_CMASK_SLICE                                 = 0x00028c80,
	CB_COLOR0_CMASK_SLICE_num                         = 8,
	CB_COLOR0_CMASK_SLICE_offset                      = 60,
	CB_COLOR0_CMASK_SLICE__TILE_MAX_mask              = 0x3fff << 0,
	CB_COLOR0_CMASK_SLICE__TILE_MAX_shift             = 0,
    CB_COLOR0_FMASK                                       = 0x00028c84,
	CB_COLOR0_FMASK_num                               = 8,
	CB_COLOR0_FMASK_offset                            = 60,
    CB_COLOR0_FMASK_SLICE                                 = 0x00028c88,
	CB_COLOR0_FMASK_SLICE_num                         = 8,
	CB_COLOR0_FMASK_SLICE_offset                      = 60,
	CB_COLOR0_FMASK_SLICE__TILE_MAX_mask              = 0x3fffff << 0,
	CB_COLOR0_FMASK_SLICE__TILE_MAX_shift             = 0,
    CB_COLOR0_CLEAR_WORD0                                 = 0x00028c8c,
	CB_COLOR0_CLEAR_WORD0_num                         = 8,
	CB_COLOR0_CLEAR_WORD0_offset                      = 60,
    CB_COLOR0_CLEAR_WORD1                                 = 0x00028c90,
	CB_COLOR0_CLEAR_WORD1_num                         = 8,
	CB_COLOR0_CLEAR_WORD1_offset                      = 60,
    CB_COLOR0_CLEAR_WORD2                                 = 0x00028c94,
	CB_COLOR0_CLEAR_WORD2_num                         = 8,
	CB_COLOR0_CLEAR_WORD2_offset                      = 60,
    CB_COLOR0_CLEAR_WORD3                                 = 0x00028c98,
	CB_COLOR0_CLEAR_WORD3_num                         = 8,
	CB_COLOR0_CLEAR_WORD3_offset                      = 60,
    SQ_ALU_CONST_CACHE_HS_0                               = 0x00028f00,
	SQ_ALU_CONST_CACHE_HS_0_num                       = 16,
    SQ_ALU_CONST_CACHE_LS_0                               = 0x00028f40,
	SQ_ALU_CONST_CACHE_LS_0_num                       = 16,
    SQ_ALU_CONST_BUFFER_SIZE_HS_0                         = 0x00028f80,
	SQ_ALU_CONST_BUFFER_SIZE_HS_0_num                 = 16,
	SQ_ALU_CONST_BUFFER_SIZE_HS_0__DATA_mask          = 0x1ff << 0,
	SQ_ALU_CONST_BUFFER_SIZE_HS_0__DATA_shift         = 0,
    SQ_ALU_CONST_BUFFER_SIZE_LS_0                         = 0x00028fc0,
	SQ_ALU_CONST_BUFFER_SIZE_LS_0_num                 = 16,
	SQ_ALU_CONST_BUFFER_SIZE_LS_0__DATA_mask          = 0x1ff << 0,
	SQ_ALU_CONST_BUFFER_SIZE_LS_0__DATA_shift         = 0,
    SQ_VTX_CONSTANT_WORD0_0                               = 0x00030000,
    SQ_TEX_RESOURCE_WORD0_0                               = 0x00030000,
	DIM_mask                                          = 0x07 << 0,
	DIM_shift                                         = 0,
	    SQ_TEX_DIM_1D                                 = 0x00,
	    SQ_TEX_DIM_2D                                 = 0x01,
	    SQ_TEX_DIM_3D                                 = 0x02,
	    SQ_TEX_DIM_CUBEMAP                            = 0x03,
	    SQ_TEX_DIM_1D_ARRAY                           = 0x04,
	    SQ_TEX_DIM_2D_ARRAY                           = 0x05,
	    SQ_TEX_DIM_2D_MSAA                            = 0x06,
	    SQ_TEX_DIM_2D_ARRAY_MSAA                      = 0x07,
/* 	IGNORE_SHADER_ENGINE_TILING_bit                   = 1 << 3, */
	SQ_TEX_RESOURCE_WORD0_0__NON_DISP_TILING_ORDER_bit= 1 << 5,
	PITCH_mask                                        = 0xfff << 6,
	PITCH_shift                                       = 6,
	TEX_WIDTH_mask                                    = 0x3fff << 18,
	TEX_WIDTH_shift                                   = 18,
    SQ_VTX_CONSTANT_WORD1_0                               = 0x00030004,
    SQ_TEX_RESOURCE_WORD1_0                               = 0x00030004,
	TEX_HEIGHT_mask                                   = 0x3fff << 0,
	TEX_HEIGHT_shift                                  = 0,
	TEX_DEPTH_mask                                    = 0x1fff << 14,
	TEX_DEPTH_shift                                   = 14,
	SQ_TEX_RESOURCE_WORD1_0__ARRAY_MODE_mask          = 0x0f << 28,
	SQ_TEX_RESOURCE_WORD1_0__ARRAY_MODE_shift         = 28,
    SQ_VTX_CONSTANT_WORD2_0                               = 0x00030008,
	BASE_ADDRESS_HI_mask                              = 0xff << 0,
	BASE_ADDRESS_HI_shift                             = 0,
	SQ_VTX_CONSTANT_WORD2_0__STRIDE_mask              = 0x7ff << 8,
	SQ_VTX_CONSTANT_WORD2_0__STRIDE_shift             = 8,
	SQ_VTX_CONSTANT_WORD2_0__CLAMP_X_bit              = 1 << 19,
	SQ_VTX_CONSTANT_WORD2_0__DATA_FORMAT_mask         = 0x3f << 20,
	SQ_VTX_CONSTANT_WORD2_0__DATA_FORMAT_shift        = 20,
	SQ_VTX_CONSTANT_WORD2_0__NUM_FORMAT_ALL_mask      = 0x03 << 26,
	SQ_VTX_CONSTANT_WORD2_0__NUM_FORMAT_ALL_shift     = 26,
/* 	    SQ_NUM_FORMAT_NORM                            = 0x00, */
/* 	    SQ_NUM_FORMAT_INT                             = 0x01, */
/* 	    SQ_NUM_FORMAT_SCALED                          = 0x02, */
	SQ_VTX_CONSTANT_WORD2_0__FORMAT_COMP_ALL_bit      = 1 << 28,
	SQ_VTX_CONSTANT_WORD2_0__SRF_MODE_ALL_bit         = 1 << 29,
	SQ_VTX_CONSTANT_WORD2_0__ENDIAN_SWAP_mask         = 0x03 << 30,
	SQ_VTX_CONSTANT_WORD2_0__ENDIAN_SWAP_shift        = 30,
/* 	    SQ_ENDIAN_NONE                                = 0x00, */
/* 	    SQ_ENDIAN_8IN16                               = 0x01, */
/* 	    SQ_ENDIAN_8IN32                               = 0x02, */
    SQ_TEX_RESOURCE_WORD2_0                               = 0x00030008,
    SQ_VTX_CONSTANT_WORD3_0                               = 0x0003000c,
	SQ_VTX_CONSTANT_WORD3_0__UNCACHED_bit             = 1 << 2,
	SQ_VTX_CONSTANT_WORD3_0__DST_SEL_X_mask           = 0x07 << 3,
	SQ_VTX_CONSTANT_WORD3_0__DST_SEL_X_shift          = 3,
/* 	    SQ_SEL_X                                      = 0x00, */
/* 	    SQ_SEL_Y                                      = 0x01, */
/* 	    SQ_SEL_Z                                      = 0x02, */
/* 	    SQ_SEL_W                                      = 0x03, */
/* 	    SQ_SEL_0                                      = 0x04, */
/* 	    SQ_SEL_1                                      = 0x05, */
	SQ_VTX_CONSTANT_WORD3_0__DST_SEL_Y_mask           = 0x07 << 6,
	SQ_VTX_CONSTANT_WORD3_0__DST_SEL_Y_shift          = 6,
/* 	    SQ_SEL_X                                      = 0x00, */
/* 	    SQ_SEL_Y                                      = 0x01, */
/* 	    SQ_SEL_Z                                      = 0x02, */
/* 	    SQ_SEL_W                                      = 0x03, */
/* 	    SQ_SEL_0                                      = 0x04, */
/* 	    SQ_SEL_1                                      = 0x05, */
	SQ_VTX_CONSTANT_WORD3_0__DST_SEL_Z_mask           = 0x07 << 9,
	SQ_VTX_CONSTANT_WORD3_0__DST_SEL_Z_shift          = 9,
/* 	    SQ_SEL_X                                      = 0x00, */
/* 	    SQ_SEL_Y                                      = 0x01, */
/* 	    SQ_SEL_Z                                      = 0x02, */
/* 	    SQ_SEL_W                                      = 0x03, */
/* 	    SQ_SEL_0                                      = 0x04, */
/* 	    SQ_SEL_1                                      = 0x05, */
	SQ_VTX_CONSTANT_WORD3_0__DST_SEL_W_mask           = 0x07 << 12,
	SQ_VTX_CONSTANT_WORD3_0__DST_SEL_W_shift          = 12,
/* 	    SQ_SEL_X                                      = 0x00, */
/* 	    SQ_SEL_Y                                      = 0x01, */
/* 	    SQ_SEL_Z                                      = 0x02, */
/* 	    SQ_SEL_W                                      = 0x03, */
/* 	    SQ_SEL_0                                      = 0x04, */
/* 	    SQ_SEL_1                                      = 0x05, */
    SQ_TEX_RESOURCE_WORD3_0                               = 0x0003000c,
    SQ_TEX_RESOURCE_WORD4_0                               = 0x00030010,
	FORMAT_COMP_X_mask                                = 0x03 << 0,
	FORMAT_COMP_X_shift                               = 0,
	    SQ_FORMAT_COMP_UNSIGNED                       = 0x00,
	    SQ_FORMAT_COMP_SIGNED                         = 0x01,
	    SQ_FORMAT_COMP_UNSIGNED_BIASED                = 0x02,
	FORMAT_COMP_Y_mask                                = 0x03 << 2,
	FORMAT_COMP_Y_shift                               = 2,
/* 	    SQ_FORMAT_COMP_UNSIGNED                       = 0x00, */
/* 	    SQ_FORMAT_COMP_SIGNED                         = 0x01, */
/* 	    SQ_FORMAT_COMP_UNSIGNED_BIASED                = 0x02, */
	FORMAT_COMP_Z_mask                                = 0x03 << 4,
	FORMAT_COMP_Z_shift                               = 4,
/* 	    SQ_FORMAT_COMP_UNSIGNED                       = 0x00, */
/* 	    SQ_FORMAT_COMP_SIGNED                         = 0x01, */
/* 	    SQ_FORMAT_COMP_UNSIGNED_BIASED                = 0x02, */
	FORMAT_COMP_W_mask                                = 0x03 << 6,
	FORMAT_COMP_W_shift                               = 6,
/* 	    SQ_FORMAT_COMP_UNSIGNED                       = 0x00, */
/* 	    SQ_FORMAT_COMP_SIGNED                         = 0x01, */
/* 	    SQ_FORMAT_COMP_UNSIGNED_BIASED                = 0x02, */
	SQ_TEX_RESOURCE_WORD4_0__NUM_FORMAT_ALL_mask      = 0x03 << 8,
	SQ_TEX_RESOURCE_WORD4_0__NUM_FORMAT_ALL_shift     = 8,
/* 	    SQ_NUM_FORMAT_NORM                            = 0x00, */
/* 	    SQ_NUM_FORMAT_INT                             = 0x01, */
/* 	    SQ_NUM_FORMAT_SCALED                          = 0x02, */
	SQ_TEX_RESOURCE_WORD4_0__SRF_MODE_ALL_bit         = 1 << 10,
	SQ_TEX_RESOURCE_WORD4_0__FORCE_DEGAMMA_bit        = 1 << 11,
	SQ_TEX_RESOURCE_WORD4_0__ENDIAN_SWAP_mask         = 0x03 << 12,
	SQ_TEX_RESOURCE_WORD4_0__ENDIAN_SWAP_shift        = 12,
/* 	    SQ_ENDIAN_NONE                                = 0x00, */
/* 	    SQ_ENDIAN_8IN16                               = 0x01, */
/* 	    SQ_ENDIAN_8IN32                               = 0x02, */
	SQ_TEX_RESOURCE_WORD4_0__DST_SEL_X_mask           = 0x07 << 16,
	SQ_TEX_RESOURCE_WORD4_0__DST_SEL_X_shift          = 16,
/* 	    SQ_SEL_X                                      = 0x00, */
/* 	    SQ_SEL_Y                                      = 0x01, */
/* 	    SQ_SEL_Z                                      = 0x02, */
/* 	    SQ_SEL_W                                      = 0x03, */
/* 	    SQ_SEL_0                                      = 0x04, */
/* 	    SQ_SEL_1                                      = 0x05, */
	SQ_TEX_RESOURCE_WORD4_0__DST_SEL_Y_mask           = 0x07 << 19,
	SQ_TEX_RESOURCE_WORD4_0__DST_SEL_Y_shift          = 19,
/* 	    SQ_SEL_X                                      = 0x00, */
/* 	    SQ_SEL_Y                                      = 0x01, */
/* 	    SQ_SEL_Z                                      = 0x02, */
/* 	    SQ_SEL_W                                      = 0x03, */
/* 	    SQ_SEL_0                                      = 0x04, */
/* 	    SQ_SEL_1                                      = 0x05, */
	SQ_TEX_RESOURCE_WORD4_0__DST_SEL_Z_mask           = 0x07 << 22,
	SQ_TEX_RESOURCE_WORD4_0__DST_SEL_Z_shift          = 22,
/* 	    SQ_SEL_X                                      = 0x00, */
/* 	    SQ_SEL_Y                                      = 0x01, */
/* 	    SQ_SEL_Z                                      = 0x02, */
/* 	    SQ_SEL_W                                      = 0x03, */
/* 	    SQ_SEL_0                                      = 0x04, */
/* 	    SQ_SEL_1                                      = 0x05, */
	SQ_TEX_RESOURCE_WORD4_0__DST_SEL_W_mask           = 0x07 << 25,
	SQ_TEX_RESOURCE_WORD4_0__DST_SEL_W_shift          = 25,
/* 	    SQ_SEL_X                                      = 0x00, */
/* 	    SQ_SEL_Y                                      = 0x01, */
/* 	    SQ_SEL_Z                                      = 0x02, */
/* 	    SQ_SEL_W                                      = 0x03, */
/* 	    SQ_SEL_0                                      = 0x04, */
/* 	    SQ_SEL_1                                      = 0x05, */
	BASE_LEVEL_mask                                   = 0x0f << 28,
	BASE_LEVEL_shift                                  = 28,
    SQ_VTX_CONSTANT_WORD4_0                               = 0x00030010,
    SQ_TEX_RESOURCE_WORD5_0                               = 0x00030014,
	LAST_LEVEL_mask                                   = 0x0f << 0,
	LAST_LEVEL_shift                                  = 0,
	BASE_ARRAY_mask                                   = 0x1fff << 4,
	BASE_ARRAY_shift                                  = 4,
	LAST_ARRAY_mask                                   = 0x1fff << 17,
	LAST_ARRAY_shift                                  = 17,
    SQ_TEX_RESOURCE_WORD6_0                               = 0x00030018,
	PERF_MODULATION_mask                              = 0x07 << 3,
	PERF_MODULATION_shift                             = 3,
	INTERLACED_bit                                    = 1 << 6,
	SQ_TEX_RESOURCE_WORD6_0__MIN_LOD_mask             = 0xfff << 8,
	SQ_TEX_RESOURCE_WORD6_0__MIN_LOD_shift            = 8,
	SQ_TEX_RESOURCE_WORD6_0__TILE_SPLIT_mask          = 0x07 << 29,
	SQ_TEX_RESOURCE_WORD6_0__TILE_SPLIT_shift         = 29,
	    SQ_ADDR_SURF_TILE_SPLIT_64B                   = 0x00,
	    SQ_ADDR_SURF_TILE_SPLIT_128B                  = 0x01,
	    SQ_ADDR_SURF_TILE_SPLIT_256B                  = 0x02,
	    SQ_ADDR_SURF_TILE_SPLIT_512B                  = 0x03,
	    SQ_ADDR_SURF_TILE_SPLIT_1KB                   = 0x04,
	    SQ_ADDR_SURF_TILE_SPLIT_2KB                   = 0x05,
	    SQ_ADDR_SURF_TILE_SPLIT_4KB                   = 0x06,
    SQ_VTX_CONSTANT_WORD7_0                               = 0x0003001c,
	SQ_VTX_CONSTANT_WORD7_0__TYPE_mask                = 0x03 << 30,
	SQ_VTX_CONSTANT_WORD7_0__TYPE_shift               = 30,
	    SQ_TEX_VTX_INVALID_TEXTURE                    = 0x00,
	    SQ_TEX_VTX_INVALID_BUFFER                     = 0x01,
	    SQ_TEX_VTX_VALID_TEXTURE                      = 0x02,
	    SQ_TEX_VTX_VALID_BUFFER                       = 0x03,
    SQ_TEX_RESOURCE_WORD7_0                               = 0x0003001c,
	SQ_TEX_RESOURCE_WORD7_0__DATA_FORMAT_mask         = 0x3f << 0,
	SQ_TEX_RESOURCE_WORD7_0__DATA_FORMAT_shift        = 0,
	SQ_TEX_RESOURCE_WORD7_0__MACRO_TILE_ASPECT_mask   = 0x03 << 6,
	SQ_TEX_RESOURCE_WORD7_0__MACRO_TILE_ASPECT_shift  = 6,
	    SQ_ADDR_SURF_MACRO_ASPECT_1                   = 0x00,
	    SQ_ADDR_SURF_MACRO_ASPECT_2                   = 0x01,
	    SQ_ADDR_SURF_MACRO_ASPECT_4                   = 0x02,
	    SQ_ADDR_SURF_MACRO_ASPECT_8                   = 0x03,
	SQ_TEX_RESOURCE_WORD7_0__BANK_WIDTH_mask          = 0x03 << 8,
	SQ_TEX_RESOURCE_WORD7_0__BANK_WIDTH_shift         = 8,
	    SQ_ADDR_SURF_BANK_WH_1                        = 0x00,
	    SQ_ADDR_SURF_BANK_WH_2                        = 0x01,
	    SQ_ADDR_SURF_BANK_WH_4                        = 0x02,
	    SQ_ADDR_SURF_BANK_WH_8                        = 0x03,
	SQ_TEX_RESOURCE_WORD7_0__BANK_HEIGHT_mask         = 0x03 << 10,
	SQ_TEX_RESOURCE_WORD7_0__BANK_HEIGHT_shift        = 10,
/* 	    SQ_ADDR_SURF_BANK_WH_1                        = 0x00, */
/* 	    SQ_ADDR_SURF_BANK_WH_2                        = 0x01, */
/* 	    SQ_ADDR_SURF_BANK_WH_4                        = 0x02, */
/* 	    SQ_ADDR_SURF_BANK_WH_8                        = 0x03, */
	DEPTH_SAMPLE_ORDER_bit                            = 1 << 15,
	SQ_TEX_RESOURCE_WORD7_0__NUM_BANKS_mask           = 0x03 << 16,
	SQ_TEX_RESOURCE_WORD7_0__NUM_BANKS_shift          = 16,
	    SQ_ADDR_SURF_2_BANK                           = 0x00,
	    SQ_ADDR_SURF_4_BANK                           = 0x01,
	    SQ_ADDR_SURF_8_BANK                           = 0x02,
	    SQ_ADDR_SURF_16_BANK                          = 0x03,
	SQ_TEX_RESOURCE_WORD7_0__TYPE_mask                = 0x03 << 30,
	SQ_TEX_RESOURCE_WORD7_0__TYPE_shift               = 30,
/* 	    SQ_TEX_VTX_INVALID_TEXTURE                    = 0x00, */
/* 	    SQ_TEX_VTX_INVALID_BUFFER                     = 0x01, */
/* 	    SQ_TEX_VTX_VALID_TEXTURE                      = 0x02, */
/* 	    SQ_TEX_VTX_VALID_BUFFER                       = 0x03, */
    SQ_LOOP_CONST_DX10_0                                  = 0x0003a200,
    SQ_LOOP_CONST_0                                       = 0x0003a200,
	SQ_LOOP_CONST_0__COUNT_mask                       = 0xfff << 0,
	SQ_LOOP_CONST_0__COUNT_shift                      = 0,
	INIT_mask                                         = 0xfff << 12,
	INIT_shift                                        = 12,
	INC_mask                                          = 0xff << 24,
	INC_shift                                         = 24,
    SQ_JUMPTABLE_CONST_0                                  = 0x0003a200,
	CONST_A_mask                                      = 0xff << 0,
	CONST_A_shift                                     = 0,
	CONST_B_mask                                      = 0xff << 8,
	CONST_B_shift                                     = 8,
	CONST_C_mask                                      = 0xff << 16,
	CONST_C_shift                                     = 16,
	CONST_D_mask                                      = 0xff << 24,
	CONST_D_shift                                     = 24,
    SQ_BOOL_CONST_0                                       = 0x0003a500,
	SQ_BOOL_CONST_0_num                               = 6,
    SQ_TEX_SAMPLER_WORD0_0                                = 0x0003c000,
	SQ_TEX_SAMPLER_WORD0_0__CLAMP_X_mask              = 0x07 << 0,
	SQ_TEX_SAMPLER_WORD0_0__CLAMP_X_shift             = 0,
	    SQ_TEX_WRAP                                   = 0x00,
	    SQ_TEX_MIRROR                                 = 0x01,
	    SQ_TEX_CLAMP_LAST_TEXEL                       = 0x02,
	    SQ_TEX_MIRROR_ONCE_LAST_TEXEL                 = 0x03,
	    SQ_TEX_CLAMP_HALF_BORDER                      = 0x04,
	    SQ_TEX_MIRROR_ONCE_HALF_BORDER                = 0x05,
	    SQ_TEX_CLAMP_BORDER                           = 0x06,
	    SQ_TEX_MIRROR_ONCE_BORDER                     = 0x07,
	CLAMP_Y_mask                                      = 0x07 << 3,
	CLAMP_Y_shift                                     = 3,
/* 	    SQ_TEX_WRAP                                   = 0x00, */
/* 	    SQ_TEX_MIRROR                                 = 0x01, */
/* 	    SQ_TEX_CLAMP_LAST_TEXEL                       = 0x02, */
/* 	    SQ_TEX_MIRROR_ONCE_LAST_TEXEL                 = 0x03, */
/* 	    SQ_TEX_CLAMP_HALF_BORDER                      = 0x04, */
/* 	    SQ_TEX_MIRROR_ONCE_HALF_BORDER                = 0x05, */
/* 	    SQ_TEX_CLAMP_BORDER                           = 0x06, */
/* 	    SQ_TEX_MIRROR_ONCE_BORDER                     = 0x07, */
	CLAMP_Z_mask                                      = 0x07 << 6,
	CLAMP_Z_shift                                     = 6,
/* 	    SQ_TEX_WRAP                                   = 0x00, */
/* 	    SQ_TEX_MIRROR                                 = 0x01, */
/* 	    SQ_TEX_CLAMP_LAST_TEXEL                       = 0x02, */
/* 	    SQ_TEX_MIRROR_ONCE_LAST_TEXEL                 = 0x03, */
/* 	    SQ_TEX_CLAMP_HALF_BORDER                      = 0x04, */
/* 	    SQ_TEX_MIRROR_ONCE_HALF_BORDER                = 0x05, */
/* 	    SQ_TEX_CLAMP_BORDER                           = 0x06, */
/* 	    SQ_TEX_MIRROR_ONCE_BORDER                     = 0x07, */
	XY_MAG_FILTER_mask                                = 0x03 << 9,
	XY_MAG_FILTER_shift                               = 9,
	    SQ_TEX_XY_FILTER_POINT                        = 0x00,
	    SQ_TEX_XY_FILTER_BILINEAR                     = 0x01,
	XY_MIN_FILTER_mask                                = 0x03 << 11,
	XY_MIN_FILTER_shift                               = 11,
/* 	    SQ_TEX_XY_FILTER_POINT                        = 0x00, */
/* 	    SQ_TEX_XY_FILTER_BILINEAR                     = 0x01, */
	Z_FILTER_mask                                     = 0x03 << 13,
	Z_FILTER_shift                                    = 13,
	    SQ_TEX_Z_FILTER_NONE                          = 0x00,
	    SQ_TEX_Z_FILTER_POINT                         = 0x01,
	    SQ_TEX_Z_FILTER_LINEAR                        = 0x02,
	MIP_FILTER_mask                                   = 0x03 << 15,
	MIP_FILTER_shift                                  = 15,
/* 	    SQ_TEX_Z_FILTER_NONE                          = 0x00, */
/* 	    SQ_TEX_Z_FILTER_POINT                         = 0x01, */
/* 	    SQ_TEX_Z_FILTER_LINEAR                        = 0x02, */
	BORDER_COLOR_TYPE_mask                            = 0x03 << 20,
	BORDER_COLOR_TYPE_shift                           = 20,
	    SQ_TEX_BORDER_COLOR_TRANS_BLACK               = 0x00,
	    SQ_TEX_BORDER_COLOR_OPAQUE_BLACK              = 0x01,
	    SQ_TEX_BORDER_COLOR_OPAQUE_WHITE              = 0x02,
	    SQ_TEX_BORDER_COLOR_REGISTER                  = 0x03,
	DEPTH_COMPARE_FUNCTION_mask                       = 0x07 << 22,
	DEPTH_COMPARE_FUNCTION_shift                      = 22,
	    SQ_TEX_DEPTH_COMPARE_NEVER                    = 0x00,
	    SQ_TEX_DEPTH_COMPARE_LESS                     = 0x01,
	    SQ_TEX_DEPTH_COMPARE_EQUAL                    = 0x02,
	    SQ_TEX_DEPTH_COMPARE_LESSEQUAL                = 0x03,
	    SQ_TEX_DEPTH_COMPARE_GREATER                  = 0x04,
	    SQ_TEX_DEPTH_COMPARE_NOTEQUAL                 = 0x05,
	    SQ_TEX_DEPTH_COMPARE_GREATEREQUAL             = 0x06,
	    SQ_TEX_DEPTH_COMPARE_ALWAYS                   = 0x07,
	CHROMA_KEY_mask                                   = 0x03 << 25,
	CHROMA_KEY_shift                                  = 25,
	    SQ_TEX_CHROMA_KEY_DISABLED                    = 0x00,
	    SQ_TEX_CHROMA_KEY_KILL                        = 0x01,
	    SQ_TEX_CHROMA_KEY_BLEND                       = 0x02,
    SQ_TEX_SAMPLER_WORD1_0                                = 0x0003c004,
	SQ_TEX_SAMPLER_WORD1_0__MIN_LOD_mask              = 0xfff << 0,
	SQ_TEX_SAMPLER_WORD1_0__MIN_LOD_shift             = 0,
	MAX_LOD_mask                                      = 0xfff << 12,
	MAX_LOD_shift                                     = 12,
	PERF_MIP_mask                                     = 0x0f << 24,
	PERF_MIP_shift                                    = 24,
	PERF_Z_mask                                       = 0x0f << 28,
	PERF_Z_shift                                      = 28,
    SQ_TEX_SAMPLER_WORD2_0                                = 0x0003c008,
	SQ_TEX_SAMPLER_WORD2_0__LOD_BIAS_mask             = 0x3fff << 0,
	SQ_TEX_SAMPLER_WORD2_0__LOD_BIAS_shift            = 0,
	LOD_BIAS_SEC_mask                                 = 0x3f << 14,
	LOD_BIAS_SEC_shift                                = 14,
	MC_COORD_TRUNCATE_bit                             = 1 << 20,
	SQ_TEX_SAMPLER_WORD2_0__FORCE_DEGAMMA_bit         = 1 << 21,
	TRUNCATE_COORD_bit                                = 1 << 28,
	SQ_TEX_SAMPLER_WORD2_0__DISABLE_CUBE_WRAP_bit     = 1 << 29,
	SQ_TEX_SAMPLER_WORD2_0__TYPE_bit                  = 1 << 31,
    SQ_VTX_BASE_VTX_LOC                                   = 0x0003cff0,
    SQ_VTX_START_INST_LOC                                 = 0x0003cff4,
    SQ_TEX_SAMPLER_CLEAR                                  = 0x0003ff00,
    SQ_TEX_RESOURCE_CLEAR                                 = 0x0003ff04,
    SQ_LOOP_BOOL_CLEAR                                    = 0x0003ff08,

} ;

#endif /* _EVERGREEN_REG_AUTO_H */