authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-10-20 01:02:48+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-10-20 02:55:29+02:00
log39ca9cae4381798df67ce6640aaf9bd32b03c358
tree171c18eca8e87e9c33978635bf05c98781edc8f1
parentaac91a1ac8c2a7edafe1966702d012da580376ad
signature Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

update_cpu_features: omit/flatten a bunch of csky features


2 files changed, 79 insertions(+), 457 deletions(-)

lib/std/Target/csky.zig-457
......@@ -14,19 +14,6 @@ pub const Feature = enum {
1414 @"7e10",
1515 btst16,
1616 cache,
17 ccrt,
18 ck801,
19 ck802,
20 ck803,
21 ck803s,
22 ck804,
23 ck805,
24 ck807,
25 ck810,
26 ck810v,
27 ck860,
28 ck860v,
29 constpool,
3017 doloop,
3118 dsp1e2,
3219 dsp_silan,
......@@ -57,10 +44,6 @@ pub const Feature = enum {
5744 java,
5845 mp,
5946 mp1e2,
60 multiple_stld,
61 nvic,
62 pushpop,
63 smart,
6447 soft_tp,
6548 stack_size,
6649 trust,
......@@ -137,71 +120,6 @@ pub const all_features = blk: {
137120 .description = "Enable cache",
138121 .dependencies = featureSet(&[_]Feature{}),
139122 };
140 result[@backingInt(Feature.ccrt)] = .{
141 .llvm_name = "ccrt",
142 .description = "Use CSKY compiler runtime",
143 .dependencies = featureSet(&[_]Feature{}),
144 };
145 result[@backingInt(Feature.ck801)] = .{
146 .llvm_name = "ck801",
147 .description = "CSKY ck801 processors",
148 .dependencies = featureSet(&[_]Feature{}),
149 };
150 result[@backingInt(Feature.ck802)] = .{
151 .llvm_name = "ck802",
152 .description = "CSKY ck802 processors",
153 .dependencies = featureSet(&[_]Feature{}),
154 };
155 result[@backingInt(Feature.ck803)] = .{
156 .llvm_name = "ck803",
157 .description = "CSKY ck803 processors",
158 .dependencies = featureSet(&[_]Feature{}),
159 };
160 result[@backingInt(Feature.ck803s)] = .{
161 .llvm_name = "ck803s",
162 .description = "CSKY ck803s processors",
163 .dependencies = featureSet(&[_]Feature{}),
164 };
165 result[@backingInt(Feature.ck804)] = .{
166 .llvm_name = "ck804",
167 .description = "CSKY ck804 processors",
168 .dependencies = featureSet(&[_]Feature{}),
169 };
170 result[@backingInt(Feature.ck805)] = .{
171 .llvm_name = "ck805",
172 .description = "CSKY ck805 processors",
173 .dependencies = featureSet(&[_]Feature{}),
174 };
175 result[@backingInt(Feature.ck807)] = .{
176 .llvm_name = "ck807",
177 .description = "CSKY ck807 processors",
178 .dependencies = featureSet(&[_]Feature{}),
179 };
180 result[@backingInt(Feature.ck810)] = .{
181 .llvm_name = "ck810",
182 .description = "CSKY ck810 processors",
183 .dependencies = featureSet(&[_]Feature{}),
184 };
185 result[@backingInt(Feature.ck810v)] = .{
186 .llvm_name = "ck810v",
187 .description = "CSKY ck810v processors",
188 .dependencies = featureSet(&[_]Feature{}),
189 };
190 result[@backingInt(Feature.ck860)] = .{
191 .llvm_name = "ck860",
192 .description = "CSKY ck860 processors",
193 .dependencies = featureSet(&[_]Feature{}),
194 };
195 result[@backingInt(Feature.ck860v)] = .{
196 .llvm_name = "ck860v",
197 .description = "CSKY ck860v processors",
198 .dependencies = featureSet(&[_]Feature{}),
199 };
200 result[@backingInt(Feature.constpool)] = .{
201 .llvm_name = "constpool",
202 .description = "Dump the constant pool by compiler",
203 .dependencies = featureSet(&[_]Feature{}),
204 };
205123 result[@backingInt(Feature.doloop)] = .{
206124 .llvm_name = "doloop",
207125 .description = "Enable doloop instructions",
......@@ -360,26 +278,6 @@ pub const all_features = blk: {
360278 .@"3e7",
361279 }),
362280 };
363 result[@backingInt(Feature.multiple_stld)] = .{
364 .llvm_name = "multiple_stld",
365 .description = "Enable multiple load/store instructions",
366 .dependencies = featureSet(&[_]Feature{}),
367 };
368 result[@backingInt(Feature.nvic)] = .{
369 .llvm_name = "nvic",
370 .description = "Enable NVIC",
371 .dependencies = featureSet(&[_]Feature{}),
372 };
373 result[@backingInt(Feature.pushpop)] = .{
374 .llvm_name = "pushpop",
375 .description = "Enable push/pop instructions",
376 .dependencies = featureSet(&[_]Feature{}),
377 };
378 result[@backingInt(Feature.smart)] = .{
379 .llvm_name = "smart",
380 .description = "Let CPU work in Smart Mode",
381 .dependencies = featureSet(&[_]Feature{}),
382 };
383281 result[@backingInt(Feature.soft_tp)] = .{
384282 .llvm_name = "soft-tp",
385283 .description = "Disable TLS Pointer register",
......@@ -429,7 +327,6 @@ pub const cpu = struct {
429327 .llvm_name = "c807",
430328 .features = featureSet(&[_]Feature{
431329 .cache,
432 .ck807,
433330 .dsp1e2,
434331 .dspe60,
435332 .edsp,
......@@ -438,7 +335,6 @@ pub const cpu = struct {
438335 .hwdiv,
439336 .mp,
440337 .mp1e2,
441 .nvic,
442338 .trust,
443339 }),
444340 };
......@@ -447,7 +343,6 @@ pub const cpu = struct {
447343 .llvm_name = "c807f",
448344 .features = featureSet(&[_]Feature{
449345 .cache,
450 .ck807,
451346 .dsp1e2,
452347 .dspe60,
453348 .edsp,
......@@ -463,7 +358,6 @@ pub const cpu = struct {
463358 .hwdiv,
464359 .mp,
465360 .mp1e2,
466 .nvic,
467361 .trust,
468362 }),
469363 };
......@@ -473,7 +367,6 @@ pub const cpu = struct {
473367 .features = featureSet(&[_]Feature{
474368 .@"7e10",
475369 .cache,
476 .ck810,
477370 .dsp1e2,
478371 .dspe60,
479372 .edsp,
......@@ -487,7 +380,6 @@ pub const cpu = struct {
487380 .hwdiv,
488381 .mp,
489382 .mp1e2,
490 .nvic,
491383 .trust,
492384 }),
493385 };
......@@ -497,7 +389,6 @@ pub const cpu = struct {
497389 .features = featureSet(&[_]Feature{
498390 .@"7e10",
499391 .cache,
500 .ck810,
501392 .dsp1e2,
502393 .dspe60,
503394 .edsp,
......@@ -511,7 +402,6 @@ pub const cpu = struct {
511402 .hwdiv,
512403 .mp,
513404 .mp1e2,
514 .nvic,
515405 .trust,
516406 }),
517407 };
......@@ -521,8 +411,6 @@ pub const cpu = struct {
521411 .features = featureSet(&[_]Feature{
522412 .@"7e10",
523413 .cache,
524 .ck810,
525 .ck810v,
526414 .dsp1e2,
527415 .dspe60,
528416 .edsp,
......@@ -536,7 +424,6 @@ pub const cpu = struct {
536424 .hwdiv,
537425 .mp,
538426 .mp1e2,
539 .nvic,
540427 .trust,
541428 .vdspv1,
542429 }),
......@@ -547,8 +434,6 @@ pub const cpu = struct {
547434 .features = featureSet(&[_]Feature{
548435 .@"7e10",
549436 .cache,
550 .ck810,
551 .ck810v,
552437 .dsp1e2,
553438 .dspe60,
554439 .edsp,
......@@ -562,7 +447,6 @@ pub const cpu = struct {
562447 .hwdiv,
563448 .mp,
564449 .mp1e2,
565 .nvic,
566450 .trust,
567451 .vdspv1,
568452 }),
......@@ -576,7 +460,6 @@ pub const cpu = struct {
576460 .@"3e3r3",
577461 .btst16,
578462 .cache,
579 .ck860,
580463 .dspe60,
581464 .float7e60,
582465 .fpuv3_df,
......@@ -588,7 +471,6 @@ pub const cpu = struct {
588471 .hwdiv,
589472 .mp,
590473 .mp1e2,
591 .nvic,
592474 .trust,
593475 }),
594476 };
......@@ -601,8 +483,6 @@ pub const cpu = struct {
601483 .@"3e3r3",
602484 .btst16,
603485 .cache,
604 .ck860,
605 .ck860v,
606486 .dspe60,
607487 .float7e60,
608488 .fpuv3_df,
......@@ -614,7 +494,6 @@ pub const cpu = struct {
614494 .hwdiv,
615495 .mp,
616496 .mp1e2,
617 .nvic,
618497 .trust,
619498 .vdsp2e60f,
620499 .vdspv2,
......@@ -625,7 +504,6 @@ pub const cpu = struct {
625504 .llvm_name = "ck801",
626505 .features = featureSet(&[_]Feature{
627506 .btst16,
628 .ck801,
629507 .e1,
630508 .trust,
631509 }),
......@@ -635,7 +513,6 @@ pub const cpu = struct {
635513 .llvm_name = "ck801t",
636514 .features = featureSet(&[_]Feature{
637515 .btst16,
638 .ck801,
639516 .e1,
640517 .trust,
641518 }),
......@@ -645,9 +522,7 @@ pub const cpu = struct {
645522 .llvm_name = "ck802",
646523 .features = featureSet(&[_]Feature{
647524 .btst16,
648 .ck802,
649525 .e2,
650 .nvic,
651526 .trust,
652527 }),
653528 };
......@@ -656,10 +531,8 @@ pub const cpu = struct {
656531 .llvm_name = "ck802j",
657532 .features = featureSet(&[_]Feature{
658533 .btst16,
659 .ck802,
660534 .e2,
661535 .java,
662 .nvic,
663536 .trust,
664537 }),
665538 };
......@@ -668,9 +541,7 @@ pub const cpu = struct {
668541 .llvm_name = "ck802t",
669542 .features = featureSet(&[_]Feature{
670543 .btst16,
671 .ck802,
672544 .e2,
673 .nvic,
674545 .trust,
675546 }),
676547 };
......@@ -679,10 +550,8 @@ pub const cpu = struct {
679550 .llvm_name = "ck803",
680551 .features = featureSet(&[_]Feature{
681552 .btst16,
682 .ck803,
683553 .hwdiv,
684554 .mp,
685 .nvic,
686555 .trust,
687556 }),
688557 };
......@@ -691,13 +560,11 @@ pub const cpu = struct {
691560 .llvm_name = "ck803e",
692561 .features = featureSet(&[_]Feature{
693562 .btst16,
694 .ck803,
695563 .dsp1e2,
696564 .dspe60,
697565 .edsp,
698566 .hwdiv,
699567 .mp,
700 .nvic,
701568 .trust,
702569 }),
703570 };
......@@ -706,7 +573,6 @@ pub const cpu = struct {
706573 .llvm_name = "ck803ef",
707574 .features = featureSet(&[_]Feature{
708575 .btst16,
709 .ck803,
710576 .dsp1e2,
711577 .dspe60,
712578 .edsp,
......@@ -715,7 +581,6 @@ pub const cpu = struct {
715581 .fpuv2_sf,
716582 .hwdiv,
717583 .mp,
718 .nvic,
719584 .trust,
720585 }),
721586 };
......@@ -724,7 +589,6 @@ pub const cpu = struct {
724589 .llvm_name = "ck803efh",
725590 .features = featureSet(&[_]Feature{
726591 .btst16,
727 .ck803,
728592 .dsp1e2,
729593 .dspe60,
730594 .edsp,
......@@ -733,7 +597,6 @@ pub const cpu = struct {
733597 .fpuv2_sf,
734598 .hwdiv,
735599 .mp,
736 .nvic,
737600 .trust,
738601 }),
739602 };
......@@ -743,7 +606,6 @@ pub const cpu = struct {
743606 .features = featureSet(&[_]Feature{
744607 .@"3e3r1",
745608 .btst16,
746 .ck803,
747609 .dsp1e2,
748610 .dspe60,
749611 .dspv2,
......@@ -754,7 +616,6 @@ pub const cpu = struct {
754616 .high_registers,
755617 .hwdiv,
756618 .mp,
757 .nvic,
758619 .trust,
759620 }),
760621 };
......@@ -765,7 +626,6 @@ pub const cpu = struct {
765626 .@"3e3r2",
766627 .@"3e3r3",
767628 .btst16,
768 .ck803,
769629 .dsp1e2,
770630 .dspe60,
771631 .dspv2,
......@@ -776,7 +636,6 @@ pub const cpu = struct {
776636 .high_registers,
777637 .hwdiv,
778638 .mp,
779 .nvic,
780639 .trust,
781640 }),
782641 };
......@@ -787,7 +646,6 @@ pub const cpu = struct {
787646 .@"3e3r2",
788647 .@"3e3r3",
789648 .btst16,
790 .ck803,
791649 .dsp1e2,
792650 .dspe60,
793651 .dspv2,
......@@ -798,7 +656,6 @@ pub const cpu = struct {
798656 .high_registers,
799657 .hwdiv,
800658 .mp,
801 .nvic,
802659 .trust,
803660 }),
804661 };
......@@ -807,7 +664,6 @@ pub const cpu = struct {
807664 .llvm_name = "ck803efht",
808665 .features = featureSet(&[_]Feature{
809666 .btst16,
810 .ck803,
811667 .dsp1e2,
812668 .dspe60,
813669 .edsp,
......@@ -816,7 +672,6 @@ pub const cpu = struct {
816672 .fpuv2_sf,
817673 .hwdiv,
818674 .mp,
819 .nvic,
820675 .trust,
821676 }),
822677 };
......@@ -826,7 +681,6 @@ pub const cpu = struct {
826681 .features = featureSet(&[_]Feature{
827682 .@"3e3r1",
828683 .btst16,
829 .ck803,
830684 .dsp1e2,
831685 .dspe60,
832686 .dspv2,
......@@ -837,7 +691,6 @@ pub const cpu = struct {
837691 .high_registers,
838692 .hwdiv,
839693 .mp,
840 .nvic,
841694 .trust,
842695 }),
843696 };
......@@ -848,7 +701,6 @@ pub const cpu = struct {
848701 .@"3e3r2",
849702 .@"3e3r3",
850703 .btst16,
851 .ck803,
852704 .dsp1e2,
853705 .dspe60,
854706 .dspv2,
......@@ -859,7 +711,6 @@ pub const cpu = struct {
859711 .high_registers,
860712 .hwdiv,
861713 .mp,
862 .nvic,
863714 .trust,
864715 }),
865716 };
......@@ -870,7 +721,6 @@ pub const cpu = struct {
870721 .@"3e3r2",
871722 .@"3e3r3",
872723 .btst16,
873 .ck803,
874724 .dsp1e2,
875725 .dspe60,
876726 .dspv2,
......@@ -881,7 +731,6 @@ pub const cpu = struct {
881731 .high_registers,
882732 .hwdiv,
883733 .mp,
884 .nvic,
885734 .trust,
886735 }),
887736 };
......@@ -891,7 +740,6 @@ pub const cpu = struct {
891740 .features = featureSet(&[_]Feature{
892741 .@"3e3r1",
893742 .btst16,
894 .ck803,
895743 .dsp1e2,
896744 .dspe60,
897745 .dspv2,
......@@ -902,7 +750,6 @@ pub const cpu = struct {
902750 .high_registers,
903751 .hwdiv,
904752 .mp,
905 .nvic,
906753 .trust,
907754 }),
908755 };
......@@ -913,7 +760,6 @@ pub const cpu = struct {
913760 .@"3e3r2",
914761 .@"3e3r3",
915762 .btst16,
916 .ck803,
917763 .dsp1e2,
918764 .dspe60,
919765 .dspv2,
......@@ -924,7 +770,6 @@ pub const cpu = struct {
924770 .high_registers,
925771 .hwdiv,
926772 .mp,
927 .nvic,
928773 .trust,
929774 }),
930775 };
......@@ -935,7 +780,6 @@ pub const cpu = struct {
935780 .@"3e3r2",
936781 .@"3e3r3",
937782 .btst16,
938 .ck803,
939783 .dsp1e2,
940784 .dspe60,
941785 .dspv2,
......@@ -946,7 +790,6 @@ pub const cpu = struct {
946790 .high_registers,
947791 .hwdiv,
948792 .mp,
949 .nvic,
950793 .trust,
951794 }),
952795 };
......@@ -955,7 +798,6 @@ pub const cpu = struct {
955798 .llvm_name = "ck803eft",
956799 .features = featureSet(&[_]Feature{
957800 .btst16,
958 .ck803,
959801 .dsp1e2,
960802 .dspe60,
961803 .edsp,
......@@ -964,7 +806,6 @@ pub const cpu = struct {
964806 .fpuv2_sf,
965807 .hwdiv,
966808 .mp,
967 .nvic,
968809 .trust,
969810 }),
970811 };
......@@ -974,7 +815,6 @@ pub const cpu = struct {
974815 .features = featureSet(&[_]Feature{
975816 .@"3e3r1",
976817 .btst16,
977 .ck803,
978818 .dsp1e2,
979819 .dspe60,
980820 .dspv2,
......@@ -985,7 +825,6 @@ pub const cpu = struct {
985825 .high_registers,
986826 .hwdiv,
987827 .mp,
988 .nvic,
989828 .trust,
990829 }),
991830 };
......@@ -996,7 +835,6 @@ pub const cpu = struct {
996835 .@"3e3r2",
997836 .@"3e3r3",
998837 .btst16,
999 .ck803,
1000838 .dsp1e2,
1001839 .dspe60,
1002840 .dspv2,
......@@ -1007,7 +845,6 @@ pub const cpu = struct {
1007845 .high_registers,
1008846 .hwdiv,
1009847 .mp,
1010 .nvic,
1011848 .trust,
1012849 }),
1013850 };
......@@ -1018,7 +855,6 @@ pub const cpu = struct {
1018855 .@"3e3r2",
1019856 .@"3e3r3",
1020857 .btst16,
1021 .ck803,
1022858 .dsp1e2,
1023859 .dspe60,
1024860 .dspv2,
......@@ -1029,7 +865,6 @@ pub const cpu = struct {
1029865 .high_registers,
1030866 .hwdiv,
1031867 .mp,
1032 .nvic,
1033868 .trust,
1034869 }),
1035870 };
......@@ -1038,13 +873,11 @@ pub const cpu = struct {
1038873 .llvm_name = "ck803eh",
1039874 .features = featureSet(&[_]Feature{
1040875 .btst16,
1041 .ck803,
1042876 .dsp1e2,
1043877 .dspe60,
1044878 .edsp,
1045879 .hwdiv,
1046880 .mp,
1047 .nvic,
1048881 .trust,
1049882 }),
1050883 };
......@@ -1055,7 +888,6 @@ pub const cpu = struct {
1055888 .@"3e3r1",
1056889 .@"3e3r3",
1057890 .btst16,
1058 .ck803,
1059891 .dsp1e2,
1060892 .dspe60,
1061893 .dspv2,
......@@ -1063,7 +895,6 @@ pub const cpu = struct {
1063895 .high_registers,
1064896 .hwdiv,
1065897 .mp,
1066 .nvic,
1067898 .trust,
1068899 }),
1069900 };
......@@ -1074,7 +905,6 @@ pub const cpu = struct {
1074905 .@"3e3r2",
1075906 .@"3e3r3",
1076907 .btst16,
1077 .ck803,
1078908 .dsp1e2,
1079909 .dspe60,
1080910 .dspv2,
......@@ -1082,7 +912,6 @@ pub const cpu = struct {
1082912 .high_registers,
1083913 .hwdiv,
1084914 .mp,
1085 .nvic,
1086915 .trust,
1087916 }),
1088917 };
......@@ -1093,7 +922,6 @@ pub const cpu = struct {
1093922 .@"3e3r2",
1094923 .@"3e3r3",
1095924 .btst16,
1096 .ck803,
1097925 .dsp1e2,
1098926 .dspe60,
1099927 .dspv2,
......@@ -1101,7 +929,6 @@ pub const cpu = struct {
1101929 .high_registers,
1102930 .hwdiv,
1103931 .mp,
1104 .nvic,
1105932 .trust,
1106933 }),
1107934 };
......@@ -1110,13 +937,11 @@ pub const cpu = struct {
1110937 .llvm_name = "ck803eht",
1111938 .features = featureSet(&[_]Feature{
1112939 .btst16,
1113 .ck803,
1114940 .dsp1e2,
1115941 .dspe60,
1116942 .edsp,
1117943 .hwdiv,
1118944 .mp,
1119 .nvic,
1120945 .trust,
1121946 }),
1122947 };
......@@ -1127,7 +952,6 @@ pub const cpu = struct {
1127952 .@"3e3r1",
1128953 .@"3e3r3",
1129954 .btst16,
1130 .ck803,
1131955 .dsp1e2,
1132956 .dspe60,
1133957 .dspv2,
......@@ -1135,7 +959,6 @@ pub const cpu = struct {
1135959 .high_registers,
1136960 .hwdiv,
1137961 .mp,
1138 .nvic,
1139962 .trust,
1140963 }),
1141964 };
......@@ -1146,7 +969,6 @@ pub const cpu = struct {
1146969 .@"3e3r2",
1147970 .@"3e3r3",
1148971 .btst16,
1149 .ck803,
1150972 .dsp1e2,
1151973 .dspe60,
1152974 .dspv2,
......@@ -1154,7 +976,6 @@ pub const cpu = struct {
1154976 .high_registers,
1155977 .hwdiv,
1156978 .mp,
1157 .nvic,
1158979 .trust,
1159980 }),
1160981 };
......@@ -1165,7 +986,6 @@ pub const cpu = struct {
1165986 .@"3e3r2",
1166987 .@"3e3r3",
1167988 .btst16,
1168 .ck803,
1169989 .dsp1e2,
1170990 .dspe60,
1171991 .dspv2,
......@@ -1173,7 +993,6 @@ pub const cpu = struct {
1173993 .high_registers,
1174994 .hwdiv,
1175995 .mp,
1176 .nvic,
1177996 .trust,
1178997 }),
1179998 };
......@@ -1184,7 +1003,6 @@ pub const cpu = struct {
11841003 .@"3e3r1",
11851004 .@"3e3r3",
11861005 .btst16,
1187 .ck803,
11881006 .dsp1e2,
11891007 .dspe60,
11901008 .dspv2,
......@@ -1192,7 +1010,6 @@ pub const cpu = struct {
11921010 .high_registers,
11931011 .hwdiv,
11941012 .mp,
1195 .nvic,
11961013 .trust,
11971014 }),
11981015 };
......@@ -1203,7 +1020,6 @@ pub const cpu = struct {
12031020 .@"3e3r2",
12041021 .@"3e3r3",
12051022 .btst16,
1206 .ck803,
12071023 .dsp1e2,
12081024 .dspe60,
12091025 .dspv2,
......@@ -1211,7 +1027,6 @@ pub const cpu = struct {
12111027 .high_registers,
12121028 .hwdiv,
12131029 .mp,
1214 .nvic,
12151030 .trust,
12161031 }),
12171032 };
......@@ -1222,7 +1037,6 @@ pub const cpu = struct {
12221037 .@"3e3r2",
12231038 .@"3e3r3",
12241039 .btst16,
1225 .ck803,
12261040 .dsp1e2,
12271041 .dspe60,
12281042 .dspv2,
......@@ -1230,7 +1044,6 @@ pub const cpu = struct {
12301044 .high_registers,
12311045 .hwdiv,
12321046 .mp,
1233 .nvic,
12341047 .trust,
12351048 }),
12361049 };
......@@ -1239,13 +1052,11 @@ pub const cpu = struct {
12391052 .llvm_name = "ck803et",
12401053 .features = featureSet(&[_]Feature{
12411054 .btst16,
1242 .ck803,
12431055 .dsp1e2,
12441056 .dspe60,
12451057 .edsp,
12461058 .hwdiv,
12471059 .mp,
1248 .nvic,
12491060 .trust,
12501061 }),
12511062 };
......@@ -1256,7 +1067,6 @@ pub const cpu = struct {
12561067 .@"3e3r1",
12571068 .@"3e3r3",
12581069 .btst16,
1259 .ck803,
12601070 .dsp1e2,
12611071 .dspe60,
12621072 .dspv2,
......@@ -1264,7 +1074,6 @@ pub const cpu = struct {
12641074 .high_registers,
12651075 .hwdiv,
12661076 .mp,
1267 .nvic,
12681077 .trust,
12691078 }),
12701079 };
......@@ -1275,7 +1084,6 @@ pub const cpu = struct {
12751084 .@"3e3r2",
12761085 .@"3e3r3",
12771086 .btst16,
1278 .ck803,
12791087 .dsp1e2,
12801088 .dspe60,
12811089 .dspv2,
......@@ -1283,7 +1091,6 @@ pub const cpu = struct {
12831091 .high_registers,
12841092 .hwdiv,
12851093 .mp,
1286 .nvic,
12871094 .trust,
12881095 }),
12891096 };
......@@ -1294,7 +1101,6 @@ pub const cpu = struct {
12941101 .@"3e3r2",
12951102 .@"3e3r3",
12961103 .btst16,
1297 .ck803,
12981104 .dsp1e2,
12991105 .dspe60,
13001106 .dspv2,
......@@ -1302,7 +1108,6 @@ pub const cpu = struct {
13021108 .high_registers,
13031109 .hwdiv,
13041110 .mp,
1305 .nvic,
13061111 .trust,
13071112 }),
13081113 };
......@@ -1311,13 +1116,11 @@ pub const cpu = struct {
13111116 .llvm_name = "ck803f",
13121117 .features = featureSet(&[_]Feature{
13131118 .btst16,
1314 .ck803,
13151119 .float1e3,
13161120 .floate1,
13171121 .fpuv2_sf,
13181122 .hwdiv,
13191123 .mp,
1320 .nvic,
13211124 .trust,
13221125 }),
13231126 };
......@@ -1326,13 +1129,11 @@ pub const cpu = struct {
13261129 .llvm_name = "ck803fh",
13271130 .features = featureSet(&[_]Feature{
13281131 .btst16,
1329 .ck803,
13301132 .float1e3,
13311133 .floate1,
13321134 .fpuv2_sf,
13331135 .hwdiv,
13341136 .mp,
1335 .nvic,
13361137 .trust,
13371138 }),
13381139 };
......@@ -1343,14 +1144,12 @@ pub const cpu = struct {
13431144 .@"3e3r1",
13441145 .@"3e3r3",
13451146 .btst16,
1346 .ck803,
13471147 .dspv2,
13481148 .float1e3,
13491149 .floate1,
13501150 .fpuv2_sf,
13511151 .hwdiv,
13521152 .mp,
1353 .nvic,
13541153 .trust,
13551154 }),
13561155 };
......@@ -1361,14 +1160,12 @@ pub const cpu = struct {
13611160 .@"3e3r2",
13621161 .@"3e3r3",
13631162 .btst16,
1364 .ck803,
13651163 .dspv2,
13661164 .float1e3,
13671165 .floate1,
13681166 .fpuv2_sf,
13691167 .hwdiv,
13701168 .mp,
1371 .nvic,
13721169 .trust,
13731170 }),
13741171 };
......@@ -1379,14 +1176,12 @@ pub const cpu = struct {
13791176 .@"3e3r2",
13801177 .@"3e3r3",
13811178 .btst16,
1382 .ck803,
13831179 .dspv2,
13841180 .float1e3,
13851181 .floate1,
13861182 .fpuv2_sf,
13871183 .hwdiv,
13881184 .mp,
1389 .nvic,
13901185 .trust,
13911186 }),
13921187 };
......@@ -1397,14 +1192,12 @@ pub const cpu = struct {
13971192 .@"3e3r1",
13981193 .@"3e3r3",
13991194 .btst16,
1400 .ck803,
14011195 .dspv2,
14021196 .float1e3,
14031197 .floate1,
14041198 .fpuv2_sf,
14051199 .hwdiv,
14061200 .mp,
1407 .nvic,
14081201 .trust,
14091202 }),
14101203 };
......@@ -1415,14 +1208,12 @@ pub const cpu = struct {
14151208 .@"3e3r2",
14161209 .@"3e3r3",
14171210 .btst16,
1418 .ck803,
14191211 .dspv2,
14201212 .float1e3,
14211213 .floate1,
14221214 .fpuv2_sf,
14231215 .hwdiv,
14241216 .mp,
1425 .nvic,
14261217 .trust,
14271218 }),
14281219 };
......@@ -1433,14 +1224,12 @@ pub const cpu = struct {
14331224 .@"3e3r2",
14341225 .@"3e3r3",
14351226 .btst16,
1436 .ck803,
14371227 .dspv2,
14381228 .float1e3,
14391229 .floate1,
14401230 .fpuv2_sf,
14411231 .hwdiv,
14421232 .mp,
1443 .nvic,
14441233 .trust,
14451234 }),
14461235 };
......@@ -1449,13 +1238,11 @@ pub const cpu = struct {
14491238 .llvm_name = "ck803ft",
14501239 .features = featureSet(&[_]Feature{
14511240 .btst16,
1452 .ck803,
14531241 .float1e3,
14541242 .floate1,
14551243 .fpuv2_sf,
14561244 .hwdiv,
14571245 .mp,
1458 .nvic,
14591246 .trust,
14601247 }),
14611248 };
......@@ -1465,14 +1252,12 @@ pub const cpu = struct {
14651252 .features = featureSet(&[_]Feature{
14661253 .@"3e3r1",
14671254 .btst16,
1468 .ck803,
14691255 .dspv2,
14701256 .float1e3,
14711257 .floate1,
14721258 .fpuv2_sf,
14731259 .hwdiv,
14741260 .mp,
1475 .nvic,
14761261 .trust,
14771262 }),
14781263 };
......@@ -1483,14 +1268,12 @@ pub const cpu = struct {
14831268 .@"3e3r2",
14841269 .@"3e3r3",
14851270 .btst16,
1486 .ck803,
14871271 .dspv2,
14881272 .float1e3,
14891273 .floate1,
14901274 .fpuv2_sf,
14911275 .hwdiv,
14921276 .mp,
1493 .nvic,
14941277 .trust,
14951278 }),
14961279 };
......@@ -1501,14 +1284,12 @@ pub const cpu = struct {
15011284 .@"3e3r2",
15021285 .@"3e3r3",
15031286 .btst16,
1504 .ck803,
15051287 .dspv2,
15061288 .float1e3,
15071289 .floate1,
15081290 .fpuv2_sf,
15091291 .hwdiv,
15101292 .mp,
1511 .nvic,
15121293 .trust,
15131294 }),
15141295 };
......@@ -1517,10 +1298,8 @@ pub const cpu = struct {
15171298 .llvm_name = "ck803h",
15181299 .features = featureSet(&[_]Feature{
15191300 .btst16,
1520 .ck803,
15211301 .hwdiv,
15221302 .mp,
1523 .nvic,
15241303 .trust,
15251304 }),
15261305 };
......@@ -1531,11 +1310,9 @@ pub const cpu = struct {
15311310 .@"3e3r1",
15321311 .@"3e3r3",
15331312 .btst16,
1534 .ck803,
15351313 .dspv2,
15361314 .hwdiv,
15371315 .mp,
1538 .nvic,
15391316 .trust,
15401317 }),
15411318 };
......@@ -1546,11 +1323,9 @@ pub const cpu = struct {
15461323 .@"3e3r2",
15471324 .@"3e3r3",
15481325 .btst16,
1549 .ck803,
15501326 .dspv2,
15511327 .hwdiv,
15521328 .mp,
1553 .nvic,
15541329 .trust,
15551330 }),
15561331 };
......@@ -1561,11 +1336,9 @@ pub const cpu = struct {
15611336 .@"3e3r2",
15621337 .@"3e3r3",
15631338 .btst16,
1564 .ck803,
15651339 .dspv2,
15661340 .hwdiv,
15671341 .mp,
1568 .nvic,
15691342 .trust,
15701343 }),
15711344 };
......@@ -1574,10 +1347,8 @@ pub const cpu = struct {
15741347 .llvm_name = "ck803ht",
15751348 .features = featureSet(&[_]Feature{
15761349 .btst16,
1577 .ck803,
15781350 .hwdiv,
15791351 .mp,
1580 .nvic,
15811352 .trust,
15821353 }),
15831354 };
......@@ -1588,11 +1359,9 @@ pub const cpu = struct {
15881359 .@"3e3r1",
15891360 .@"3e3r3",
15901361 .btst16,
1591 .ck803,
15921362 .dspv2,
15931363 .hwdiv,
15941364 .mp,
1595 .nvic,
15961365 .trust,
15971366 }),
15981367 };
......@@ -1603,11 +1372,9 @@ pub const cpu = struct {
16031372 .@"3e3r2",
16041373 .@"3e3r3",
16051374 .btst16,
1606 .ck803,
16071375 .dspv2,
16081376 .hwdiv,
16091377 .mp,
1610 .nvic,
16111378 .trust,
16121379 }),
16131380 };
......@@ -1618,11 +1385,9 @@ pub const cpu = struct {
16181385 .@"3e3r2",
16191386 .@"3e3r3",
16201387 .btst16,
1621 .ck803,
16221388 .dspv2,
16231389 .hwdiv,
16241390 .mp,
1625 .nvic,
16261391 .trust,
16271392 }),
16281393 };
......@@ -1633,11 +1398,9 @@ pub const cpu = struct {
16331398 .@"3e3r1",
16341399 .@"3e3r3",
16351400 .btst16,
1636 .ck803,
16371401 .dspv2,
16381402 .hwdiv,
16391403 .mp,
1640 .nvic,
16411404 .trust,
16421405 }),
16431406 };
......@@ -1648,11 +1411,9 @@ pub const cpu = struct {
16481411 .@"3e3r2",
16491412 .@"3e3r3",
16501413 .btst16,
1651 .ck803,
16521414 .dspv2,
16531415 .hwdiv,
16541416 .mp,
1655 .nvic,
16561417 .trust,
16571418 }),
16581419 };
......@@ -1663,11 +1424,9 @@ pub const cpu = struct {
16631424 .@"3e3r2",
16641425 .@"3e3r3",
16651426 .btst16,
1666 .ck803,
16671427 .dspv2,
16681428 .hwdiv,
16691429 .mp,
1670 .nvic,
16711430 .trust,
16721431 }),
16731432 };
......@@ -1677,11 +1436,8 @@ pub const cpu = struct {
16771436 .features = featureSet(&[_]Feature{
16781437 .@"3e3r1",
16791438 .btst16,
1680 .ck803,
1681 .ck803s,
16821439 .hwdiv,
16831440 .mp,
1684 .nvic,
16851441 .trust,
16861442 }),
16871443 };
......@@ -1691,14 +1447,11 @@ pub const cpu = struct {
16911447 .features = featureSet(&[_]Feature{
16921448 .@"3e3r1",
16931449 .btst16,
1694 .ck803,
1695 .ck803s,
16961450 .dsp1e2,
16971451 .dspe60,
16981452 .edsp,
16991453 .hwdiv,
17001454 .mp,
1701 .nvic,
17021455 .trust,
17031456 }),
17041457 };
......@@ -1708,8 +1461,6 @@ pub const cpu = struct {
17081461 .features = featureSet(&[_]Feature{
17091462 .@"3e3r1",
17101463 .btst16,
1711 .ck803,
1712 .ck803s,
17131464 .dsp1e2,
17141465 .dspe60,
17151466 .edsp,
......@@ -1718,7 +1469,6 @@ pub const cpu = struct {
17181469 .fpuv2_sf,
17191470 .hwdiv,
17201471 .mp,
1721 .nvic,
17221472 .trust,
17231473 }),
17241474 };
......@@ -1728,8 +1478,6 @@ pub const cpu = struct {
17281478 .features = featureSet(&[_]Feature{
17291479 .@"3e3r1",
17301480 .btst16,
1731 .ck803,
1732 .ck803s,
17331481 .dsp1e2,
17341482 .dsp_silan,
17351483 .dspe60,
......@@ -1739,7 +1487,6 @@ pub const cpu = struct {
17391487 .fpuv2_sf,
17401488 .hwdiv,
17411489 .mp,
1742 .nvic,
17431490 .trust,
17441491 }),
17451492 };
......@@ -1749,8 +1496,6 @@ pub const cpu = struct {
17491496 .features = featureSet(&[_]Feature{
17501497 .@"3e3r1",
17511498 .btst16,
1752 .ck803,
1753 .ck803s,
17541499 .dsp1e2,
17551500 .dsp_silan,
17561501 .dspe60,
......@@ -1760,7 +1505,6 @@ pub const cpu = struct {
17601505 .fpuv2_sf,
17611506 .hwdiv,
17621507 .mp,
1763 .nvic,
17641508 .trust,
17651509 }),
17661510 };
......@@ -1770,8 +1514,6 @@ pub const cpu = struct {
17701514 .features = featureSet(&[_]Feature{
17711515 .@"3e3r1",
17721516 .btst16,
1773 .ck803,
1774 .ck803s,
17751517 .dsp1e2,
17761518 .dspe60,
17771519 .edsp,
......@@ -1780,7 +1522,6 @@ pub const cpu = struct {
17801522 .fpuv2_sf,
17811523 .hwdiv,
17821524 .mp,
1783 .nvic,
17841525 .trust,
17851526 }),
17861527 };
......@@ -1790,15 +1531,12 @@ pub const cpu = struct {
17901531 .features = featureSet(&[_]Feature{
17911532 .@"3e3r1",
17921533 .btst16,
1793 .ck803,
1794 .ck803s,
17951534 .dsp1e2,
17961535 .dsp_silan,
17971536 .dspe60,
17981537 .edsp,
17991538 .hwdiv,
18001539 .mp,
1801 .nvic,
18021540 .trust,
18031541 }),
18041542 };
......@@ -1808,14 +1546,11 @@ pub const cpu = struct {
18081546 .features = featureSet(&[_]Feature{
18091547 .@"3e3r1",
18101548 .btst16,
1811 .ck803,
1812 .ck803s,
18131549 .float1e3,
18141550 .floate1,
18151551 .fpuv2_sf,
18161552 .hwdiv,
18171553 .mp,
1818 .nvic,
18191554 .trust,
18201555 }),
18211556 };
......@@ -1825,15 +1560,12 @@ pub const cpu = struct {
18251560 .features = featureSet(&[_]Feature{
18261561 .@"3e3r1",
18271562 .btst16,
1828 .ck803,
1829 .ck803s,
18301563 .dsp_silan,
18311564 .float1e3,
18321565 .floate1,
18331566 .fpuv2_sf,
18341567 .hwdiv,
18351568 .mp,
1836 .nvic,
18371569 .trust,
18381570 }),
18391571 };
......@@ -1843,12 +1575,9 @@ pub const cpu = struct {
18431575 .features = featureSet(&[_]Feature{
18441576 .@"3e3r1",
18451577 .btst16,
1846 .ck803,
1847 .ck803s,
18481578 .dsp_silan,
18491579 .hwdiv,
18501580 .mp,
1851 .nvic,
18521581 .trust,
18531582 }),
18541583 };
......@@ -1858,12 +1587,9 @@ pub const cpu = struct {
18581587 .features = featureSet(&[_]Feature{
18591588 .@"3e3r1",
18601589 .btst16,
1861 .ck803,
1862 .ck803s,
18631590 .dsp_silan,
18641591 .hwdiv,
18651592 .mp,
1866 .nvic,
18671593 .trust,
18681594 }),
18691595 };
......@@ -1873,11 +1599,8 @@ pub const cpu = struct {
18731599 .features = featureSet(&[_]Feature{
18741600 .@"3e3r1",
18751601 .btst16,
1876 .ck803,
1877 .ck803s,
18781602 .hwdiv,
18791603 .mp,
1880 .nvic,
18811604 .trust,
18821605 }),
18831606 };
......@@ -1886,10 +1609,8 @@ pub const cpu = struct {
18861609 .llvm_name = "ck803t",
18871610 .features = featureSet(&[_]Feature{
18881611 .btst16,
1889 .ck803,
18901612 .hwdiv,
18911613 .mp,
1892 .nvic,
18931614 .trust,
18941615 }),
18951616 };
......@@ -1900,11 +1621,9 @@ pub const cpu = struct {
19001621 .@"3e3r1",
19011622 .@"3e3r3",
19021623 .btst16,
1903 .ck803,
19041624 .dspv2,
19051625 .hwdiv,
19061626 .mp,
1907 .nvic,
19081627 .trust,
19091628 }),
19101629 };
......@@ -1915,11 +1634,9 @@ pub const cpu = struct {
19151634 .@"3e3r2",
19161635 .@"3e3r3",
19171636 .btst16,
1918 .ck803,
19191637 .dspv2,
19201638 .hwdiv,
19211639 .mp,
1922 .nvic,
19231640 .trust,
19241641 }),
19251642 };
......@@ -1930,11 +1647,9 @@ pub const cpu = struct {
19301647 .@"3e3r2",
19311648 .@"3e3r3",
19321649 .btst16,
1933 .ck803,
19341650 .dspv2,
19351651 .hwdiv,
19361652 .mp,
1937 .nvic,
19381653 .trust,
19391654 }),
19401655 };
......@@ -1945,11 +1660,8 @@ pub const cpu = struct {
19451660 .@"3e3r2",
19461661 .@"3e3r3",
19471662 .btst16,
1948 .ck803,
1949 .ck804,
19501663 .hwdiv,
19511664 .mp,
1952 .nvic,
19531665 .trust,
19541666 }),
19551667 };
......@@ -1960,13 +1672,10 @@ pub const cpu = struct {
19601672 .@"3e3r2",
19611673 .@"3e3r3",
19621674 .btst16,
1963 .ck803,
1964 .ck804,
19651675 .dspv2,
19661676 .high_registers,
19671677 .hwdiv,
19681678 .mp,
1969 .nvic,
19701679 .trust,
19711680 }),
19721681 };
......@@ -1977,8 +1686,6 @@ pub const cpu = struct {
19771686 .@"3e3r2",
19781687 .@"3e3r3",
19791688 .btst16,
1980 .ck803,
1981 .ck804,
19821689 .dspv2,
19831690 .float1e3,
19841691 .floate1,
......@@ -1986,7 +1693,6 @@ pub const cpu = struct {
19861693 .high_registers,
19871694 .hwdiv,
19881695 .mp,
1989 .nvic,
19901696 .trust,
19911697 }),
19921698 };
......@@ -1997,8 +1703,6 @@ pub const cpu = struct {
19971703 .@"3e3r2",
19981704 .@"3e3r3",
19991705 .btst16,
2000 .ck803,
2001 .ck804,
20021706 .dspv2,
20031707 .float1e3,
20041708 .floate1,
......@@ -2006,7 +1710,6 @@ pub const cpu = struct {
20061710 .high_registers,
20071711 .hwdiv,
20081712 .mp,
2009 .nvic,
20101713 .trust,
20111714 }),
20121715 };
......@@ -2017,8 +1720,6 @@ pub const cpu = struct {
20171720 .@"3e3r2",
20181721 .@"3e3r3",
20191722 .btst16,
2020 .ck803,
2021 .ck804,
20221723 .dspv2,
20231724 .float1e3,
20241725 .floate1,
......@@ -2026,7 +1727,6 @@ pub const cpu = struct {
20261727 .high_registers,
20271728 .hwdiv,
20281729 .mp,
2029 .nvic,
20301730 .trust,
20311731 }),
20321732 };
......@@ -2037,8 +1737,6 @@ pub const cpu = struct {
20371737 .@"3e3r2",
20381738 .@"3e3r3",
20391739 .btst16,
2040 .ck803,
2041 .ck804,
20421740 .dspv2,
20431741 .float1e3,
20441742 .floate1,
......@@ -2046,7 +1744,6 @@ pub const cpu = struct {
20461744 .high_registers,
20471745 .hwdiv,
20481746 .mp,
2049 .nvic,
20501747 .trust,
20511748 }),
20521749 };
......@@ -2057,13 +1754,10 @@ pub const cpu = struct {
20571754 .@"3e3r2",
20581755 .@"3e3r3",
20591756 .btst16,
2060 .ck803,
2061 .ck804,
20621757 .dspv2,
20631758 .high_registers,
20641759 .hwdiv,
20651760 .mp,
2066 .nvic,
20671761 .trust,
20681762 }),
20691763 };
......@@ -2074,13 +1768,10 @@ pub const cpu = struct {
20741768 .@"3e3r2",
20751769 .@"3e3r3",
20761770 .btst16,
2077 .ck803,
2078 .ck804,
20791771 .dspv2,
20801772 .high_registers,
20811773 .hwdiv,
20821774 .mp,
2083 .nvic,
20841775 .trust,
20851776 }),
20861777 };
......@@ -2091,13 +1782,10 @@ pub const cpu = struct {
20911782 .@"3e3r2",
20921783 .@"3e3r3",
20931784 .btst16,
2094 .ck803,
2095 .ck804,
20961785 .dspv2,
20971786 .high_registers,
20981787 .hwdiv,
20991788 .mp,
2100 .nvic,
21011789 .trust,
21021790 }),
21031791 };
......@@ -2108,14 +1796,11 @@ pub const cpu = struct {
21081796 .@"3e3r2",
21091797 .@"3e3r3",
21101798 .btst16,
2111 .ck803,
2112 .ck804,
21131799 .float1e3,
21141800 .floate1,
21151801 .fpuv2_sf,
21161802 .hwdiv,
21171803 .mp,
2118 .nvic,
21191804 .trust,
21201805 }),
21211806 };
......@@ -2126,14 +1811,11 @@ pub const cpu = struct {
21261811 .@"3e3r2",
21271812 .@"3e3r3",
21281813 .btst16,
2129 .ck803,
2130 .ck804,
21311814 .float1e3,
21321815 .floate1,
21331816 .fpuv2_sf,
21341817 .hwdiv,
21351818 .mp,
2136 .nvic,
21371819 .trust,
21381820 }),
21391821 };
......@@ -2144,14 +1826,11 @@ pub const cpu = struct {
21441826 .@"3e3r2",
21451827 .@"3e3r3",
21461828 .btst16,
2147 .ck803,
2148 .ck804,
21491829 .float1e3,
21501830 .floate1,
21511831 .fpuv2_sf,
21521832 .hwdiv,
21531833 .mp,
2154 .nvic,
21551834 .trust,
21561835 }),
21571836 };
......@@ -2162,11 +1841,8 @@ pub const cpu = struct {
21621841 .@"3e3r2",
21631842 .@"3e3r3",
21641843 .btst16,
2165 .ck803,
2166 .ck804,
21671844 .hwdiv,
21681845 .mp,
2169 .nvic,
21701846 .trust,
21711847 }),
21721848 };
......@@ -2177,11 +1853,8 @@ pub const cpu = struct {
21771853 .@"3e3r2",
21781854 .@"3e3r3",
21791855 .btst16,
2180 .ck803,
2181 .ck804,
21821856 .hwdiv,
21831857 .mp,
2184 .nvic,
21851858 .trust,
21861859 }),
21871860 };
......@@ -2192,11 +1865,8 @@ pub const cpu = struct {
21921865 .@"3e3r2",
21931866 .@"3e3r3",
21941867 .btst16,
2195 .ck803,
2196 .ck804,
21971868 .hwdiv,
21981869 .mp,
2199 .nvic,
22001870 .trust,
22011871 }),
22021872 };
......@@ -2207,12 +1877,9 @@ pub const cpu = struct {
22071877 .@"3e3r2",
22081878 .@"3e3r3",
22091879 .btst16,
2210 .ck803,
2211 .ck805,
22121880 .high_registers,
22131881 .hwdiv,
22141882 .mp,
2215 .nvic,
22161883 .trust,
22171884 .vdsp2e3,
22181885 .vdspv2,
......@@ -2225,13 +1892,10 @@ pub const cpu = struct {
22251892 .@"3e3r2",
22261893 .@"3e3r3",
22271894 .btst16,
2228 .ck803,
2229 .ck805,
22301895 .dspv2,
22311896 .high_registers,
22321897 .hwdiv,
22331898 .mp,
2234 .nvic,
22351899 .trust,
22361900 .vdsp2e3,
22371901 .vdspv2,
......@@ -2244,8 +1908,6 @@ pub const cpu = struct {
22441908 .@"3e3r2",
22451909 .@"3e3r3",
22461910 .btst16,
2247 .ck803,
2248 .ck805,
22491911 .dspv2,
22501912 .float1e3,
22511913 .floate1,
......@@ -2253,7 +1915,6 @@ pub const cpu = struct {
22531915 .high_registers,
22541916 .hwdiv,
22551917 .mp,
2256 .nvic,
22571918 .trust,
22581919 .vdsp2e3,
22591920 .vdspv2,
......@@ -2266,8 +1927,6 @@ pub const cpu = struct {
22661927 .@"3e3r2",
22671928 .@"3e3r3",
22681929 .btst16,
2269 .ck803,
2270 .ck805,
22711930 .dspv2,
22721931 .float1e3,
22731932 .floate1,
......@@ -2275,7 +1934,6 @@ pub const cpu = struct {
22751934 .high_registers,
22761935 .hwdiv,
22771936 .mp,
2278 .nvic,
22791937 .trust,
22801938 .vdsp2e3,
22811939 .vdspv2,
......@@ -2288,13 +1946,10 @@ pub const cpu = struct {
22881946 .@"3e3r2",
22891947 .@"3e3r3",
22901948 .btst16,
2291 .ck803,
2292 .ck805,
22931949 .dspv2,
22941950 .high_registers,
22951951 .hwdiv,
22961952 .mp,
2297 .nvic,
22981953 .trust,
22991954 .vdsp2e3,
23001955 .vdspv2,
......@@ -2307,15 +1962,12 @@ pub const cpu = struct {
23071962 .@"3e3r2",
23081963 .@"3e3r3",
23091964 .btst16,
2310 .ck803,
2311 .ck805,
23121965 .float1e3,
23131966 .floate1,
23141967 .fpuv2_sf,
23151968 .high_registers,
23161969 .hwdiv,
23171970 .mp,
2318 .nvic,
23191971 .trust,
23201972 .vdsp2e3,
23211973 .vdspv2,
......@@ -2328,15 +1980,12 @@ pub const cpu = struct {
23281980 .@"3e3r2",
23291981 .@"3e3r3",
23301982 .btst16,
2331 .ck803,
2332 .ck805,
23331983 .float1e3,
23341984 .floate1,
23351985 .fpuv2_sf,
23361986 .high_registers,
23371987 .hwdiv,
23381988 .mp,
2339 .nvic,
23401989 .trust,
23411990 .vdsp2e3,
23421991 .vdspv2,
......@@ -2349,12 +1998,9 @@ pub const cpu = struct {
23491998 .@"3e3r2",
23501999 .@"3e3r3",
23512000 .btst16,
2352 .ck803,
2353 .ck805,
23542001 .high_registers,
23552002 .hwdiv,
23562003 .mp,
2357 .nvic,
23582004 .trust,
23592005 .vdsp2e3,
23602006 .vdspv2,
......@@ -2365,7 +2011,6 @@ pub const cpu = struct {
23652011 .llvm_name = "ck807",
23662012 .features = featureSet(&[_]Feature{
23672013 .cache,
2368 .ck807,
23692014 .dsp1e2,
23702015 .dspe60,
23712016 .edsp,
......@@ -2374,7 +2019,6 @@ pub const cpu = struct {
23742019 .hwdiv,
23752020 .mp,
23762021 .mp1e2,
2377 .nvic,
23782022 .trust,
23792023 }),
23802024 };
......@@ -2383,7 +2027,6 @@ pub const cpu = struct {
23832027 .llvm_name = "ck807e",
23842028 .features = featureSet(&[_]Feature{
23852029 .cache,
2386 .ck807,
23872030 .dsp1e2,
23882031 .dspe60,
23892032 .edsp,
......@@ -2392,7 +2035,6 @@ pub const cpu = struct {
23922035 .hwdiv,
23932036 .mp,
23942037 .mp1e2,
2395 .nvic,
23962038 .trust,
23972039 }),
23982040 };
......@@ -2401,7 +2043,6 @@ pub const cpu = struct {
24012043 .llvm_name = "ck807ef",
24022044 .features = featureSet(&[_]Feature{
24032045 .cache,
2404 .ck807,
24052046 .dsp1e2,
24062047 .dspe60,
24072048 .edsp,
......@@ -2417,7 +2058,6 @@ pub const cpu = struct {
24172058 .hwdiv,
24182059 .mp,
24192060 .mp1e2,
2420 .nvic,
24212061 .trust,
24222062 }),
24232063 };
......@@ -2426,7 +2066,6 @@ pub const cpu = struct {
24262066 .llvm_name = "ck807f",
24272067 .features = featureSet(&[_]Feature{
24282068 .cache,
2429 .ck807,
24302069 .dsp1e2,
24312070 .dspe60,
24322071 .edsp,
......@@ -2442,7 +2081,6 @@ pub const cpu = struct {
24422081 .hwdiv,
24432082 .mp,
24442083 .mp1e2,
2445 .nvic,
24462084 .trust,
24472085 }),
24482086 };
......@@ -2452,7 +2090,6 @@ pub const cpu = struct {
24522090 .features = featureSet(&[_]Feature{
24532091 .@"7e10",
24542092 .cache,
2455 .ck810,
24562093 .dsp1e2,
24572094 .dspe60,
24582095 .edsp,
......@@ -2461,7 +2098,6 @@ pub const cpu = struct {
24612098 .hwdiv,
24622099 .mp,
24632100 .mp1e2,
2464 .nvic,
24652101 .trust,
24662102 }),
24672103 };
......@@ -2471,7 +2107,6 @@ pub const cpu = struct {
24712107 .features = featureSet(&[_]Feature{
24722108 .@"7e10",
24732109 .cache,
2474 .ck810,
24752110 .dsp1e2,
24762111 .dspe60,
24772112 .edsp,
......@@ -2480,7 +2115,6 @@ pub const cpu = struct {
24802115 .hwdiv,
24812116 .mp,
24822117 .mp1e2,
2483 .nvic,
24842118 .trust,
24852119 }),
24862120 };
......@@ -2490,7 +2124,6 @@ pub const cpu = struct {
24902124 .features = featureSet(&[_]Feature{
24912125 .@"7e10",
24922126 .cache,
2493 .ck810,
24942127 .dsp1e2,
24952128 .dspe60,
24962129 .edsp,
......@@ -2504,7 +2137,6 @@ pub const cpu = struct {
25042137 .hwdiv,
25052138 .mp,
25062139 .mp1e2,
2507 .nvic,
25082140 .trust,
25092141 }),
25102142 };
......@@ -2514,7 +2146,6 @@ pub const cpu = struct {
25142146 .features = featureSet(&[_]Feature{
25152147 .@"7e10",
25162148 .cache,
2517 .ck810,
25182149 .dsp1e2,
25192150 .dspe60,
25202151 .edsp,
......@@ -2528,7 +2159,6 @@ pub const cpu = struct {
25282159 .hwdiv,
25292160 .mp,
25302161 .mp1e2,
2531 .nvic,
25322162 .trust,
25332163 }),
25342164 };
......@@ -2538,8 +2168,6 @@ pub const cpu = struct {
25382168 .features = featureSet(&[_]Feature{
25392169 .@"7e10",
25402170 .cache,
2541 .ck810,
2542 .ck810v,
25432171 .dsp1e2,
25442172 .dspe60,
25452173 .edsp,
......@@ -2553,7 +2181,6 @@ pub const cpu = struct {
25532181 .hwdiv,
25542182 .mp,
25552183 .mp1e2,
2556 .nvic,
25572184 .trust,
25582185 .vdspv1,
25592186 }),
......@@ -2564,8 +2191,6 @@ pub const cpu = struct {
25642191 .features = featureSet(&[_]Feature{
25652192 .@"7e10",
25662193 .cache,
2567 .ck810,
2568 .ck810v,
25692194 .dsp1e2,
25702195 .dspe60,
25712196 .edsp,
......@@ -2579,7 +2204,6 @@ pub const cpu = struct {
25792204 .hwdiv,
25802205 .mp,
25812206 .mp1e2,
2582 .nvic,
25832207 .trust,
25842208 .vdspv1,
25852209 }),
......@@ -2590,7 +2214,6 @@ pub const cpu = struct {
25902214 .features = featureSet(&[_]Feature{
25912215 .@"7e10",
25922216 .cache,
2593 .ck810,
25942217 .dsp1e2,
25952218 .dspe60,
25962219 .edsp,
......@@ -2599,7 +2222,6 @@ pub const cpu = struct {
25992222 .hwdiv,
26002223 .mp,
26012224 .mp1e2,
2602 .nvic,
26032225 .trust,
26042226 }),
26052227 };
......@@ -2609,8 +2231,6 @@ pub const cpu = struct {
26092231 .features = featureSet(&[_]Feature{
26102232 .@"7e10",
26112233 .cache,
2612 .ck810,
2613 .ck810v,
26142234 .dsp1e2,
26152235 .dspe60,
26162236 .edsp,
......@@ -2619,7 +2239,6 @@ pub const cpu = struct {
26192239 .hwdiv,
26202240 .mp,
26212241 .mp1e2,
2622 .nvic,
26232242 .trust,
26242243 .vdspv1,
26252244 }),
......@@ -2630,8 +2249,6 @@ pub const cpu = struct {
26302249 .features = featureSet(&[_]Feature{
26312250 .@"7e10",
26322251 .cache,
2633 .ck810,
2634 .ck810v,
26352252 .dsp1e2,
26362253 .dspe60,
26372254 .edsp,
......@@ -2640,7 +2257,6 @@ pub const cpu = struct {
26402257 .hwdiv,
26412258 .mp,
26422259 .mp1e2,
2643 .nvic,
26442260 .trust,
26452261 .vdspv1,
26462262 }),
......@@ -2651,7 +2267,6 @@ pub const cpu = struct {
26512267 .features = featureSet(&[_]Feature{
26522268 .@"7e10",
26532269 .cache,
2654 .ck810,
26552270 .dsp1e2,
26562271 .dspe60,
26572272 .edsp,
......@@ -2665,7 +2280,6 @@ pub const cpu = struct {
26652280 .hwdiv,
26662281 .mp,
26672282 .mp1e2,
2668 .nvic,
26692283 .trust,
26702284 }),
26712285 };
......@@ -2675,7 +2289,6 @@ pub const cpu = struct {
26752289 .features = featureSet(&[_]Feature{
26762290 .@"7e10",
26772291 .cache,
2678 .ck810,
26792292 .dsp1e2,
26802293 .dspe60,
26812294 .edsp,
......@@ -2689,7 +2302,6 @@ pub const cpu = struct {
26892302 .hwdiv,
26902303 .mp,
26912304 .mp1e2,
2692 .nvic,
26932305 .trust,
26942306 }),
26952307 };
......@@ -2699,8 +2311,6 @@ pub const cpu = struct {
26992311 .features = featureSet(&[_]Feature{
27002312 .@"7e10",
27012313 .cache,
2702 .ck810,
2703 .ck810v,
27042314 .dsp1e2,
27052315 .dspe60,
27062316 .edsp,
......@@ -2714,7 +2324,6 @@ pub const cpu = struct {
27142324 .hwdiv,
27152325 .mp,
27162326 .mp1e2,
2717 .nvic,
27182327 .trust,
27192328 .vdspv1,
27202329 }),
......@@ -2725,8 +2334,6 @@ pub const cpu = struct {
27252334 .features = featureSet(&[_]Feature{
27262335 .@"7e10",
27272336 .cache,
2728 .ck810,
2729 .ck810v,
27302337 .dsp1e2,
27312338 .dspe60,
27322339 .edsp,
......@@ -2740,7 +2347,6 @@ pub const cpu = struct {
27402347 .hwdiv,
27412348 .mp,
27422349 .mp1e2,
2743 .nvic,
27442350 .trust,
27452351 .vdspv1,
27462352 }),
......@@ -2751,7 +2357,6 @@ pub const cpu = struct {
27512357 .features = featureSet(&[_]Feature{
27522358 .@"7e10",
27532359 .cache,
2754 .ck810,
27552360 .dsp1e2,
27562361 .dspe60,
27572362 .edsp,
......@@ -2760,7 +2365,6 @@ pub const cpu = struct {
27602365 .hwdiv,
27612366 .mp,
27622367 .mp1e2,
2763 .nvic,
27642368 .trust,
27652369 }),
27662370 };
......@@ -2770,8 +2374,6 @@ pub const cpu = struct {
27702374 .features = featureSet(&[_]Feature{
27712375 .@"7e10",
27722376 .cache,
2773 .ck810,
2774 .ck810v,
27752377 .dsp1e2,
27762378 .dspe60,
27772379 .edsp,
......@@ -2780,7 +2382,6 @@ pub const cpu = struct {
27802382 .hwdiv,
27812383 .mp,
27822384 .mp1e2,
2783 .nvic,
27842385 .trust,
27852386 .vdspv1,
27862387 }),
......@@ -2791,8 +2392,6 @@ pub const cpu = struct {
27912392 .features = featureSet(&[_]Feature{
27922393 .@"7e10",
27932394 .cache,
2794 .ck810,
2795 .ck810v,
27962395 .dsp1e2,
27972396 .dspe60,
27982397 .edsp,
......@@ -2801,7 +2400,6 @@ pub const cpu = struct {
28012400 .hwdiv,
28022401 .mp,
28032402 .mp1e2,
2804 .nvic,
28052403 .trust,
28062404 .vdspv1,
28072405 }),
......@@ -2815,14 +2413,12 @@ pub const cpu = struct {
28152413 .@"3e3r3",
28162414 .btst16,
28172415 .cache,
2818 .ck860,
28192416 .dspe60,
28202417 .hard_tp,
28212418 .high_registers,
28222419 .hwdiv,
28232420 .mp,
28242421 .mp1e2,
2825 .nvic,
28262422 .trust,
28272423 }),
28282424 };
......@@ -2835,7 +2431,6 @@ pub const cpu = struct {
28352431 .@"3e3r3",
28362432 .btst16,
28372433 .cache,
2838 .ck860,
28392434 .dspe60,
28402435 .float7e60,
28412436 .fpuv3_df,
......@@ -2847,7 +2442,6 @@ pub const cpu = struct {
28472442 .hwdiv,
28482443 .mp,
28492444 .mp1e2,
2850 .nvic,
28512445 .trust,
28522446 }),
28532447 };
......@@ -2860,8 +2454,6 @@ pub const cpu = struct {
28602454 .@"3e3r3",
28612455 .btst16,
28622456 .cache,
2863 .ck860,
2864 .ck860v,
28652457 .dspe60,
28662458 .float7e60,
28672459 .fpuv3_df,
......@@ -2873,7 +2465,6 @@ pub const cpu = struct {
28732465 .hwdiv,
28742466 .mp,
28752467 .mp1e2,
2876 .nvic,
28772468 .trust,
28782469 .vdsp2e60f,
28792470 .vdspv2,
......@@ -2888,15 +2479,12 @@ pub const cpu = struct {
28882479 .@"3e3r3",
28892480 .btst16,
28902481 .cache,
2891 .ck860,
2892 .ck860v,
28932482 .dspe60,
28942483 .hard_tp,
28952484 .high_registers,
28962485 .hwdiv,
28972486 .mp,
28982487 .mp1e2,
2899 .nvic,
29002488 .trust,
29012489 .vdsp2e60f,
29022490 .vdspv2,
......@@ -2907,7 +2495,6 @@ pub const cpu = struct {
29072495 .llvm_name = "e801",
29082496 .features = featureSet(&[_]Feature{
29092497 .btst16,
2910 .ck801,
29112498 .e1,
29122499 .trust,
29132500 }),
......@@ -2917,9 +2504,7 @@ pub const cpu = struct {
29172504 .llvm_name = "e802",
29182505 .features = featureSet(&[_]Feature{
29192506 .btst16,
2920 .ck802,
29212507 .e2,
2922 .nvic,
29232508 .trust,
29242509 }),
29252510 };
......@@ -2928,9 +2513,7 @@ pub const cpu = struct {
29282513 .llvm_name = "e802t",
29292514 .features = featureSet(&[_]Feature{
29302515 .btst16,
2931 .ck802,
29322516 .e2,
2933 .nvic,
29342517 .trust,
29352518 }),
29362519 };
......@@ -2941,10 +2524,8 @@ pub const cpu = struct {
29412524 .@"3e3r2",
29422525 .@"3e3r3",
29432526 .btst16,
2944 .ck803,
29452527 .hwdiv,
29462528 .mp,
2947 .nvic,
29482529 .trust,
29492530 }),
29502531 };
......@@ -2955,10 +2536,8 @@ pub const cpu = struct {
29552536 .@"3e3r2",
29562537 .@"3e3r3",
29572538 .btst16,
2958 .ck803,
29592539 .hwdiv,
29602540 .mp,
2961 .nvic,
29622541 .trust,
29632542 }),
29642543 };
......@@ -2969,13 +2548,10 @@ pub const cpu = struct {
29692548 .@"3e3r2",
29702549 .@"3e3r3",
29712550 .btst16,
2972 .ck803,
2973 .ck804,
29742551 .dspv2,
29752552 .high_registers,
29762553 .hwdiv,
29772554 .mp,
2978 .nvic,
29792555 .trust,
29802556 }),
29812557 };
......@@ -2986,8 +2562,6 @@ pub const cpu = struct {
29862562 .@"3e3r2",
29872563 .@"3e3r3",
29882564 .btst16,
2989 .ck803,
2990 .ck804,
29912565 .dspv2,
29922566 .float1e3,
29932567 .floate1,
......@@ -2995,7 +2569,6 @@ pub const cpu = struct {
29952569 .high_registers,
29962570 .hwdiv,
29972571 .mp,
2998 .nvic,
29992572 .trust,
30002573 }),
30012574 };
......@@ -3006,8 +2579,6 @@ pub const cpu = struct {
30062579 .@"3e3r2",
30072580 .@"3e3r3",
30082581 .btst16,
3009 .ck803,
3010 .ck804,
30112582 .dspv2,
30122583 .float1e3,
30132584 .floate1,
......@@ -3015,7 +2586,6 @@ pub const cpu = struct {
30152586 .high_registers,
30162587 .hwdiv,
30172588 .mp,
3018 .nvic,
30192589 .trust,
30202590 }),
30212591 };
......@@ -3026,13 +2596,10 @@ pub const cpu = struct {
30262596 .@"3e3r2",
30272597 .@"3e3r3",
30282598 .btst16,
3029 .ck803,
3030 .ck804,
30312599 .dspv2,
30322600 .high_registers,
30332601 .hwdiv,
30342602 .mp,
3035 .nvic,
30362603 .trust,
30372604 }),
30382605 };
......@@ -3043,14 +2610,11 @@ pub const cpu = struct {
30432610 .@"3e3r2",
30442611 .@"3e3r3",
30452612 .btst16,
3046 .ck803,
3047 .ck804,
30482613 .float1e3,
30492614 .floate1,
30502615 .fpuv2_sf,
30512616 .hwdiv,
30522617 .mp,
3053 .nvic,
30542618 .trust,
30552619 }),
30562620 };
......@@ -3061,14 +2625,11 @@ pub const cpu = struct {
30612625 .@"3e3r2",
30622626 .@"3e3r3",
30632627 .btst16,
3064 .ck803,
3065 .ck804,
30662628 .float1e3,
30672629 .floate1,
30682630 .fpuv2_sf,
30692631 .hwdiv,
30702632 .mp,
3071 .nvic,
30722633 .trust,
30732634 }),
30742635 };
......@@ -3086,12 +2647,9 @@ pub const cpu = struct {
30862647 .@"3e3r2",
30872648 .@"3e3r3",
30882649 .btst16,
3089 .ck803,
3090 .ck805,
30912650 .high_registers,
30922651 .hwdiv,
30932652 .mp,
3094 .nvic,
30952653 .trust,
30962654 .vdsp2e3,
30972655 .vdspv2,
......@@ -3104,15 +2662,12 @@ pub const cpu = struct {
31042662 .@"3e3r2",
31052663 .@"3e3r3",
31062664 .btst16,
3107 .ck803,
3108 .ck805,
31092665 .float1e3,
31102666 .floate1,
31112667 .fpuv2_sf,
31122668 .high_registers,
31132669 .hwdiv,
31142670 .mp,
3115 .nvic,
31162671 .trust,
31172672 .vdsp2e3,
31182673 .vdspv2,
......@@ -3123,7 +2678,6 @@ pub const cpu = struct {
31232678 .llvm_name = "r807",
31242679 .features = featureSet(&[_]Feature{
31252680 .cache,
3126 .ck807,
31272681 .dsp1e2,
31282682 .dspe60,
31292683 .edsp,
......@@ -3132,7 +2686,6 @@ pub const cpu = struct {
31322686 .hwdiv,
31332687 .mp,
31342688 .mp1e2,
3135 .nvic,
31362689 .trust,
31372690 }),
31382691 };
......@@ -3141,7 +2694,6 @@ pub const cpu = struct {
31412694 .llvm_name = "r807f",
31422695 .features = featureSet(&[_]Feature{
31432696 .cache,
3144 .ck807,
31452697 .dsp1e2,
31462698 .dspe60,
31472699 .edsp,
......@@ -3157,7 +2709,6 @@ pub const cpu = struct {
31572709 .hwdiv,
31582710 .mp,
31592711 .mp1e2,
3160 .nvic,
31612712 .trust,
31622713 }),
31632714 };
......@@ -3166,9 +2717,7 @@ pub const cpu = struct {
31662717 .llvm_name = "s802",
31672718 .features = featureSet(&[_]Feature{
31682719 .btst16,
3169 .ck802,
31702720 .e2,
3171 .nvic,
31722721 .trust,
31732722 }),
31742723 };
......@@ -3177,9 +2726,7 @@ pub const cpu = struct {
31772726 .llvm_name = "s802t",
31782727 .features = featureSet(&[_]Feature{
31792728 .btst16,
3180 .ck802,
31812729 .e2,
3182 .nvic,
31832730 .trust,
31842731 }),
31852732 };
......@@ -3190,10 +2737,8 @@ pub const cpu = struct {
31902737 .@"3e3r2",
31912738 .@"3e3r3",
31922739 .btst16,
3193 .ck803,
31942740 .hwdiv,
31952741 .mp,
3196 .nvic,
31972742 .trust,
31982743 }),
31992744 };
......@@ -3204,10 +2749,8 @@ pub const cpu = struct {
32042749 .@"3e3r2",
32052750 .@"3e3r3",
32062751 .btst16,
3207 .ck803,
32082752 .hwdiv,
32092753 .mp,
3210 .nvic,
32112754 .trust,
32122755 }),
32132756 };
tools/update_cpu_features.zig+79
......@@ -1192,6 +1192,85 @@ const targets = [_]ArchTarget{
11921192 .name = "CSKY",
11931193 .td_name = "CSKY",
11941194 },
1195 .feature_overrides = &.{
1196 .{
1197 .llvm_name = "ccrt",
1198 .omit = true,
1199 },
1200 .{
1201 .llvm_name = "constpool",
1202 .omit = true,
1203 },
1204 .{
1205 .llvm_name = "multiple_stld",
1206 .omit = true,
1207 },
1208 .{
1209 .llvm_name = "nvic",
1210 .omit = true,
1211 },
1212 .{
1213 .llvm_name = "pushpop",
1214 .omit = true,
1215 },
1216 .{
1217 .llvm_name = "smart",
1218 .omit = true,
1219 },
1220 .{
1221 .llvm_name = "soft_tp",
1222 .omit = true,
1223 },
1224 .{
1225 .llvm_name = "stack_size",
1226 .omit = true,
1227 },
1228
1229 .{
1230 .llvm_name = "ck801",
1231 .flatten = true,
1232 },
1233 .{
1234 .llvm_name = "ck802",
1235 .flatten = true,
1236 },
1237 .{
1238 .llvm_name = "ck803",
1239 .flatten = true,
1240 },
1241 .{
1242 .llvm_name = "ck803s",
1243 .flatten = true,
1244 },
1245 .{
1246 .llvm_name = "ck804",
1247 .flatten = true,
1248 },
1249 .{
1250 .llvm_name = "ck805",
1251 .flatten = true,
1252 },
1253 .{
1254 .llvm_name = "ck807",
1255 .flatten = true,
1256 },
1257 .{
1258 .llvm_name = "ck810",
1259 .flatten = true,
1260 },
1261 .{
1262 .llvm_name = "ck810v",
1263 .flatten = true,
1264 },
1265 .{
1266 .llvm_name = "ck860",
1267 .flatten = true,
1268 },
1269 .{
1270 .llvm_name = "ck860v",
1271 .flatten = true,
1272 },
1273 },
11951274 },
11961275 .{
11971276 .zig_name = "hexagon",