spandsp 3.0.0
v34_shell_map.h
1/* THIS FILE WAS AUTOMATICALLY GENERATED - ANY MODIFICATIONS MADE TO THIS
2 FILE MAY BE OVERWRITTEN DURING FUTURE BUILDS OF THE SOFTWARE */
3
4/* 1 rings deals with up to 0 bits */
5static const uint32_t g2_1_rings[2] =
6{
7 1,
8 0
9};
10
11static const uint32_t g4_1_rings[2] =
12{
13 1,
14 0
15};
16
17static const uint32_t z8_1_rings[2] =
18{
19 0x00000000,
20 0x00000001
21};
22
23/* 2 rings deals with up to 8 bits */
24static const uint32_t g2_2_rings[5] =
25{
26 1,
27 2,
28 1,
29 0,
30 0
31};
32
33static const uint32_t g4_2_rings[9] =
34{
35 1,
36 4,
37 6,
38 4,
39 1,
40 0,
41 0,
42 0,
43 0
44};
45
46static const uint32_t z8_2_rings[9] =
47{
48 0x00000000,
49 0x00000001,
50 0x00000009,
51 0x00000025,
52 0x0000005D,
53 0x000000A3,
54 0x000000DB,
55 0x000000F7,
56 0x000000FF
57};
58
59/* 3 rings deals with up to 12 bits */
60static const uint32_t g2_3_rings[9] =
61{
62 1,
63 2,
64 3,
65 2,
66 1,
67 0,
68 0,
69 0,
70 0
71};
72
73static const uint32_t g4_3_rings[11] =
74{
75 1,
76 4,
77 10,
78 16,
79 19,
80 16,
81 10,
82 4,
83 1,
84 0,
85 0
86};
87
88static const uint32_t z8_3_rings[11] =
89{
90 0x00000000,
91 0x00000001,
92 0x00000009,
93 0x0000002D,
94 0x0000009D,
95 0x000001A7,
96 0x0000039F,
97 0x000006AF,
98 0x00000AA7,
99 0x00000EFA,
100 0x000012F2
101};
102
103/* 4 rings deals with up to 16 bits */
104static const uint32_t g2_4_rings[13] =
105{
106 1,
107 2,
108 3,
109 4,
110 3,
111 2,
112 1,
113 0,
114 0,
115 0,
116 0,
117 0,
118 0
119};
120
121static const uint32_t g4_4_rings[25] =
122{
123 1,
124 4,
125 10,
126 20,
127 31,
128 40,
129 44,
130 40,
131 31,
132 20,
133 10,
134 4,
135 1,
136 0,
137 0,
138 0,
139 0,
140 0,
141 0,
142 0,
143 0,
144 0,
145 0,
146 0,
147 0
148};
149
150static const uint32_t z8_4_rings[25] =
151{
152 0x00000000,
153 0x00000001,
154 0x00000009,
155 0x0000002D,
156 0x000000A5,
157 0x000001E7,
158 0x000004BF,
159 0x00000A53,
160 0x000013FB,
161 0x000022EA,
162 0x000037BA,
163 0x00005202,
164 0x00007032,
165 0x00008FCE,
166 0x0000ADFE,
167 0x0000C846,
168 0x0000DD16,
169 0x0000EC05,
170 0x0000F5AD,
171 0x0000FB41,
172 0x0000FE19,
173 0x0000FF5B,
174 0x0000FFD3,
175 0x0000FFF7,
176 0x0000FFFF
177};
178
179/* 5 rings deals with up to 18 bits */
180static const uint32_t g2_5_rings[17] =
181{
182 1,
183 2,
184 3,
185 4,
186 5,
187 4,
188 3,
189 2,
190 1,
191 0,
192 0,
193 0,
194 0,
195 0,
196 0,
197 0,
198 0
199};
200
201static const uint32_t g4_5_rings[20] =
202{
203 1,
204 4,
205 10,
206 20,
207 35,
208 52,
209 68,
210 80,
211 85,
212 80,
213 68,
214 52,
215 35,
216 20,
217 10,
218 4,
219 1,
220 0,
221 0,
222 0
223};
224
225static const uint32_t z8_5_rings[20] =
226{
227 0x00000000,
228 0x00000001,
229 0x00000009,
230 0x0000002D,
231 0x000000A5,
232 0x000001EF,
233 0x000004FF,
234 0x00000B73,
235 0x000017BB,
236 0x00002D1E,
237 0x00004F7E,
238 0x000082D2,
239 0x0000CA62,
240 0x000127E6,
241 0x00019ABE,
242 0x00021F8E,
243 0x0002B066,
244 0x0003457B,
245 0x0003D653,
246 0x00045B23
247};
248
249/* 6 rings deals with up to 20 bits */
250static const uint32_t g2_6_rings[21] =
251{
252 1,
253 2,
254 3,
255 4,
256 5,
257 6,
258 5,
259 4,
260 3,
261 2,
262 1,
263 0,
264 0,
265 0,
266 0,
267 0,
268 0,
269 0,
270 0,
271 0,
272 0
273};
274
275static const uint32_t g4_6_rings[24] =
276{
277 1,
278 4,
279 10,
280 20,
281 35,
282 56,
283 80,
284 104,
285 125,
286 140,
287 146,
288 140,
289 125,
290 104,
291 80,
292 56,
293 35,
294 20,
295 10,
296 4,
297 1,
298 0,
299 0,
300 0
301};
302
303static const uint32_t z8_6_rings[24] =
304{
305 0x00000000,
306 0x00000001,
307 0x00000009,
308 0x0000002D,
309 0x000000A5,
310 0x000001EF,
311 0x00000507,
312 0x00000BB3,
313 0x000018DB,
314 0x000030DE,
315 0x000059CE,
316 0x00009B76,
317 0x0000FF06,
318 0x00018E56,
319 0x000252C6,
320 0x000353D6,
321 0x000495A6,
322 0x000617A3,
323 0x0007D3BB,
324 0x0009BE4F,
325 0x000BC6F7,
326 0x000DDA09,
327 0x000FE2B1,
328 0x0011CD45
329};
330
331/* 7 rings deals with up to 22 bits */
332static const uint32_t g2_7_rings[25] =
333{
334 1,
335 2,
336 3,
337 4,
338 5,
339 6,
340 7,
341 6,
342 5,
343 4,
344 3,
345 2,
346 1,
347 0,
348 0,
349 0,
350 0,
351 0,
352 0,
353 0,
354 0,
355 0,
356 0,
357 0,
358 0
359};
360
361static const uint32_t g4_7_rings[29] =
362{
363 1,
364 4,
365 10,
366 20,
367 35,
368 56,
369 84,
370 116,
371 149,
372 180,
373 206,
374 224,
375 231,
376 224,
377 206,
378 180,
379 149,
380 116,
381 84,
382 56,
383 35,
384 20,
385 10,
386 4,
387 1,
388 0,
389 0,
390 0,
391 0
392};
393
394static const uint32_t z8_7_rings[29] =
395{
396 0x00000000,
397 0x00000001,
398 0x00000009,
399 0x0000002D,
400 0x000000A5,
401 0x000001EF,
402 0x00000507,
403 0x00000BBB,
404 0x0000191B,
405 0x000031FE,
406 0x00005D8E,
407 0x0000A5C6,
408 0x000117C6,
409 0x0001C3DA,
410 0x0002BD0A,
411 0x0004181E,
412 0x0005EA16,
413 0x0008462B,
414 0x000B3B83,
415 0x000ED2D7,
416 0x00130C5F,
417 0x0017DE6D,
418 0x001D34FD,
419 0x0022F25D,
420 0x0028F0ED,
421 0x002F05D4,
422 0x00350464,
423 0x003AC1C4,
424 0x00401854
425};
426
427/* 8 rings deals with up to 24 bits */
428static const uint32_t g2_8_rings[29] =
429{
430 1,
431 2,
432 3,
433 4,
434 5,
435 6,
436 7,
437 8,
438 7,
439 6,
440 5,
441 4,
442 3,
443 2,
444 1,
445 0,
446 0,
447 0,
448 0,
449 0,
450 0,
451 0,
452 0,
453 0,
454 0,
455 0,
456 0,
457 0,
458 0
459};
460
461static const uint32_t g4_8_rings[57] =
462{
463 1,
464 4,
465 10,
466 20,
467 35,
468 56,
469 84,
470 120,
471 161,
472 204,
473 246,
474 284,
475 315,
476 336,
477 344,
478 336,
479 315,
480 284,
481 246,
482 204,
483 161,
484 120,
485 84,
486 56,
487 35,
488 20,
489 10,
490 4,
491 1,
492 0,
493 0,
494 0,
495 0,
496 0,
497 0,
498 0,
499 0,
500 0,
501 0,
502 0,
503 0,
504 0,
505 0,
506 0,
507 0,
508 0,
509 0,
510 0,
511 0,
512 0,
513 0,
514 0,
515 0,
516 0,
517 0,
518 0,
519 0
520};
521
522static const uint32_t z8_8_rings[57] =
523{
524 0x00000000,
525 0x00000001,
526 0x00000009,
527 0x0000002D,
528 0x000000A5,
529 0x000001EF,
530 0x00000507,
531 0x00000BBB,
532 0x00001923,
533 0x0000323E,
534 0x00005EAE,
535 0x0000A986,
536 0x00012216,
537 0x0001DC9A,
538 0x0002F2AA,
539 0x00048342,
540 0x0006B232,
541 0x0009A6DB,
542 0x000D8A33,
543 0x0012841F,
544 0x0018B847,
545 0x0020429D,
546 0x002933E5,
547 0x00338EA1,
548 0x003F44D9,
549 0x004C3714,
550 0x005A34B4,
551 0x0068FDC4,
552 0x00784624,
553 0x0087B9DC,
554 0x0097023C,
555 0x00A5CB4C,
556 0x00B3C8EC,
557 0x00C0BB27,
558 0x00CC715F,
559 0x00D6CC1B,
560 0x00DFBD63,
561 0x00E747B9,
562 0x00ED7BE1,
563 0x00F275CD,
564 0x00F65925,
565 0x00F94DCE,
566 0x00FB7CBE,
567 0x00FD0D56,
568 0x00FE2366,
569 0x00FEDDEA,
570 0x00FF567A,
571 0x00FFA152,
572 0x00FFCDC2,
573 0x00FFE6DD,
574 0x00FFF445,
575 0x00FFFAF9,
576 0x00FFFE11,
577 0x00FFFF5B,
578 0x00FFFFD3,
579 0x00FFFFF7,
580 0x00FFFFFF
581};
582
583/* 9 rings deals with up to 25 bits */
584static const uint32_t g2_9_rings[33] =
585{
586 1,
587 2,
588 3,
589 4,
590 5,
591 6,
592 7,
593 8,
594 9,
595 8,
596 7,
597 6,
598 5,
599 4,
600 3,
601 2,
602 1,
603 0,
604 0,
605 0,
606 0,
607 0,
608 0,
609 0,
610 0,
611 0,
612 0,
613 0,
614 0,
615 0,
616 0,
617 0,
618 0
619};
620
621static const uint32_t g4_9_rings[40] =
622{
623 1,
624 4,
625 10,
626 20,
627 35,
628 56,
629 84,
630 120,
631 165,
632 216,
633 270,
634 324,
635 375,
636 420,
637 456,
638 480,
639 489,
640 480,
641 456,
642 420,
643 375,
644 324,
645 270,
646 216,
647 165,
648 120,
649 84,
650 56,
651 35,
652 20,
653 10,
654 4,
655 1,
656 0,
657 0,
658 0,
659 0,
660 0,
661 0,
662 0
663};
664
665static const uint32_t z8_9_rings[40] =
666{
667 0x00000000,
668 0x00000001,
669 0x00000009,
670 0x0000002D,
671 0x000000A5,
672 0x000001EF,
673 0x00000507,
674 0x00000BBB,
675 0x00001923,
676 0x00003246,
677 0x00005EEE,
678 0x0000AAA6,
679 0x000125D6,
680 0x0001E6EA,
681 0x00030B6A,
682 0x0004B8E2,
683 0x00071D72,
684 0x000A6FD7,
685 0x000EEEB7,
686 0x0014DF0F,
687 0x001C89B7,
688 0x00263805,
689 0x00322FAD,
690 0x0040AE11,
691 0x0051E349,
692 0x0065ED40,
693 0x007CD358,
694 0x0096831C,
695 0x00B2CE64,
696 0x00D16B2C,
697 0x00F1F53C,
698 0x0113F19C,
699 0x0136D3AC,
700 0x015A0395,
701 0x017CE5A5,
702 0x019EE205,
703 0x01BF6C15,
704 0x01DE08DD,
705 0x01FA5425,
706 0x021403E9
707};
708
709/* 10 rings deals with up to 26 bits */
710static const uint32_t g2_10_rings[37] =
711{
712 1,
713 2,
714 3,
715 4,
716 5,
717 6,
718 7,
719 8,
720 9,
721 10,
722 9,
723 8,
724 7,
725 6,
726 5,
727 4,
728 3,
729 2,
730 1,
731 0,
732 0,
733 0,
734 0,
735 0,
736 0,
737 0,
738 0,
739 0,
740 0,
741 0,
742 0,
743 0,
744 0,
745 0,
746 0,
747 0,
748 0
749};
750
751static const uint32_t g4_10_rings[42] =
752{
753 1,
754 4,
755 10,
756 20,
757 35,
758 56,
759 84,
760 120,
761 165,
762 220,
763 282,
764 348,
765 415,
766 480,
767 540,
768 592,
769 633,
770 660,
771 670,
772 660,
773 633,
774 592,
775 540,
776 480,
777 415,
778 348,
779 282,
780 220,
781 165,
782 120,
783 84,
784 56,
785 35,
786 20,
787 10,
788 4,
789 1,
790 0,
791 0,
792 0,
793 0,
794 0
795};
796
797static const uint32_t z8_10_rings[42] =
798{
799 0x00000000,
800 0x00000001,
801 0x00000009,
802 0x0000002D,
803 0x000000A5,
804 0x000001EF,
805 0x00000507,
806 0x00000BBB,
807 0x00001923,
808 0x00003246,
809 0x00005EF6,
810 0x0000AAE6,
811 0x000126F6,
812 0x0001EAAA,
813 0x000315BA,
814 0x0004D1A2,
815 0x00075312,
816 0x000ADB17,
817 0x000FB7CF,
818 0x00164473,
819 0x001EE87B,
820 0x002A15B5,
821 0x0038453D,
822 0x0049F359,
823 0x005F9A51,
824 0x0079AC70,
825 0x00988D70,
826 0x00BC8BA8,
827 0x00E5D968,
828 0x01148704,
829 0x01487E24,
830 0x01817ECC,
831 0x01BF1E6C,
832 0x0200C925,
833 0x0245C54D,
834 0x028D3919,
835 0x02D63231,
836 0x031FAECF,
837 0x0368A7E7,
838 0x03B01BB3,
839 0x03F517DB,
840 0x0436C294
841};
842
843/* 11 rings deals with up to 27 bits */
844static const uint32_t g2_11_rings[41] =
845{
846 1,
847 2,
848 3,
849 4,
850 5,
851 6,
852 7,
853 8,
854 9,
855 10,
856 11,
857 10,
858 9,
859 8,
860 7,
861 6,
862 5,
863 4,
864 3,
865 2,
866 1,
867 0,
868 0,
869 0,
870 0,
871 0,
872 0,
873 0,
874 0,
875 0,
876 0,
877 0,
878 0,
879 0,
880 0,
881 0,
882 0,
883 0,
884 0,
885 0,
886 0
887};
888
889static const uint32_t g4_11_rings[45] =
890{
891 1,
892 4,
893 10,
894 20,
895 35,
896 56,
897 84,
898 120,
899 165,
900 220,
901 286,
902 360,
903 439,
904 520,
905 600,
906 676,
907 745,
908 804,
909 850,
910 880,
911 891,
912 880,
913 850,
914 804,
915 745,
916 676,
917 600,
918 520,
919 439,
920 360,
921 286,
922 220,
923 165,
924 120,
925 84,
926 56,
927 35,
928 20,
929 10,
930 4,
931 1,
932 0,
933 0,
934 0,
935 0
936};
937
938static const uint32_t z8_11_rings[45] =
939{
940 0x00000000,
941 0x00000001,
942 0x00000009,
943 0x0000002D,
944 0x000000A5,
945 0x000001EF,
946 0x00000507,
947 0x00000BBB,
948 0x00001923,
949 0x00003246,
950 0x00005EF6,
951 0x0000AAEE,
952 0x00012736,
953 0x0001EBCA,
954 0x0003197A,
955 0x0004DBF2,
956 0x00076BD2,
957 0x000B10B7,
958 0x0010230F,
959 0x00170D8B,
960 0x00204DFB,
961 0x002C7559,
962 0x003C26C1,
963 0x00501529,
964 0x0068FFC1,
965 0x0087ACF8,
966 0x00ACE438,
967 0x00D96680,
968 0x010DE618,
969 0x014AFDB0,
970 0x01912750,
971 0x01E0B394,
972 0x0239C1C4,
973 0x029C396D,
974 0x0307C5FD,
975 0x037BD4C1,
976 0x03F79581,
977 0x0479FDD3,
978 0x0501CF1B,
979 0x058D9F0B,
980 0x061BE253,
981 0x06AAF90E,
982 0x07393C56,
983 0x07C50C46,
984 0x084CDD8E
985};
986
987/* 12 rings deals with up to 28 bits */
988static const uint32_t g2_12_rings[45] =
989{
990 1,
991 2,
992 3,
993 4,
994 5,
995 6,
996 7,
997 8,
998 9,
999 10,
1000 11,
1001 12,
1002 11,
1003 10,
1004 9,
1005 8,
1006 7,
1007 6,
1008 5,
1009 4,
1010 3,
1011 2,
1012 1,
1013 0,
1014 0,
1015 0,
1016 0,
1017 0,
1018 0,
1019 0,
1020 0,
1021 0,
1022 0,
1023 0,
1024 0,
1025 0,
1026 0,
1027 0,
1028 0,
1029 0,
1030 0,
1031 0,
1032 0,
1033 0,
1034 0
1035};
1036
1037static const uint32_t g4_12_rings[49] =
1038{
1039 1,
1040 4,
1041 10,
1042 20,
1043 35,
1044 56,
1045 84,
1046 120,
1047 165,
1048 220,
1049 286,
1050 364,
1051 451,
1052 544,
1053 640,
1054 736,
1055 829,
1056 916,
1057 994,
1058 1060,
1059 1111,
1060 1144,
1061 1156,
1062 1144,
1063 1111,
1064 1060,
1065 994,
1066 916,
1067 829,
1068 736,
1069 640,
1070 544,
1071 451,
1072 364,
1073 286,
1074 220,
1075 165,
1076 120,
1077 84,
1078 56,
1079 35,
1080 20,
1081 10,
1082 4,
1083 1,
1084 0,
1085 0,
1086 0,
1087 0
1088};
1089
1090static const uint32_t z8_12_rings[49] =
1091{
1092 0x00000000,
1093 0x00000001,
1094 0x00000009,
1095 0x0000002D,
1096 0x000000A5,
1097 0x000001EF,
1098 0x00000507,
1099 0x00000BBB,
1100 0x00001923,
1101 0x00003246,
1102 0x00005EF6,
1103 0x0000AAEE,
1104 0x0001273E,
1105 0x0001EC0A,
1106 0x00031A9A,
1107 0x0004DFB2,
1108 0x00077622,
1109 0x000B2977,
1110 0x001058AF,
1111 0x001778CB,
1112 0x00211713,
1113 0x002DDAD9,
1114 0x003E8681,
1115 0x0053F78D,
1116 0x006F2565,
1117 0x00911EA8,
1118 0x00BB04E8,
1119 0x00EE06C8,
1120 0x012B5888,
1121 0x01742B20,
1122 0x01C9A220,
1123 0x022CC8A0,
1124 0x029E85A0,
1125 0x031F904D,
1126 0x03B064B5,
1127 0x04513989,
1128 0x0501F7A1,
1129 0x05C233D3,
1130 0x06912B8B,
1131 0x076DC46F,
1132 0x08568F37,
1133 0x0949CDBE,
1134 0x0A457C2E,
1135 0x0B475D06,
1136 0x0C4D0796,
1137 0x0D53F86A,
1138 0x0E59A2FA,
1139 0x0F5B83D2,
1140 0x10573242
1141};
1142
1143/* 13 rings deals with up to 29 bits */
1144static const uint32_t g2_13_rings[49] =
1145{
1146 1,
1147 2,
1148 3,
1149 4,
1150 5,
1151 6,
1152 7,
1153 8,
1154 9,
1155 10,
1156 11,
1157 12,
1158 13,
1159 12,
1160 11,
1161 10,
1162 9,
1163 8,
1164 7,
1165 6,
1166 5,
1167 4,
1168 3,
1169 2,
1170 1,
1171 0,
1172 0,
1173 0,
1174 0,
1175 0,
1176 0,
1177 0,
1178 0,
1179 0,
1180 0,
1181 0,
1182 0,
1183 0,
1184 0,
1185 0,
1186 0,
1187 0,
1188 0,
1189 0,
1190 0,
1191 0,
1192 0,
1193 0,
1194 0
1195};
1196
1197static const uint32_t g4_13_rings[54] =
1198{
1199 1,
1200 4,
1201 10,
1202 20,
1203 35,
1204 56,
1205 84,
1206 120,
1207 165,
1208 220,
1209 286,
1210 364,
1211 455,
1212 556,
1213 664,
1214 776,
1215 889,
1216 1000,
1217 1106,
1218 1204,
1219 1291,
1220 1364,
1221 1420,
1222 1456,
1223 1469,
1224 1456,
1225 1420,
1226 1364,
1227 1291,
1228 1204,
1229 1106,
1230 1000,
1231 889,
1232 776,
1233 664,
1234 556,
1235 455,
1236 364,
1237 286,
1238 220,
1239 165,
1240 120,
1241 84,
1242 56,
1243 35,
1244 20,
1245 10,
1246 4,
1247 1,
1248 0,
1249 0,
1250 0,
1251 0,
1252 0
1253};
1254
1255static const uint32_t z8_13_rings[54] =
1256{
1257 0x00000000,
1258 0x00000001,
1259 0x00000009,
1260 0x0000002D,
1261 0x000000A5,
1262 0x000001EF,
1263 0x00000507,
1264 0x00000BBB,
1265 0x00001923,
1266 0x00003246,
1267 0x00005EF6,
1268 0x0000AAEE,
1269 0x0001273E,
1270 0x0001EC12,
1271 0x00031ADA,
1272 0x0004E0D2,
1273 0x000779E2,
1274 0x000B33C7,
1275 0x0010716F,
1276 0x0017AE6B,
1277 0x00218253,
1278 0x002EA3F1,
1279 0x003FEC01,
1280 0x0056574D,
1281 0x007307E5,
1282 0x0097452C,
1283 0x00C47A6C,
1284 0x00FC33B8,
1285 0x014018F8,
1286 0x0191E710,
1287 0x01F36728,
1288 0x02666430,
1289 0x02EC9ED0,
1290 0x0387C009,
1291 0x04394AE1,
1292 0x05028D89,
1293 0x05E49281,
1294 0x06E01253,
1295 0x07F56693,
1296 0x09247EE7,
1297 0x0A6CD8B7,
1298 0x0BCD7A02,
1299 0x0D44EFB2,
1300 0x0ED14FA6,
1301 0x10703E86,
1302 0x121EF952,
1303 0x13DA627A,
1304 0x159F122A,
1305 0x17696952,
1306 0x1935A6CF,
1307 0x1AFFFDF7,
1308 0x1CC4ADA7,
1309 0x1E8016CF,
1310 0x202ED19B
1311};
1312
1313/* 14 rings deals with up to 30 bits */
1314static const uint32_t g2_14_rings[53] =
1315{
1316 1,
1317 2,
1318 3,
1319 4,
1320 5,
1321 6,
1322 7,
1323 8,
1324 9,
1325 10,
1326 11,
1327 12,
1328 13,
1329 14,
1330 13,
1331 12,
1332 11,
1333 10,
1334 9,
1335 8,
1336 7,
1337 6,
1338 5,
1339 4,
1340 3,
1341 2,
1342 1,
1343 0,
1344 0,
1345 0,
1346 0,
1347 0,
1348 0,
1349 0,
1350 0,
1351 0,
1352 0,
1353 0,
1354 0,
1355 0,
1356 0,
1357 0,
1358 0,
1359 0,
1360 0,
1361 0,
1362 0,
1363 0,
1364 0,
1365 0,
1366 0,
1367 0,
1368 0
1369};
1370
1371static const uint32_t g4_14_rings[61] =
1372{
1373 1,
1374 4,
1375 10,
1376 20,
1377 35,
1378 56,
1379 84,
1380 120,
1381 165,
1382 220,
1383 286,
1384 364,
1385 455,
1386 560,
1387 676,
1388 800,
1389 929,
1390 1060,
1391 1190,
1392 1316,
1393 1435,
1394 1544,
1395 1640,
1396 1720,
1397 1781,
1398 1820,
1399 1834,
1400 1820,
1401 1781,
1402 1720,
1403 1640,
1404 1544,
1405 1435,
1406 1316,
1407 1190,
1408 1060,
1409 929,
1410 800,
1411 676,
1412 560,
1413 455,
1414 364,
1415 286,
1416 220,
1417 165,
1418 120,
1419 84,
1420 56,
1421 35,
1422 20,
1423 10,
1424 4,
1425 1,
1426 0,
1427 0,
1428 0,
1429 0,
1430 0,
1431 0,
1432 0,
1433 0
1434};
1435
1436static const uint32_t z8_14_rings[61] =
1437{
1438 0x00000000,
1439 0x00000001,
1440 0x00000009,
1441 0x0000002D,
1442 0x000000A5,
1443 0x000001EF,
1444 0x00000507,
1445 0x00000BBB,
1446 0x00001923,
1447 0x00003246,
1448 0x00005EF6,
1449 0x0000AAEE,
1450 0x0001273E,
1451 0x0001EC12,
1452 0x00031AE2,
1453 0x0004E112,
1454 0x00077B02,
1455 0x000B3787,
1456 0x00107BBF,
1457 0x0017C72B,
1458 0x0021B7F3,
1459 0x002F0F31,
1460 0x0040B519,
1461 0x0057BCCD,
1462 0x007567A5,
1463 0x009B27AC,
1464 0x00CAA10C,
1465 0x0105AA1C,
1466 0x014E49BC,
1467 0x01A6B3C0,
1468 0x02114340,
1469 0x029072B8,
1470 0x0326D1F8,
1471 0x03D6F9F9,
1472 0x04A37EC1,
1473 0x058EDF95,
1474 0x069B75CD,
1475 0x07CB62B3,
1476 0x09207CEB,
1477 0x0A9C3DF7,
1478 0x0C3FB07F,
1479 0x0E0B601A,
1480 0x0FFF4B6A,
1481 0x121AD93A,
1482 0x145CD12A,
1483 0x16C35852,
1484 0x194BF222,
1485 0x1BF385A2,
1486 0x1EB66712,
1487 0x219065C7,
1488 0x247CDDFF,
1489 0x2776CE43,
1490 0x2A78EFCB,
1491 0x2D7DD135,
1492 0x307FF2BD,
1493 0x3379E301,
1494 0x36665B39,
1495 0x394059EE,
1496 0x3C033B5E,
1497 0x3EAACEDE,
1498 0x413368AE
1499};
1500
1501/* 15 rings deals with up to 31 bits */
1502static const uint32_t g2_15_rings[57] =
1503{
1504 1,
1505 2,
1506 3,
1507 4,
1508 5,
1509 6,
1510 7,
1511 8,
1512 9,
1513 10,
1514 11,
1515 12,
1516 13,
1517 14,
1518 15,
1519 14,
1520 13,
1521 12,
1522 11,
1523 10,
1524 9,
1525 8,
1526 7,
1527 6,
1528 5,
1529 4,
1530 3,
1531 2,
1532 1,
1533 0,
1534 0,
1535 0,
1536 0,
1537 0,
1538 0,
1539 0,
1540 0,
1541 0,
1542 0,
1543 0,
1544 0,
1545 0,
1546 0,
1547 0,
1548 0,
1549 0,
1550 0,
1551 0,
1552 0,
1553 0,
1554 0,
1555 0,
1556 0,
1557 0,
1558 0,
1559 0,
1560 0
1561};
1562
1563static const uint32_t g4_15_rings[70] =
1564{
1565 1,
1566 4,
1567 10,
1568 20,
1569 35,
1570 56,
1571 84,
1572 120,
1573 165,
1574 220,
1575 286,
1576 364,
1577 455,
1578 560,
1579 680,
1580 812,
1581 953,
1582 1100,
1583 1250,
1584 1400,
1585 1547,
1586 1688,
1587 1820,
1588 1940,
1589 2045,
1590 2132,
1591 2198,
1592 2240,
1593 2255,
1594 2240,
1595 2198,
1596 2132,
1597 2045,
1598 1940,
1599 1820,
1600 1688,
1601 1547,
1602 1400,
1603 1250,
1604 1100,
1605 953,
1606 812,
1607 680,
1608 560,
1609 455,
1610 364,
1611 286,
1612 220,
1613 165,
1614 120,
1615 84,
1616 56,
1617 35,
1618 20,
1619 10,
1620 4,
1621 1,
1622 0,
1623 0,
1624 0,
1625 0,
1626 0,
1627 0,
1628 0,
1629 0,
1630 0,
1631 0,
1632 0,
1633 0,
1634 0
1635};
1636
1637static const uint32_t z8_15_rings[70] =
1638{
1639 0x00000000,
1640 0x00000001,
1641 0x00000009,
1642 0x0000002D,
1643 0x000000A5,
1644 0x000001EF,
1645 0x00000507,
1646 0x00000BBB,
1647 0x00001923,
1648 0x00003246,
1649 0x00005EF6,
1650 0x0000AAEE,
1651 0x0001273E,
1652 0x0001EC12,
1653 0x00031AE2,
1654 0x0004E11A,
1655 0x00077B42,
1656 0x000B38A7,
1657 0x00107F7F,
1658 0x0017D17B,
1659 0x0021D0B3,
1660 0x002F44D1,
1661 0x00412059,
1662 0x005885E5,
1663 0x0076CD25,
1664 0x009D876C,
1665 0x00CE838C,
1666 0x010BD0BC,
1667 0x0157C03C,
1668 0x01B4E564,
1669 0x022613C4,
1670 0x02AE5B10,
1671 0x035100A8,
1672 0x041176A1,
1673 0x04F35049,
1674 0x05FA3435,
1675 0x0729CBFD,
1676 0x0885B1DF,
1677 0x0A115C97,
1678 0x0BD009CF,
1679 0x0DC4A79F,
1680 0x0FF1BDAA,
1681 0x1259567A,
1682 0x14FCE9D2,
1683 0x17DD48C2,
1684 0x1AFA8C5E,
1685 0x1E5407D6,
1686 0x21E83E8A,
1687 0x25B4DE92,
1688 0x29B6C00F,
1689 0x2DE9E977,
1690 0x324998EB,
1691 0x36D05283,
1692 0x3B77F359,
1693 0x4039C8F9,
1694 0x450EACB9,
1695 0x49EF2259,
1696 0x4ED37928,
1697 0x53B3EEC8,
1698 0x5888D288,
1699 0x5D4AA828,
1700 0x61F248FE,
1701 0x66790296,
1702 0x6AD8B20A,
1703 0x6F0BDB72,
1704 0x730DBCEF,
1705 0x76DA5CF7,
1706 0x7A6E93AB,
1707 0x7DC80F23,
1708 0x80E552BF
1709};
1710
1711/* 17 rings deals with up to 30 bits */
1712static const uint32_t g2_17_rings[65] =
1713{
1714 1,
1715 2,
1716 3,
1717 4,
1718 5,
1719 6,
1720 7,
1721 8,
1722 9,
1723 10,
1724 11,
1725 12,
1726 13,
1727 14,
1728 15,
1729 16,
1730 17,
1731 16,
1732 15,
1733 14,
1734 13,
1735 12,
1736 11,
1737 10,
1738 9,
1739 8,
1740 7,
1741 6,
1742 5,
1743 4,
1744 3,
1745 2,
1746 1,
1747 0,
1748 0,
1749 0,
1750 0,
1751 0,
1752 0,
1753 0,
1754 0,
1755 0,
1756 0,
1757 0,
1758 0,
1759 0,
1760 0,
1761 0,
1762 0,
1763 0,
1764 0,
1765 0,
1766 0,
1767 0,
1768 0,
1769 0,
1770 0,
1771 0,
1772 0,
1773 0,
1774 0,
1775 0,
1776 0,
1777 0,
1778 0
1779};
1780
1781static const uint32_t g4_17_rings[52] =
1782{
1783 1,
1784 4,
1785 10,
1786 20,
1787 35,
1788 56,
1789 84,
1790 120,
1791 165,
1792 220,
1793 286,
1794 364,
1795 455,
1796 560,
1797 680,
1798 816,
1799 969,
1800 1136,
1801 1314,
1802 1500,
1803 1691,
1804 1884,
1805 2076,
1806 2264,
1807 2445,
1808 2616,
1809 2774,
1810 2916,
1811 3039,
1812 3140,
1813 3216,
1814 3264,
1815 3281,
1816 3264,
1817 3216,
1818 3140,
1819 3039,
1820 2916,
1821 2774,
1822 2616,
1823 2445,
1824 2264,
1825 2076,
1826 1884,
1827 1691,
1828 1500,
1829 1314,
1830 1136,
1831 969,
1832 816,
1833 680,
1834 560
1835};
1836
1837static const uint32_t z8_17_rings[52] =
1838{
1839 0x00000000,
1840 0x00000001,
1841 0x00000009,
1842 0x0000002D,
1843 0x000000A5,
1844 0x000001EF,
1845 0x00000507,
1846 0x00000BBB,
1847 0x00001923,
1848 0x00003246,
1849 0x00005EF6,
1850 0x0000AAEE,
1851 0x0001273E,
1852 0x0001EC12,
1853 0x00031AE2,
1854 0x0004E11A,
1855 0x00077B4A,
1856 0x000B38EF,
1857 0x001080DF,
1858 0x0017D65B,
1859 0x0021DEC3,
1860 0x002F67E1,
1861 0x00416EB9,
1862 0x005926C5,
1863 0x0078017D,
1864 0x009FB604,
1865 0x00D248CC,
1866 0x011212FC,
1867 0x0161C95C,
1868 0x01C48284,
1869 0x023DBC04,
1870 0x02D15E34,
1871 0x0383BE54,
1872 0x04599E9D,
1873 0x05582BDD,
1874 0x0684F84D,
1875 0x07E5F365,
1876 0x09815E87,
1877 0x0B5DBE6F,
1878 0x0D81C96B,
1879 0x0FF45273,
1880 0x12BC314E,
1881 0x15E02806,
1882 0x1966C602,
1883 0x1D564932,
1884 0x21B47DCE,
1885 0x26869D3E,
1886 0x2BD12CD6,
1887 0x3197DD26,
1888 0x37DD6AB3,
1889 0x3EA38103,
1890 0x45EAA0FB
1891};
1892
1893/* 18 rings deals with up to 31 bits */
1894static const uint32_t g2_18_rings[69] =
1895{
1896 1,
1897 2,
1898 3,
1899 4,
1900 5,
1901 6,
1902 7,
1903 8,
1904 9,
1905 10,
1906 11,
1907 12,
1908 13,
1909 14,
1910 15,
1911 16,
1912 17,
1913 18,
1914 17,
1915 16,
1916 15,
1917 14,
1918 13,
1919 12,
1920 11,
1921 10,
1922 9,
1923 8,
1924 7,
1925 6,
1926 5,
1927 4,
1928 3,
1929 2,
1930 1,
1931 0,
1932 0,
1933 0,
1934 0,
1935 0,
1936 0,
1937 0,
1938 0,
1939 0,
1940 0,
1941 0,
1942 0,
1943 0,
1944 0,
1945 0,
1946 0,
1947 0,
1948 0,
1949 0,
1950 0,
1951 0,
1952 0,
1953 0,
1954 0,
1955 0,
1956 0,
1957 0,
1958 0,
1959 0,
1960 0,
1961 0,
1962 0,
1963 0,
1964 0
1965};
1966
1967static const uint32_t g4_18_rings[57] =
1968{
1969 1,
1970 4,
1971 10,
1972 20,
1973 35,
1974 56,
1975 84,
1976 120,
1977 165,
1978 220,
1979 286,
1980 364,
1981 455,
1982 560,
1983 680,
1984 816,
1985 969,
1986 1140,
1987 1326,
1988 1524,
1989 1731,
1990 1944,
1991 2160,
1992 2376,
1993 2589,
1994 2796,
1995 2994,
1996 3180,
1997 3351,
1998 3504,
1999 3636,
2000 3744,
2001 3825,
2002 3876,
2003 3894,
2004 3876,
2005 3825,
2006 3744,
2007 3636,
2008 3504,
2009 3351,
2010 3180,
2011 2994,
2012 2796,
2013 2589,
2014 2376,
2015 2160,
2016 1944,
2017 1731,
2018 1524,
2019 1326,
2020 1140,
2021 969,
2022 816,
2023 680,
2024 560,
2025 455
2026};
2027
2028static const uint32_t z8_18_rings[57] =
2029{
2030 0x00000000,
2031 0x00000001,
2032 0x00000009,
2033 0x0000002D,
2034 0x000000A5,
2035 0x000001EF,
2036 0x00000507,
2037 0x00000BBB,
2038 0x00001923,
2039 0x00003246,
2040 0x00005EF6,
2041 0x0000AAEE,
2042 0x0001273E,
2043 0x0001EC12,
2044 0x00031AE2,
2045 0x0004E11A,
2046 0x00077B4A,
2047 0x000B38EF,
2048 0x001080E7,
2049 0x0017D69B,
2050 0x0021DFE3,
2051 0x002F6BA1,
2052 0x00417909,
2053 0x00593F85,
2054 0x0078371D,
2055 0x00A02144,
2056 0x00D311E4,
2057 0x0113787C,
2058 0x0164291C,
2059 0x01C86504,
2060 0x0243E2A4,
2061 0x02DAD4B4,
2062 0x0391F014,
2063 0x046E701D,
2064 0x05761905,
2065 0x06AF37F1,
2066 0x0820A049,
2067 0x09D1A5F7,
2068 0x0BCA144F,
2069 0x0E122173,
2070 0x10B25E1B,
2071 0x13B3A1BE,
2072 0x171EF32E,
2073 0x1AFD6DCE,
2074 0x1F58239E,
2075 0x2437FC6E,
2076 0x29A5929E,
2077 0x2FA90DE6,
2078 0x3649FCB6,
2079 0x3D8F2CD3,
2080 0x457E83EB,
2081 0x4E1CD8EF,
2082 0x576DCF17,
2083 0x6173B389,
2084 0x6C2F5EB1,
2085 0x77A01A35,
2086 0x83C38C4D
2087};
2088
2089static const uint32_t *g2s[19] =
2090{
2091 NULL,
2092 g2_1_rings,
2093 g2_2_rings,
2094 g2_3_rings,
2095 g2_4_rings,
2096 g2_5_rings,
2097 g2_6_rings,
2098 g2_7_rings,
2099 g2_8_rings,
2100 g2_9_rings,
2101 g2_10_rings,
2102 g2_11_rings,
2103 g2_12_rings,
2104 g2_13_rings,
2105 g2_14_rings,
2106 g2_15_rings,
2107 NULL,
2108 g2_17_rings,
2109 g2_18_rings
2110};
2111
2112static const uint32_t *g4s[19] =
2113{
2114 NULL,
2115 g4_1_rings,
2116 g4_2_rings,
2117 g4_3_rings,
2118 g4_4_rings,
2119 g4_5_rings,
2120 g4_6_rings,
2121 g4_7_rings,
2122 g4_8_rings,
2123 g4_9_rings,
2124 g4_10_rings,
2125 g4_11_rings,
2126 g4_12_rings,
2127 g4_13_rings,
2128 g4_14_rings,
2129 g4_15_rings,
2130 NULL,
2131 g4_17_rings,
2132 g4_18_rings
2133};
2134
2135static const uint32_t *z8s[19] =
2136{
2137 NULL,
2138 z8_1_rings,
2139 z8_2_rings,
2140 z8_3_rings,
2141 z8_4_rings,
2142 z8_5_rings,
2143 z8_6_rings,
2144 z8_7_rings,
2145 z8_8_rings,
2146 z8_9_rings,
2147 z8_10_rings,
2148 z8_11_rings,
2149 z8_12_rings,
2150 z8_13_rings,
2151 z8_14_rings,
2152 z8_15_rings,
2153 NULL,
2154 z8_17_rings,
2155 z8_18_rings
2156};
2157
2158/*- End of file ------------------------------------------------------------*/