Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Side by Side Diff: src/trusted/validator_ragel/gen/validator_x86_32.c

Issue 11000033: Move validator_x86_XX.rl out of unreviewed. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* native_client/src/trusted/validator_ragel/gen/validator_x86_32.c 1 /* native_client/src/trusted/validator_ragel/gen/validator_x86_32.c
2 * THIS FILE IS AUTO-GENERATED. DO NOT EDIT. 2 * THIS FILE IS AUTO-GENERATED. DO NOT EDIT.
3 * Compiled for ia32 mode. 3 * Compiled for ia32 mode.
4 */ 4 */
5 5
6 /*
7 * This is the core of ia32-mode validator. Please note that this file
8 * combines ragel machine description and C language actions. Please read
9 * validator_internals.html first to understand how the whole thing is built:
10 * it explains how the byte sequences are constructed, what constructs like
11 * β€œ@{}” or β€œREX_WRX?” mean, etc.
12 */
13
6 #include <assert.h> 14 #include <assert.h>
7 #include <errno.h> 15 #include <errno.h>
8 #include <stddef.h> 16 #include <stddef.h>
9 #include <stdio.h> 17 #include <stdio.h>
10 #include <stdlib.h> 18 #include <stdlib.h>
11 #include <string.h> 19 #include <string.h>
12 20
13 #include "native_client/src/trusted/validator_ragel/unreviewed/validator_interna l.h" 21 #include "native_client/src/trusted/validator_ragel/validator_internal.h"
14 22
15 /* Ignore this information: it's not used by security model in IA32 mode. */ 23 /* Ignore this information: it's not used by security model in IA32 mode. */
16 #undef GET_VEX_PREFIX3 24 #undef GET_VEX_PREFIX3
17 #define GET_VEX_PREFIX3 0 25 #define GET_VEX_PREFIX3 0
18 #undef SET_VEX_PREFIX3 26 #undef SET_VEX_PREFIX3
19 #define SET_VEX_PREFIX3(P) 27 #define SET_VEX_PREFIX3(P)
20 28
21 29
22 30
23 31
(...skipping 582 matching lines...) Expand 10 before | Expand all | Expand 10 after
606 } 614 }
607 /* On successful match the instruction start must point to the next byte 615 /* On successful match the instruction start must point to the next byte
608 * to be able to report the new offset as the start of instruction 616 * to be able to report the new offset as the start of instruction
609 * causing error. */ 617 * causing error. */
610 instruction_start = current_position + 1; 618 instruction_start = current_position + 1;
611 instruction_info_collected = 0; 619 instruction_info_collected = 0;
612 } 620 }
613 goto st246; 621 goto st246;
614 tr418: 622 tr418:
615 { 623 {
616 BitmapClearBit(valid_targets, (current_position - data) - 1); 624 MakeInvalidJumpTarget((current_position - data) - 1, valid_targets);
617 instruction_start -= 3; 625 instruction_start -= 3;
618 instruction_info_collected |= SPECIAL_INSTRUCTION; 626 instruction_info_collected |= SPECIAL_INSTRUCTION;
619 } 627 }
620 { 628 {
621 if (((current_position - data) & kBundleMask) != kBundleMask) 629 if (((current_position - data) & kBundleMask) != kBundleMask)
622 instruction_info_collected |= BAD_CALL_ALIGNMENT; 630 instruction_info_collected |= BAD_CALL_ALIGNMENT;
623 } 631 }
624 { 632 {
625 if ((instruction_info_collected & VALIDATION_ERRORS_MASK) || 633 if ((instruction_info_collected & VALIDATION_ERRORS_MASK) ||
626 (options & CALL_USER_CALLBACK_ON_EACH_INSTRUCTION)) { 634 (options & CALL_USER_CALLBACK_ON_EACH_INSTRUCTION)) {
627 result &= user_callback(instruction_start, current_position, 635 result &= user_callback(instruction_start, current_position,
628 instruction_info_collected, callback_data); 636 instruction_info_collected, callback_data);
629 } 637 }
630 /* On successful match the instruction start must point to the next byte 638 /* On successful match the instruction start must point to the next byte
631 * to be able to report the new offset as the start of instruction 639 * to be able to report the new offset as the start of instruction
632 * causing error. */ 640 * causing error. */
633 instruction_start = current_position + 1; 641 instruction_start = current_position + 1;
634 instruction_info_collected = 0; 642 instruction_info_collected = 0;
635 } 643 }
636 goto st246; 644 goto st246;
637 tr419: 645 tr419:
638 { 646 {
639 BitmapClearBit(valid_targets, (current_position - data) - 1); 647 MakeInvalidJumpTarget((current_position - data) - 1, valid_targets);
640 instruction_start -= 3; 648 instruction_start -= 3;
641 instruction_info_collected |= SPECIAL_INSTRUCTION; 649 instruction_info_collected |= SPECIAL_INSTRUCTION;
642 } 650 }
643 { 651 {
644 if ((instruction_info_collected & VALIDATION_ERRORS_MASK) || 652 if ((instruction_info_collected & VALIDATION_ERRORS_MASK) ||
645 (options & CALL_USER_CALLBACK_ON_EACH_INSTRUCTION)) { 653 (options & CALL_USER_CALLBACK_ON_EACH_INSTRUCTION)) {
646 result &= user_callback(instruction_start, current_position, 654 result &= user_callback(instruction_start, current_position,
647 instruction_info_collected, callback_data); 655 instruction_info_collected, callback_data);
648 } 656 }
649 /* On successful match the instruction start must point to the next byte 657 /* On successful match the instruction start must point to the next byte
650 * to be able to report the new offset as the start of instruction 658 * to be able to report the new offset as the start of instruction
651 * causing error. */ 659 * causing error. */
652 instruction_start = current_position + 1; 660 instruction_start = current_position + 1;
653 instruction_info_collected = 0; 661 instruction_info_collected = 0;
654 } 662 }
655 goto st246; 663 goto st246;
656 tr433: 664 tr433:
657 { 665 {
658 BitmapSetBit(valid_targets, current_position - data); 666 MakeJumpTargetValid(current_position - data, valid_targets);
659 } 667 }
660 { 668 {
661 if ((instruction_info_collected & VALIDATION_ERRORS_MASK) || 669 if ((instruction_info_collected & VALIDATION_ERRORS_MASK) ||
662 (options & CALL_USER_CALLBACK_ON_EACH_INSTRUCTION)) { 670 (options & CALL_USER_CALLBACK_ON_EACH_INSTRUCTION)) {
663 result &= user_callback(instruction_start, current_position, 671 result &= user_callback(instruction_start, current_position,
664 instruction_info_collected, callback_data); 672 instruction_info_collected, callback_data);
665 } 673 }
666 /* On successful match the instruction start must point to the next byte 674 /* On successful match the instruction start must point to the next byte
667 * to be able to report the new offset as the start of instruction 675 * to be able to report the new offset as the start of instruction
668 * causing error. */ 676 * causing error. */
669 instruction_start = current_position + 1; 677 instruction_start = current_position + 1;
670 instruction_info_collected = 0; 678 instruction_info_collected = 0;
671 } 679 }
672 goto st246; 680 goto st246;
673 tr442: 681 tr442:
674 { 682 {
675 BitmapSetBit(valid_targets, current_position - data); 683 MakeJumpTargetValid(current_position - data, valid_targets);
676 } 684 }
677 { SET_CPU_FEATURE(CPUFeature_x87); } 685 { SET_CPU_FEATURE(CPUFeature_x87); }
678 { 686 {
679 if ((instruction_info_collected & VALIDATION_ERRORS_MASK) || 687 if ((instruction_info_collected & VALIDATION_ERRORS_MASK) ||
680 (options & CALL_USER_CALLBACK_ON_EACH_INSTRUCTION)) { 688 (options & CALL_USER_CALLBACK_ON_EACH_INSTRUCTION)) {
681 result &= user_callback(instruction_start, current_position, 689 result &= user_callback(instruction_start, current_position,
682 instruction_info_collected, callback_data); 690 instruction_info_collected, callback_data);
683 } 691 }
684 /* On successful match the instruction start must point to the next byte 692 /* On successful match the instruction start must point to the next byte
685 * to be able to report the new offset as the start of instruction 693 * to be able to report the new offset as the start of instruction
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
943 { SET_CPU_FEATURE(CPUFeature_TZCNT); } 951 { SET_CPU_FEATURE(CPUFeature_TZCNT); }
944 goto st1; 952 goto st1;
945 tr415: 953 tr415:
946 { 954 {
947 SET_REPZ_PREFIX(FALSE); 955 SET_REPZ_PREFIX(FALSE);
948 } 956 }
949 { SET_CPU_FEATURE(CPUFeature_LZCNT); } 957 { SET_CPU_FEATURE(CPUFeature_LZCNT); }
950 goto st1; 958 goto st1;
951 tr427: 959 tr427:
952 { 960 {
953 BitmapSetBit(valid_targets, current_position - data); 961 MakeJumpTargetValid(current_position - data, valid_targets);
954 } 962 }
955 goto st1; 963 goto st1;
956 st1: 964 st1:
957 if ( ++( current_position) == ( end_of_bundle) ) 965 if ( ++( current_position) == ( end_of_bundle) )
958 goto _test_eof1; 966 goto _test_eof1;
959 case 1: 967 case 1:
960 switch( (*( current_position)) ) { 968 switch( (*( current_position)) ) {
961 case 4u: goto st2; 969 case 4u: goto st2;
962 case 5u: goto st3; 970 case 5u: goto st3;
963 case 12u: goto st2; 971 case 12u: goto st2;
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
1085 { SET_CPU_FEATURE(CPUFeature_BMI1); } 1093 { SET_CPU_FEATURE(CPUFeature_BMI1); }
1086 goto st3; 1094 goto st3;
1087 tr302: 1095 tr302:
1088 { SET_CPU_FEATURE(CPUFeature_AVX); } 1096 { SET_CPU_FEATURE(CPUFeature_AVX); }
1089 goto st3; 1097 goto st3;
1090 tr379: 1098 tr379:
1091 { SET_CPU_FEATURE(CPUFeature_x87); } 1099 { SET_CPU_FEATURE(CPUFeature_x87); }
1092 goto st3; 1100 goto st3;
1093 tr443: 1101 tr443:
1094 { 1102 {
1095 BitmapSetBit(valid_targets, current_position - data); 1103 MakeJumpTargetValid(current_position - data, valid_targets);
1096 } 1104 }
1097 goto st3; 1105 goto st3;
1098 st3: 1106 st3:
1099 if ( ++( current_position) == ( end_of_bundle) ) 1107 if ( ++( current_position) == ( end_of_bundle) )
1100 goto _test_eof3; 1108 goto _test_eof3;
1101 case 3: 1109 case 3:
1102 goto st4; 1110 goto st4;
1103 st4: 1111 st4:
1104 if ( ++( current_position) == ( end_of_bundle) ) 1112 if ( ++( current_position) == ( end_of_bundle) )
1105 goto _test_eof4; 1113 goto _test_eof4;
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
1251 { SET_CPU_FEATURE(CPUFeature_AVX); } 1259 { SET_CPU_FEATURE(CPUFeature_AVX); }
1252 goto st10; 1260 goto st10;
1253 tr404: 1261 tr404:
1254 { 1262 {
1255 SET_IMM2_TYPE(IMM8); 1263 SET_IMM2_TYPE(IMM8);
1256 SET_IMM2_PTR(current_position); 1264 SET_IMM2_PTR(current_position);
1257 } 1265 }
1258 goto st10; 1266 goto st10;
1259 tr428: 1267 tr428:
1260 { 1268 {
1261 BitmapSetBit(valid_targets, current_position - data); 1269 MakeJumpTargetValid(current_position - data, valid_targets);
1262 } 1270 }
1263 goto st10; 1271 goto st10;
1264 st10: 1272 st10:
1265 if ( ++( current_position) == ( end_of_bundle) ) 1273 if ( ++( current_position) == ( end_of_bundle) )
1266 goto _test_eof10; 1274 goto _test_eof10;
1267 case 10: 1275 case 10:
1268 goto tr11; 1276 goto tr11;
1269 tr220: 1277 tr220:
1270 { 1278 {
1271 SET_DISP_TYPE(DISP32); 1279 SET_DISP_TYPE(DISP32);
1272 SET_DISP_PTR(current_position - 3); 1280 SET_DISP_PTR(current_position - 3);
1273 } 1281 }
1274 goto st11; 1282 goto st11;
1275 tr221: 1283 tr221:
1276 { 1284 {
1277 SET_DISP_TYPE(DISP8); 1285 SET_DISP_TYPE(DISP8);
1278 SET_DISP_PTR(current_position); 1286 SET_DISP_PTR(current_position);
1279 } 1287 }
1280 goto st11; 1288 goto st11;
1281 tr270: 1289 tr270:
1282 { SET_CPU_FEATURE(CPUFeature_LWP); } 1290 { SET_CPU_FEATURE(CPUFeature_LWP); }
1283 goto st11; 1291 goto st11;
1284 tr429: 1292 tr429:
1285 { 1293 {
1286 BitmapSetBit(valid_targets, current_position - data); 1294 MakeJumpTargetValid(current_position - data, valid_targets);
1287 } 1295 }
1288 goto st11; 1296 goto st11;
1289 st11: 1297 st11:
1290 if ( ++( current_position) == ( end_of_bundle) ) 1298 if ( ++( current_position) == ( end_of_bundle) )
1291 goto _test_eof11; 1299 goto _test_eof11;
1292 case 11: 1300 case 11:
1293 goto st12; 1301 goto st12;
1294 st12: 1302 st12:
1295 if ( ++( current_position) == ( end_of_bundle) ) 1303 if ( ++( current_position) == ( end_of_bundle) )
1296 goto _test_eof12; 1304 goto _test_eof12;
(...skipping 14 matching lines...) Expand all
1311 result &= user_callback(instruction_start, current_position, 1319 result &= user_callback(instruction_start, current_position,
1312 UNRECOGNIZED_INSTRUCTION, callback_data); 1320 UNRECOGNIZED_INSTRUCTION, callback_data);
1313 continue; 1321 continue;
1314 } 1322 }
1315 goto st0; 1323 goto st0;
1316 st0: 1324 st0:
1317 ( current_state) = 0; 1325 ( current_state) = 0;
1318 goto _out; 1326 goto _out;
1319 tr430: 1327 tr430:
1320 { 1328 {
1321 BitmapSetBit(valid_targets, current_position - data); 1329 MakeJumpTargetValid(current_position - data, valid_targets);
1322 } 1330 }
1323 goto st15; 1331 goto st15;
1324 st15: 1332 st15:
1325 if ( ++( current_position) == ( end_of_bundle) ) 1333 if ( ++( current_position) == ( end_of_bundle) )
1326 goto _test_eof15; 1334 goto _test_eof15;
1327 case 15: 1335 case 15:
1328 switch( (*( current_position)) ) { 1336 switch( (*( current_position)) ) {
1329 case 1u: goto st16; 1337 case 1u: goto st16;
1330 case 11u: goto tr0; 1338 case 11u: goto tr0;
1331 case 13u: goto st17; 1339 case 13u: goto st17;
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
1722 { SET_CPU_FEATURE(CPUFeature_SSE4A); } 1730 { SET_CPU_FEATURE(CPUFeature_SSE4A); }
1723 goto st29; 1731 goto st29;
1724 tr410: 1732 tr410:
1725 { 1733 {
1726 SET_REPZ_PREFIX(FALSE); 1734 SET_REPZ_PREFIX(FALSE);
1727 } 1735 }
1728 { SET_CPU_FEATURE(CPUFeature_SSE4A); } 1736 { SET_CPU_FEATURE(CPUFeature_SSE4A); }
1729 goto st29; 1737 goto st29;
1730 tr440: 1738 tr440:
1731 { 1739 {
1732 BitmapSetBit(valid_targets, current_position - data); 1740 MakeJumpTargetValid(current_position - data, valid_targets);
1733 } 1741 }
1734 goto st29; 1742 goto st29;
1735 st29: 1743 st29:
1736 if ( ++( current_position) == ( end_of_bundle) ) 1744 if ( ++( current_position) == ( end_of_bundle) )
1737 goto _test_eof29; 1745 goto _test_eof29;
1738 case 29: 1746 case 29:
1739 switch( (*( current_position)) ) { 1747 switch( (*( current_position)) ) {
1740 case 4u: goto st2; 1748 case 4u: goto st2;
1741 case 5u: goto st3; 1749 case 5u: goto st3;
1742 case 12u: goto st2; 1750 case 12u: goto st2;
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
1927 { SET_CPU_FEATURE(CPUFeature_SSE); } 1935 { SET_CPU_FEATURE(CPUFeature_SSE); }
1928 goto st34; 1936 goto st34;
1929 tr412: 1937 tr412:
1930 { 1938 {
1931 SET_REPZ_PREFIX(FALSE); 1939 SET_REPZ_PREFIX(FALSE);
1932 } 1940 }
1933 { SET_CPU_FEATURE(CPUFeature_SSE2); } 1941 { SET_CPU_FEATURE(CPUFeature_SSE2); }
1934 goto st34; 1942 goto st34;
1935 tr437: 1943 tr437:
1936 { 1944 {
1937 BitmapSetBit(valid_targets, current_position - data); 1945 MakeJumpTargetValid(current_position - data, valid_targets);
1938 } 1946 }
1939 goto st34; 1947 goto st34;
1940 st34: 1948 st34:
1941 if ( ++( current_position) == ( end_of_bundle) ) 1949 if ( ++( current_position) == ( end_of_bundle) )
1942 goto _test_eof34; 1950 goto _test_eof34;
1943 case 34: 1951 case 34:
1944 switch( (*( current_position)) ) { 1952 switch( (*( current_position)) ) {
1945 case 4u: goto st35; 1953 case 4u: goto st35;
1946 case 5u: goto st36; 1954 case 5u: goto st36;
1947 case 12u: goto st35; 1955 case 12u: goto st35;
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
2212 goto _test_eof45; 2220 goto _test_eof45;
2213 case 45: 2221 case 45:
2214 if ( (*( current_position)) > 215u ) { 2222 if ( (*( current_position)) > 215u ) {
2215 if ( 240u <= (*( current_position)) && (*( current_position)) <= 247u ) 2223 if ( 240u <= (*( current_position)) && (*( current_position)) <= 247u )
2216 goto tr91; 2224 goto tr91;
2217 } else if ( (*( current_position)) >= 208u ) 2225 } else if ( (*( current_position)) >= 208u )
2218 goto tr91; 2226 goto tr91;
2219 goto tr16; 2227 goto tr16;
2220 tr459: 2228 tr459:
2221 { 2229 {
2222 BitmapSetBit(valid_targets, current_position - data); 2230 MakeJumpTargetValid(current_position - data, valid_targets);
2223 } 2231 }
2224 goto st46; 2232 goto st46;
2225 st46: 2233 st46:
2226 if ( ++( current_position) == ( end_of_bundle) ) 2234 if ( ++( current_position) == ( end_of_bundle) )
2227 goto _test_eof46; 2235 goto _test_eof46;
2228 case 46: 2236 case 46:
2229 goto st47; 2237 goto st47;
2230 st47: 2238 st47:
2231 if ( ++( current_position) == ( end_of_bundle) ) 2239 if ( ++( current_position) == ( end_of_bundle) )
2232 goto _test_eof47; 2240 goto _test_eof47;
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
2396 if ( 8u <= (*( current_position)) && (*( current_position)) <= 1 5u ) 2404 if ( 8u <= (*( current_position)) && (*( current_position)) <= 1 5u )
2397 goto tr115; 2405 goto tr115;
2398 } else if ( (*( current_position)) > 79u ) { 2406 } else if ( (*( current_position)) > 79u ) {
2399 if ( 136u <= (*( current_position)) && (*( current_position)) <= 143u ) 2407 if ( 136u <= (*( current_position)) && (*( current_position)) <= 143u )
2400 goto tr117; 2408 goto tr117;
2401 } else 2409 } else
2402 goto tr118; 2410 goto tr118;
2403 goto tr16; 2411 goto tr16;
2404 tr431: 2412 tr431:
2405 { 2413 {
2406 BitmapSetBit(valid_targets, current_position - data); 2414 MakeJumpTargetValid(current_position - data, valid_targets);
2407 } 2415 }
2408 { 2416 {
2409 SET_BRANCH_NOT_TAKEN(TRUE); 2417 SET_BRANCH_NOT_TAKEN(TRUE);
2410 } 2418 }
2411 goto st54; 2419 goto st54;
2412 tr432: 2420 tr432:
2413 { 2421 {
2414 BitmapSetBit(valid_targets, current_position - data); 2422 MakeJumpTargetValid(current_position - data, valid_targets);
2415 } 2423 }
2416 { 2424 {
2417 SET_BRANCH_TAKEN(TRUE); 2425 SET_BRANCH_TAKEN(TRUE);
2418 } 2426 }
2419 goto st54; 2427 goto st54;
2420 st54: 2428 st54:
2421 if ( ++( current_position) == ( end_of_bundle) ) 2429 if ( ++( current_position) == ( end_of_bundle) )
2422 goto _test_eof54; 2430 goto _test_eof54;
2423 case 54: 2431 case 54:
2424 if ( (*( current_position)) == 15u ) 2432 if ( (*( current_position)) == 15u )
2425 goto st55; 2433 goto st55;
2426 if ( 112u <= (*( current_position)) && (*( current_position)) <= 127u ) 2434 if ( 112u <= (*( current_position)) && (*( current_position)) <= 127u )
2427 goto st56; 2435 goto st56;
2428 goto tr16; 2436 goto tr16;
2429 st55: 2437 st55:
2430 if ( ++( current_position) == ( end_of_bundle) ) 2438 if ( ++( current_position) == ( end_of_bundle) )
2431 goto _test_eof55; 2439 goto _test_eof55;
2432 case 55: 2440 case 55:
2433 if ( 128u <= (*( current_position)) && (*( current_position)) <= 143u ) 2441 if ( 128u <= (*( current_position)) && (*( current_position)) <= 143u )
2434 goto st46; 2442 goto st46;
2435 goto tr16; 2443 goto tr16;
2436 tr438: 2444 tr438:
2437 { 2445 {
2438 BitmapSetBit(valid_targets, current_position - data); 2446 MakeJumpTargetValid(current_position - data, valid_targets);
2439 } 2447 }
2440 goto st56; 2448 goto st56;
2441 st56: 2449 st56:
2442 if ( ++( current_position) == ( end_of_bundle) ) 2450 if ( ++( current_position) == ( end_of_bundle) )
2443 goto _test_eof56; 2451 goto _test_eof56;
2444 case 56: 2452 case 56:
2445 goto tr123; 2453 goto tr123;
2446 tr434: 2454 tr434:
2447 { 2455 {
2448 BitmapSetBit(valid_targets, current_position - data); 2456 MakeJumpTargetValid(current_position - data, valid_targets);
2449 } 2457 }
2450 goto st57; 2458 goto st57;
2451 st57: 2459 st57:
2452 if ( ++( current_position) == ( end_of_bundle) ) 2460 if ( ++( current_position) == ( end_of_bundle) )
2453 goto _test_eof57; 2461 goto _test_eof57;
2454 case 57: 2462 case 57:
2455 switch( (*( current_position)) ) { 2463 switch( (*( current_position)) ) {
2456 case 139u: goto st58; 2464 case 139u: goto st58;
2457 case 161u: goto st59; 2465 case 161u: goto st59;
2458 } 2466 }
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
2497 goto tr16; 2505 goto tr16;
2498 st62: 2506 st62:
2499 if ( ++( current_position) == ( end_of_bundle) ) 2507 if ( ++( current_position) == ( end_of_bundle) )
2500 goto _test_eof62; 2508 goto _test_eof62;
2501 case 62: 2509 case 62:
2502 if ( (*( current_position)) == 0u ) 2510 if ( (*( current_position)) == 0u )
2503 goto tr0; 2511 goto tr0;
2504 goto tr16; 2512 goto tr16;
2505 tr435: 2513 tr435:
2506 { 2514 {
2507 BitmapSetBit(valid_targets, current_position - data); 2515 MakeJumpTargetValid(current_position - data, valid_targets);
2508 } 2516 }
2509 { 2517 {
2510 SET_DATA16_PREFIX(TRUE); 2518 SET_DATA16_PREFIX(TRUE);
2511 } 2519 }
2512 goto st63; 2520 goto st63;
2513 st63: 2521 st63:
2514 if ( ++( current_position) == ( end_of_bundle) ) 2522 if ( ++( current_position) == ( end_of_bundle) )
2515 goto _test_eof63; 2523 goto _test_eof63;
2516 case 63: 2524 case 63:
2517 switch( (*( current_position)) ) { 2525 switch( (*( current_position)) ) {
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after
3063 goto _test_eof94; 3071 goto _test_eof94;
3064 case 94: 3072 case 94:
3065 goto st93; 3073 goto st93;
3066 st95: 3074 st95:
3067 if ( ++( current_position) == ( end_of_bundle) ) 3075 if ( ++( current_position) == ( end_of_bundle) )
3068 goto _test_eof95; 3076 goto _test_eof95;
3069 case 95: 3077 case 95:
3070 goto st89; 3078 goto st89;
3071 tr444: 3079 tr444:
3072 { 3080 {
3073 BitmapSetBit(valid_targets, current_position - data); 3081 MakeJumpTargetValid(current_position - data, valid_targets);
3074 } 3082 }
3075 goto st96; 3083 goto st96;
3076 st96: 3084 st96:
3077 if ( ++( current_position) == ( end_of_bundle) ) 3085 if ( ++( current_position) == ( end_of_bundle) )
3078 goto _test_eof96; 3086 goto _test_eof96;
3079 case 96: 3087 case 96:
3080 switch( (*( current_position)) ) { 3088 switch( (*( current_position)) ) {
3081 case 4u: goto st35; 3089 case 4u: goto st35;
3082 case 5u: goto st36; 3090 case 5u: goto st36;
3083 case 12u: goto st35; 3091 case 12u: goto st35;
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
3148 if ( (*( current_position)) > 135u ) { 3156 if ( (*( current_position)) > 135u ) {
3149 if ( 192u <= (*( current_position)) && (*( current_posit ion)) <= 199u ) 3157 if ( 192u <= (*( current_position)) && (*( current_posit ion)) <= 199u )
3150 goto st64; 3158 goto st64;
3151 } else if ( (*( current_position)) >= 128u ) 3159 } else if ( (*( current_position)) >= 128u )
3152 goto st89; 3160 goto st89;
3153 } else 3161 } else
3154 goto st93; 3162 goto st93;
3155 goto tr16; 3163 goto tr16;
3156 tr449: 3164 tr449:
3157 { 3165 {
3158 BitmapSetBit(valid_targets, current_position - data); 3166 MakeJumpTargetValid(current_position - data, valid_targets);
3159 } 3167 }
3160 goto st98; 3168 goto st98;
3161 st98: 3169 st98:
3162 if ( ++( current_position) == ( end_of_bundle) ) 3170 if ( ++( current_position) == ( end_of_bundle) )
3163 goto _test_eof98; 3171 goto _test_eof98;
3164 case 98: 3172 case 98:
3165 switch( (*( current_position)) ) { 3173 switch( (*( current_position)) ) {
3166 case 4u: goto st2; 3174 case 4u: goto st2;
3167 case 5u: goto st3; 3175 case 5u: goto st3;
3168 case 12u: goto st2; 3176 case 12u: goto st2;
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
3494 goto tr16; 3502 goto tr16;
3495 } else if ( (*( current_position)) >= 192u ) 3503 } else if ( (*( current_position)) >= 192u )
3496 goto st64; 3504 goto st64;
3497 } else 3505 } else
3498 goto st3; 3506 goto st3;
3499 } else 3507 } else
3500 goto st7; 3508 goto st7;
3501 goto tr0; 3509 goto tr0;
3502 tr466: 3510 tr466:
3503 { 3511 {
3504 BitmapSetBit(valid_targets, current_position - data); 3512 MakeJumpTargetValid(current_position - data, valid_targets);
3505 } 3513 }
3506 goto st109; 3514 goto st109;
3507 st109: 3515 st109:
3508 if ( ++( current_position) == ( end_of_bundle) ) 3516 if ( ++( current_position) == ( end_of_bundle) )
3509 goto _test_eof109; 3517 goto _test_eof109;
3510 case 109: 3518 case 109:
3511 switch( (*( current_position)) ) { 3519 switch( (*( current_position)) ) {
3512 case 4u: goto st2; 3520 case 4u: goto st2;
3513 case 5u: goto st3; 3521 case 5u: goto st3;
3514 case 12u: goto st2; 3522 case 12u: goto st2;
(...skipping 29 matching lines...) Expand all
3544 } else 3552 } else
3545 goto st3; 3553 goto st3;
3546 } else 3554 } else
3547 goto st7; 3555 goto st7;
3548 goto tr16; 3556 goto tr16;
3549 tr276: 3557 tr276:
3550 { SET_CPU_FEATURE(CPUFeature_BMI1); } 3558 { SET_CPU_FEATURE(CPUFeature_BMI1); }
3551 goto st110; 3559 goto st110;
3552 tr436: 3560 tr436:
3553 { 3561 {
3554 BitmapSetBit(valid_targets, current_position - data); 3562 MakeJumpTargetValid(current_position - data, valid_targets);
3555 } 3563 }
3556 goto st110; 3564 goto st110;
3557 st110: 3565 st110:
3558 if ( ++( current_position) == ( end_of_bundle) ) 3566 if ( ++( current_position) == ( end_of_bundle) )
3559 goto _test_eof110; 3567 goto _test_eof110;
3560 case 110: 3568 case 110:
3561 switch( (*( current_position)) ) { 3569 switch( (*( current_position)) ) {
3562 case 4u: goto st111; 3570 case 4u: goto st111;
3563 case 5u: goto st112; 3571 case 5u: goto st112;
3564 case 12u: goto st111; 3572 case 12u: goto st111;
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
3682 tr275: 3690 tr275:
3683 { SET_CPU_FEATURE(CPUFeature_LWP); } 3691 { SET_CPU_FEATURE(CPUFeature_LWP); }
3684 goto st118; 3692 goto st118;
3685 st118: 3693 st118:
3686 if ( ++( current_position) == ( end_of_bundle) ) 3694 if ( ++( current_position) == ( end_of_bundle) )
3687 goto _test_eof118; 3695 goto _test_eof118;
3688 case 118: 3696 case 118:
3689 goto st112; 3697 goto st112;
3690 tr439: 3698 tr439:
3691 { 3699 {
3692 BitmapSetBit(valid_targets, current_position - data); 3700 MakeJumpTargetValid(current_position - data, valid_targets);
3693 } 3701 }
3694 goto st119; 3702 goto st119;
3695 st119: 3703 st119:
3696 if ( ++( current_position) == ( end_of_bundle) ) 3704 if ( ++( current_position) == ( end_of_bundle) )
3697 goto _test_eof119; 3705 goto _test_eof119;
3698 case 119: 3706 case 119:
3699 switch( (*( current_position)) ) { 3707 switch( (*( current_position)) ) {
3700 case 4u: goto st35; 3708 case 4u: goto st35;
3701 case 5u: goto st36; 3709 case 5u: goto st36;
3702 case 12u: goto st35; 3710 case 12u: goto st35;
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
3892 goto tr433; 3900 goto tr433;
3893 } else 3901 } else
3894 goto tr449; 3902 goto tr449;
3895 } else 3903 } else
3896 goto tr428; 3904 goto tr428;
3897 } else 3905 } else
3898 goto tr427; 3906 goto tr427;
3899 goto tr16; 3907 goto tr16;
3900 tr441: 3908 tr441:
3901 { 3909 {
3902 BitmapSetBit(valid_targets, current_position - data); 3910 MakeJumpTargetValid(current_position - data, valid_targets);
3903 } 3911 }
3904 goto st121; 3912 goto st121;
3905 st121: 3913 st121:
3906 if ( ++( current_position) == ( end_of_bundle) ) 3914 if ( ++( current_position) == ( end_of_bundle) )
3907 goto _test_eof121; 3915 goto _test_eof121;
3908 case 121: 3916 case 121:
3909 switch( (*( current_position)) ) { 3917 switch( (*( current_position)) ) {
3910 case 4u: goto st2; 3918 case 4u: goto st2;
3911 case 5u: goto st3; 3919 case 5u: goto st3;
3912 case 68u: goto st8; 3920 case 68u: goto st8;
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after
4475 if ( ++( current_position) == ( end_of_bundle) ) 4483 if ( ++( current_position) == ( end_of_bundle) )
4476 goto _test_eof148; 4484 goto _test_eof148;
4477 case 148: 4485 case 148:
4478 switch( (*( current_position)) ) { 4486 switch( (*( current_position)) ) {
4479 case 16u: goto tr276; 4487 case 16u: goto tr276;
4480 case 18u: goto st147; 4488 case 18u: goto st147;
4481 } 4489 }
4482 goto tr16; 4490 goto tr16;
4483 tr445: 4491 tr445:
4484 { 4492 {
4485 BitmapSetBit(valid_targets, current_position - data); 4493 MakeJumpTargetValid(current_position - data, valid_targets);
4486 } 4494 }
4487 goto st149; 4495 goto st149;
4488 st149: 4496 st149:
4489 if ( ++( current_position) == ( end_of_bundle) ) 4497 if ( ++( current_position) == ( end_of_bundle) )
4490 goto _test_eof149; 4498 goto _test_eof149;
4491 case 149: 4499 case 149:
4492 switch( (*( current_position)) ) { 4500 switch( (*( current_position)) ) {
4493 case 225u: goto st150; 4501 case 225u: goto st150;
4494 case 226u: goto st172; 4502 case 226u: goto st172;
4495 case 227u: goto st181; 4503 case 227u: goto st181;
(...skipping 1506 matching lines...) Expand 10 before | Expand all | Expand 10 after
6002 } else if ( (*( current_position)) > 121u ) { 6010 } else if ( (*( current_position)) > 121u ) {
6003 if ( 124u <= (*( current_position)) && (*( current_posit ion)) <= 125u ) 6011 if ( 124u <= (*( current_position)) && (*( current_posit ion)) <= 125u )
6004 goto tr345; 6012 goto tr345;
6005 } else 6013 } else
6006 goto tr345; 6014 goto tr345;
6007 } else 6015 } else
6008 goto tr345; 6016 goto tr345;
6009 goto tr16; 6017 goto tr16;
6010 tr446: 6018 tr446:
6011 { 6019 {
6012 BitmapSetBit(valid_targets, current_position - data); 6020 MakeJumpTargetValid(current_position - data, valid_targets);
6013 } 6021 }
6014 goto st199; 6022 goto st199;
6015 st199: 6023 st199:
6016 if ( ++( current_position) == ( end_of_bundle) ) 6024 if ( ++( current_position) == ( end_of_bundle) )
6017 goto _test_eof199; 6025 goto _test_eof199;
6018 case 199: 6026 case 199:
6019 switch( (*( current_position)) ) { 6027 switch( (*( current_position)) ) {
6020 case 193u: goto tr362; 6028 case 193u: goto tr362;
6021 case 194u: goto tr363; 6029 case 194u: goto tr363;
6022 case 195u: goto tr364; 6030 case 195u: goto tr364;
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
6179 if ( (*( current_position)) > 95u ) { 6187 if ( (*( current_position)) > 95u ) {
6180 if ( 124u <= (*( current_position)) && (*( current_posit ion)) <= 125u ) 6188 if ( 124u <= (*( current_position)) && (*( current_posit ion)) <= 125u )
6181 goto tr297; 6189 goto tr297;
6182 } else if ( (*( current_position)) >= 92u ) 6190 } else if ( (*( current_position)) >= 92u )
6183 goto tr297; 6191 goto tr297;
6184 } else 6192 } else
6185 goto tr297; 6193 goto tr297;
6186 goto tr16; 6194 goto tr16;
6187 tr447: 6195 tr447:
6188 { 6196 {
6189 BitmapSetBit(valid_targets, current_position - data); 6197 MakeJumpTargetValid(current_position - data, valid_targets);
6190 } 6198 }
6191 goto st204; 6199 goto st204;
6192 st204: 6200 st204:
6193 if ( ++( current_position) == ( end_of_bundle) ) 6201 if ( ++( current_position) == ( end_of_bundle) )
6194 goto _test_eof204; 6202 goto _test_eof204;
6195 case 204: 6203 case 204:
6196 switch( (*( current_position)) ) { 6204 switch( (*( current_position)) ) {
6197 case 4u: goto st35; 6205 case 4u: goto st35;
6198 case 5u: goto st36; 6206 case 5u: goto st36;
6199 case 68u: goto st41; 6207 case 68u: goto st41;
6200 case 132u: goto st42; 6208 case 132u: goto st42;
6201 } 6209 }
6202 if ( (*( current_position)) < 64u ) { 6210 if ( (*( current_position)) < 64u ) {
6203 if ( (*( current_position)) <= 7u ) 6211 if ( (*( current_position)) <= 7u )
6204 goto st10; 6212 goto st10;
6205 } else if ( (*( current_position)) > 71u ) { 6213 } else if ( (*( current_position)) > 71u ) {
6206 if ( (*( current_position)) > 135u ) { 6214 if ( (*( current_position)) > 135u ) {
6207 if ( 192u <= (*( current_position)) && (*( current_posit ion)) <= 199u ) 6215 if ( 192u <= (*( current_position)) && (*( current_posit ion)) <= 199u )
6208 goto st10; 6216 goto st10;
6209 } else if ( (*( current_position)) >= 128u ) 6217 } else if ( (*( current_position)) >= 128u )
6210 goto st36; 6218 goto st36;
6211 } else 6219 } else
6212 goto st40; 6220 goto st40;
6213 goto tr16; 6221 goto tr16;
6214 tr448: 6222 tr448:
6215 { 6223 {
6216 BitmapSetBit(valid_targets, current_position - data); 6224 MakeJumpTargetValid(current_position - data, valid_targets);
6217 } 6225 }
6218 goto st205; 6226 goto st205;
6219 st205: 6227 st205:
6220 if ( ++( current_position) == ( end_of_bundle) ) 6228 if ( ++( current_position) == ( end_of_bundle) )
6221 goto _test_eof205; 6229 goto _test_eof205;
6222 case 205: 6230 case 205:
6223 switch( (*( current_position)) ) { 6231 switch( (*( current_position)) ) {
6224 case 4u: goto st111; 6232 case 4u: goto st111;
6225 case 5u: goto st112; 6233 case 5u: goto st112;
6226 case 68u: goto st117; 6234 case 68u: goto st117;
6227 case 132u: goto st118; 6235 case 132u: goto st118;
6228 } 6236 }
6229 if ( (*( current_position)) < 64u ) { 6237 if ( (*( current_position)) < 64u ) {
6230 if ( (*( current_position)) <= 7u ) 6238 if ( (*( current_position)) <= 7u )
6231 goto st11; 6239 goto st11;
6232 } else if ( (*( current_position)) > 71u ) { 6240 } else if ( (*( current_position)) > 71u ) {
6233 if ( (*( current_position)) > 135u ) { 6241 if ( (*( current_position)) > 135u ) {
6234 if ( 192u <= (*( current_position)) && (*( current_posit ion)) <= 199u ) 6242 if ( 192u <= (*( current_position)) && (*( current_posit ion)) <= 199u )
6235 goto st11; 6243 goto st11;
6236 } else if ( (*( current_position)) >= 128u ) 6244 } else if ( (*( current_position)) >= 128u )
6237 goto st112; 6245 goto st112;
6238 } else 6246 } else
6239 goto st116; 6247 goto st116;
6240 goto tr16; 6248 goto tr16;
6241 tr450: 6249 tr450:
6242 { 6250 {
6243 BitmapSetBit(valid_targets, current_position - data); 6251 MakeJumpTargetValid(current_position - data, valid_targets);
6244 } 6252 }
6245 goto st206; 6253 goto st206;
6246 st206: 6254 st206:
6247 if ( ++( current_position) == ( end_of_bundle) ) 6255 if ( ++( current_position) == ( end_of_bundle) )
6248 goto _test_eof206; 6256 goto _test_eof206;
6249 case 206: 6257 case 206:
6250 switch( (*( current_position)) ) { 6258 switch( (*( current_position)) ) {
6251 case 4u: goto tr378; 6259 case 4u: goto tr378;
6252 case 5u: goto tr379; 6260 case 5u: goto tr379;
6253 case 12u: goto tr378; 6261 case 12u: goto tr378;
(...skipping 28 matching lines...) Expand all
6282 case 188u: goto tr382; 6290 case 188u: goto tr382;
6283 } 6291 }
6284 if ( (*( current_position)) > 127u ) { 6292 if ( (*( current_position)) > 127u ) {
6285 if ( 128u <= (*( current_position)) && (*( current_position)) <= 191u ) 6293 if ( 128u <= (*( current_position)) && (*( current_position)) <= 191u )
6286 goto tr379; 6294 goto tr379;
6287 } else if ( (*( current_position)) >= 64u ) 6295 } else if ( (*( current_position)) >= 64u )
6288 goto tr380; 6296 goto tr380;
6289 goto tr377; 6297 goto tr377;
6290 tr451: 6298 tr451:
6291 { 6299 {
6292 BitmapSetBit(valid_targets, current_position - data); 6300 MakeJumpTargetValid(current_position - data, valid_targets);
6293 } 6301 }
6294 goto st207; 6302 goto st207;
6295 st207: 6303 st207:
6296 if ( ++( current_position) == ( end_of_bundle) ) 6304 if ( ++( current_position) == ( end_of_bundle) )
6297 goto _test_eof207; 6305 goto _test_eof207;
6298 case 207: 6306 case 207:
6299 switch( (*( current_position)) ) { 6307 switch( (*( current_position)) ) {
6300 case 4u: goto tr378; 6308 case 4u: goto tr378;
6301 case 5u: goto tr379; 6309 case 5u: goto tr379;
6302 case 20u: goto tr378; 6310 case 20u: goto tr378;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
6352 goto tr16; 6360 goto tr16;
6353 } else if ( (*( current_position)) >= 226u ) 6361 } else if ( (*( current_position)) >= 226u )
6354 goto tr16; 6362 goto tr16;
6355 } else 6363 } else
6356 goto tr16; 6364 goto tr16;
6357 } else 6365 } else
6358 goto tr379; 6366 goto tr379;
6359 goto tr377; 6367 goto tr377;
6360 tr452: 6368 tr452:
6361 { 6369 {
6362 BitmapSetBit(valid_targets, current_position - data); 6370 MakeJumpTargetValid(current_position - data, valid_targets);
6363 } 6371 }
6364 goto st208; 6372 goto st208;
6365 st208: 6373 st208:
6366 if ( ++( current_position) == ( end_of_bundle) ) 6374 if ( ++( current_position) == ( end_of_bundle) )
6367 goto _test_eof208; 6375 goto _test_eof208;
6368 case 208: 6376 case 208:
6369 switch( (*( current_position)) ) { 6377 switch( (*( current_position)) ) {
6370 case 4u: goto tr378; 6378 case 4u: goto tr378;
6371 case 12u: goto tr378; 6379 case 12u: goto tr378;
6372 case 20u: goto tr378; 6380 case 20u: goto tr378;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
6424 goto tr16; 6432 goto tr16;
6425 } else 6433 } else
6426 goto tr383; 6434 goto tr383;
6427 } else 6435 } else
6428 goto tr377; 6436 goto tr377;
6429 } else 6437 } else
6430 goto tr377; 6438 goto tr377;
6431 goto tr379; 6439 goto tr379;
6432 tr453: 6440 tr453:
6433 { 6441 {
6434 BitmapSetBit(valid_targets, current_position - data); 6442 MakeJumpTargetValid(current_position - data, valid_targets);
6435 } 6443 }
6436 goto st209; 6444 goto st209;
6437 st209: 6445 st209:
6438 if ( ++( current_position) == ( end_of_bundle) ) 6446 if ( ++( current_position) == ( end_of_bundle) )
6439 goto _test_eof209; 6447 goto _test_eof209;
6440 case 209: 6448 case 209:
6441 switch( (*( current_position)) ) { 6449 switch( (*( current_position)) ) {
6442 case 4u: goto tr378; 6450 case 4u: goto tr378;
6443 case 5u: goto tr379; 6451 case 5u: goto tr379;
6444 case 12u: goto tr378; 6452 case 12u: goto tr378;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
6495 goto tr377; 6503 goto tr377;
6496 } else 6504 } else
6497 goto tr377; 6505 goto tr377;
6498 } else 6506 } else
6499 goto tr379; 6507 goto tr379;
6500 } else 6508 } else
6501 goto tr380; 6509 goto tr380;
6502 goto tr16; 6510 goto tr16;
6503 tr454: 6511 tr454:
6504 { 6512 {
6505 BitmapSetBit(valid_targets, current_position - data); 6513 MakeJumpTargetValid(current_position - data, valid_targets);
6506 } 6514 }
6507 goto st210; 6515 goto st210;
6508 st210: 6516 st210:
6509 if ( ++( current_position) == ( end_of_bundle) ) 6517 if ( ++( current_position) == ( end_of_bundle) )
6510 goto _test_eof210; 6518 goto _test_eof210;
6511 case 210: 6519 case 210:
6512 switch( (*( current_position)) ) { 6520 switch( (*( current_position)) ) {
6513 case 4u: goto tr378; 6521 case 4u: goto tr378;
6514 case 5u: goto tr379; 6522 case 5u: goto tr379;
6515 case 12u: goto tr378; 6523 case 12u: goto tr378;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
6547 if ( 64u <= (*( current_position)) && (*( current_position)) <= 127u ) 6555 if ( 64u <= (*( current_position)) && (*( current_position)) <= 127u )
6548 goto tr380; 6556 goto tr380;
6549 } else if ( (*( current_position)) > 191u ) { 6557 } else if ( (*( current_position)) > 191u ) {
6550 if ( 208u <= (*( current_position)) && (*( current_position)) <= 223u ) 6558 if ( 208u <= (*( current_position)) && (*( current_position)) <= 223u )
6551 goto tr16; 6559 goto tr16;
6552 } else 6560 } else
6553 goto tr379; 6561 goto tr379;
6554 goto tr377; 6562 goto tr377;
6555 tr455: 6563 tr455:
6556 { 6564 {
6557 BitmapSetBit(valid_targets, current_position - data); 6565 MakeJumpTargetValid(current_position - data, valid_targets);
6558 } 6566 }
6559 goto st211; 6567 goto st211;
6560 st211: 6568 st211:
6561 if ( ++( current_position) == ( end_of_bundle) ) 6569 if ( ++( current_position) == ( end_of_bundle) )
6562 goto _test_eof211; 6570 goto _test_eof211;
6563 case 211: 6571 case 211:
6564 switch( (*( current_position)) ) { 6572 switch( (*( current_position)) ) {
6565 case 4u: goto tr378; 6573 case 4u: goto tr378;
6566 case 5u: goto tr379; 6574 case 5u: goto tr379;
6567 case 12u: goto tr378; 6575 case 12u: goto tr378;
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
6613 goto tr16; 6621 goto tr16;
6614 } else if ( (*( current_position)) >= 200u ) 6622 } else if ( (*( current_position)) >= 200u )
6615 goto tr16; 6623 goto tr16;
6616 } else 6624 } else
6617 goto tr379; 6625 goto tr379;
6618 } else 6626 } else
6619 goto tr379; 6627 goto tr379;
6620 goto tr377; 6628 goto tr377;
6621 tr456: 6629 tr456:
6622 { 6630 {
6623 BitmapSetBit(valid_targets, current_position - data); 6631 MakeJumpTargetValid(current_position - data, valid_targets);
6624 } 6632 }
6625 goto st212; 6633 goto st212;
6626 st212: 6634 st212:
6627 if ( ++( current_position) == ( end_of_bundle) ) 6635 if ( ++( current_position) == ( end_of_bundle) )
6628 goto _test_eof212; 6636 goto _test_eof212;
6629 case 212: 6637 case 212:
6630 switch( (*( current_position)) ) { 6638 switch( (*( current_position)) ) {
6631 case 4u: goto tr378; 6639 case 4u: goto tr378;
6632 case 5u: goto tr379; 6640 case 5u: goto tr379;
6633 case 12u: goto tr378; 6641 case 12u: goto tr378;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
6668 if ( (*( current_position)) > 216u ) { 6676 if ( (*( current_position)) > 216u ) {
6669 if ( 218u <= (*( current_position)) && (*( current_posit ion)) <= 223u ) 6677 if ( 218u <= (*( current_position)) && (*( current_posit ion)) <= 223u )
6670 goto tr16; 6678 goto tr16;
6671 } else if ( (*( current_position)) >= 208u ) 6679 } else if ( (*( current_position)) >= 208u )
6672 goto tr16; 6680 goto tr16;
6673 } else 6681 } else
6674 goto tr379; 6682 goto tr379;
6675 goto tr377; 6683 goto tr377;
6676 tr457: 6684 tr457:
6677 { 6685 {
6678 BitmapSetBit(valid_targets, current_position - data); 6686 MakeJumpTargetValid(current_position - data, valid_targets);
6679 } 6687 }
6680 goto st213; 6688 goto st213;
6681 st213: 6689 st213:
6682 if ( ++( current_position) == ( end_of_bundle) ) 6690 if ( ++( current_position) == ( end_of_bundle) )
6683 goto _test_eof213; 6691 goto _test_eof213;
6684 case 213: 6692 case 213:
6685 switch( (*( current_position)) ) { 6693 switch( (*( current_position)) ) {
6686 case 4u: goto tr378; 6694 case 4u: goto tr378;
6687 case 5u: goto tr379; 6695 case 5u: goto tr379;
6688 case 12u: goto tr378; 6696 case 12u: goto tr378;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
6726 if ( (*( current_position)) > 231u ) { 6734 if ( (*( current_position)) > 231u ) {
6727 if ( 248u <= (*( current_position)) ) 6735 if ( 248u <= (*( current_position)) )
6728 goto tr16; 6736 goto tr16;
6729 } else if ( (*( current_position)) >= 225u ) 6737 } else if ( (*( current_position)) >= 225u )
6730 goto tr16; 6738 goto tr16;
6731 } else 6739 } else
6732 goto tr16; 6740 goto tr16;
6733 goto tr377; 6741 goto tr377;
6734 tr458: 6742 tr458:
6735 { 6743 {
6736 BitmapSetBit(valid_targets, current_position - data); 6744 MakeJumpTargetValid(current_position - data, valid_targets);
6737 } 6745 }
6738 goto st214; 6746 goto st214;
6739 st214: 6747 st214:
6740 if ( ++( current_position) == ( end_of_bundle) ) 6748 if ( ++( current_position) == ( end_of_bundle) )
6741 goto _test_eof214; 6749 goto _test_eof214;
6742 case 214: 6750 case 214:
6743 goto st215; 6751 goto st215;
6744 st215: 6752 st215:
6745 if ( ++( current_position) == ( end_of_bundle) ) 6753 if ( ++( current_position) == ( end_of_bundle) )
6746 goto _test_eof215; 6754 goto _test_eof215;
6747 case 215: 6755 case 215:
6748 goto st216; 6756 goto st216;
6749 st216: 6757 st216:
6750 if ( ++( current_position) == ( end_of_bundle) ) 6758 if ( ++( current_position) == ( end_of_bundle) )
6751 goto _test_eof216; 6759 goto _test_eof216;
6752 case 216: 6760 case 216:
6753 goto st217; 6761 goto st217;
6754 st217: 6762 st217:
6755 if ( ++( current_position) == ( end_of_bundle) ) 6763 if ( ++( current_position) == ( end_of_bundle) )
6756 goto _test_eof217; 6764 goto _test_eof217;
6757 case 217: 6765 case 217:
6758 goto tr387; 6766 goto tr387;
6759 tr460: 6767 tr460:
6760 { 6768 {
6761 BitmapSetBit(valid_targets, current_position - data); 6769 MakeJumpTargetValid(current_position - data, valid_targets);
6762 } 6770 }
6763 { 6771 {
6764 SET_LOCK_PREFIX(TRUE); 6772 SET_LOCK_PREFIX(TRUE);
6765 } 6773 }
6766 goto st218; 6774 goto st218;
6767 st218: 6775 st218:
6768 if ( ++( current_position) == ( end_of_bundle) ) 6776 if ( ++( current_position) == ( end_of_bundle) )
6769 goto _test_eof218; 6777 goto _test_eof218;
6770 case 218: 6778 case 218:
6771 switch( (*( current_position)) ) { 6779 switch( (*( current_position)) ) {
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
6855 if ( (*( current_position)) <= 55u ) 6863 if ( (*( current_position)) <= 55u )
6856 goto st11; 6864 goto st11;
6857 } else if ( (*( current_position)) > 119u ) { 6865 } else if ( (*( current_position)) > 119u ) {
6858 if ( 128u <= (*( current_position)) && (*( current_position)) <= 183u ) 6866 if ( 128u <= (*( current_position)) && (*( current_position)) <= 183u )
6859 goto st112; 6867 goto st112;
6860 } else 6868 } else
6861 goto st116; 6869 goto st116;
6862 goto tr16; 6870 goto tr16;
6863 tr461: 6871 tr461:
6864 { 6872 {
6865 BitmapSetBit(valid_targets, current_position - data); 6873 MakeJumpTargetValid(current_position - data, valid_targets);
6866 } 6874 }
6867 { 6875 {
6868 SET_REPNZ_PREFIX(TRUE); 6876 SET_REPNZ_PREFIX(TRUE);
6869 } 6877 }
6870 goto st221; 6878 goto st221;
6871 st221: 6879 st221:
6872 if ( ++( current_position) == ( end_of_bundle) ) 6880 if ( ++( current_position) == ( end_of_bundle) )
6873 goto _test_eof221; 6881 goto _test_eof221;
6874 case 221: 6882 case 221:
6875 switch( (*( current_position)) ) { 6883 switch( (*( current_position)) ) {
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
6935 if ( 192u <= (*( current_position)) ) 6943 if ( 192u <= (*( current_position)) )
6936 goto st225; 6944 goto st225;
6937 goto tr16; 6945 goto tr16;
6938 st225: 6946 st225:
6939 if ( ++( current_position) == ( end_of_bundle) ) 6947 if ( ++( current_position) == ( end_of_bundle) )
6940 goto _test_eof225; 6948 goto _test_eof225;
6941 case 225: 6949 case 225:
6942 goto tr404; 6950 goto tr404;
6943 tr462: 6951 tr462:
6944 { 6952 {
6945 BitmapSetBit(valid_targets, current_position - data); 6953 MakeJumpTargetValid(current_position - data, valid_targets);
6946 } 6954 }
6947 { 6955 {
6948 SET_REPZ_PREFIX(TRUE); 6956 SET_REPZ_PREFIX(TRUE);
6949 } 6957 }
6950 { 6958 {
6951 SET_REPZ_PREFIX(TRUE); 6959 SET_REPZ_PREFIX(TRUE);
6952 } 6960 }
6953 goto st226; 6961 goto st226;
6954 st226: 6962 st226:
6955 if ( ++( current_position) == ( end_of_bundle) ) 6963 if ( ++( current_position) == ( end_of_bundle) )
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
7002 } else if ( (*( current_position)) > 95u ) { 7010 } else if ( (*( current_position)) > 95u ) {
7003 if ( 126u <= (*( current_position)) && (*( current_posit ion)) <= 127u ) 7011 if ( 126u <= (*( current_position)) && (*( current_posit ion)) <= 127u )
7004 goto tr411; 7012 goto tr411;
7005 } else 7013 } else
7006 goto tr408; 7014 goto tr408;
7007 } else 7015 } else
7008 goto tr408; 7016 goto tr408;
7009 goto tr16; 7017 goto tr16;
7010 tr463: 7018 tr463:
7011 { 7019 {
7012 BitmapSetBit(valid_targets, current_position - data); 7020 MakeJumpTargetValid(current_position - data, valid_targets);
7013 } 7021 }
7014 goto st228; 7022 goto st228;
7015 st228: 7023 st228:
7016 if ( ++( current_position) == ( end_of_bundle) ) 7024 if ( ++( current_position) == ( end_of_bundle) )
7017 goto _test_eof228; 7025 goto _test_eof228;
7018 case 228: 7026 case 228:
7019 switch( (*( current_position)) ) { 7027 switch( (*( current_position)) ) {
7020 case 4u: goto st35; 7028 case 4u: goto st35;
7021 case 5u: goto st36; 7029 case 5u: goto st36;
7022 case 20u: goto st2; 7030 case 20u: goto st2;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
7071 goto tr16; 7079 goto tr16;
7072 } else if ( (*( current_position)) >= 192u ) 7080 } else if ( (*( current_position)) >= 192u )
7073 goto st10; 7081 goto st10;
7074 } else 7082 } else
7075 goto st3; 7083 goto st3;
7076 } else 7084 } else
7077 goto st7; 7085 goto st7;
7078 goto tr0; 7086 goto tr0;
7079 tr464: 7087 tr464:
7080 { 7088 {
7081 BitmapSetBit(valid_targets, current_position - data); 7089 MakeJumpTargetValid(current_position - data, valid_targets);
7082 } 7090 }
7083 goto st229; 7091 goto st229;
7084 st229: 7092 st229:
7085 if ( ++( current_position) == ( end_of_bundle) ) 7093 if ( ++( current_position) == ( end_of_bundle) )
7086 goto _test_eof229; 7094 goto _test_eof229;
7087 case 229: 7095 case 229:
7088 switch( (*( current_position)) ) { 7096 switch( (*( current_position)) ) {
7089 case 4u: goto st111; 7097 case 4u: goto st111;
7090 case 5u: goto st112; 7098 case 5u: goto st112;
7091 case 20u: goto st2; 7099 case 20u: goto st2;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
7140 goto tr16; 7148 goto tr16;
7141 } else if ( (*( current_position)) >= 192u ) 7149 } else if ( (*( current_position)) >= 192u )
7142 goto st11; 7150 goto st11;
7143 } else 7151 } else
7144 goto st3; 7152 goto st3;
7145 } else 7153 } else
7146 goto st7; 7154 goto st7;
7147 goto tr0; 7155 goto tr0;
7148 tr465: 7156 tr465:
7149 { 7157 {
7150 BitmapSetBit(valid_targets, current_position - data); 7158 MakeJumpTargetValid(current_position - data, valid_targets);
7151 } 7159 }
7152 goto st230; 7160 goto st230;
7153 st230: 7161 st230:
7154 if ( ++( current_position) == ( end_of_bundle) ) 7162 if ( ++( current_position) == ( end_of_bundle) )
7155 goto _test_eof230; 7163 goto _test_eof230;
7156 case 230: 7164 case 230:
7157 switch( (*( current_position)) ) { 7165 switch( (*( current_position)) ) {
7158 case 4u: goto st2; 7166 case 4u: goto st2;
7159 case 5u: goto st3; 7167 case 5u: goto st3;
7160 case 12u: goto st2; 7168 case 12u: goto st2;
(...skipping 10 matching lines...) Expand all
7171 if ( (*( current_position)) > 143u ) { 7179 if ( (*( current_position)) > 143u ) {
7172 if ( 192u <= (*( current_position)) && (*( current_posit ion)) <= 207u ) 7180 if ( 192u <= (*( current_position)) && (*( current_posit ion)) <= 207u )
7173 goto tr0; 7181 goto tr0;
7174 } else if ( (*( current_position)) >= 128u ) 7182 } else if ( (*( current_position)) >= 128u )
7175 goto st3; 7183 goto st3;
7176 } else 7184 } else
7177 goto st7; 7185 goto st7;
7178 goto tr16; 7186 goto tr16;
7179 tr467: 7187 tr467:
7180 { 7188 {
7181 BitmapSetBit(valid_targets, current_position - data); 7189 MakeJumpTargetValid(current_position - data, valid_targets);
7182 } 7190 }
7183 goto st231; 7191 goto st231;
7184 st231: 7192 st231:
7185 if ( ++( current_position) == ( end_of_bundle) ) 7193 if ( ++( current_position) == ( end_of_bundle) )
7186 goto _test_eof231; 7194 goto _test_eof231;
7187 case 231: 7195 case 231:
7188 switch( (*( current_position)) ) { 7196 switch( (*( current_position)) ) {
7189 case 4u: goto st2; 7197 case 4u: goto st2;
7190 case 5u: goto st3; 7198 case 5u: goto st3;
7191 case 12u: goto st2; 7199 case 12u: goto st2;
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
7373 goto tr433; 7381 goto tr433;
7374 } else 7382 } else
7375 goto tr449; 7383 goto tr449;
7376 } else 7384 } else
7377 goto tr428; 7385 goto tr428;
7378 } else 7386 } else
7379 goto tr427; 7387 goto tr427;
7380 goto tr16; 7388 goto tr16;
7381 tr468: 7389 tr468:
7382 { 7390 {
7383 BitmapSetBit(valid_targets, current_position - data); 7391 MakeJumpTargetValid(current_position - data, valid_targets);
7384 } 7392 }
7385 goto st233; 7393 goto st233;
7386 st233: 7394 st233:
7387 if ( ++( current_position) == ( end_of_bundle) ) 7395 if ( ++( current_position) == ( end_of_bundle) )
7388 goto _test_eof233; 7396 goto _test_eof233;
7389 case 233: 7397 case 233:
7390 switch( (*( current_position)) ) { 7398 switch( (*( current_position)) ) {
7391 case 4u: goto st2; 7399 case 4u: goto st2;
7392 case 5u: goto st3; 7400 case 5u: goto st3;
7393 case 12u: goto st2; 7401 case 12u: goto st2;
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
7575 goto tr433; 7583 goto tr433;
7576 } else 7584 } else
7577 goto tr449; 7585 goto tr449;
7578 } else 7586 } else
7579 goto tr428; 7587 goto tr428;
7580 } else 7588 } else
7581 goto tr427; 7589 goto tr427;
7582 goto tr16; 7590 goto tr16;
7583 tr469: 7591 tr469:
7584 { 7592 {
7585 BitmapSetBit(valid_targets, current_position - data); 7593 MakeJumpTargetValid(current_position - data, valid_targets);
7586 } 7594 }
7587 goto st235; 7595 goto st235;
7588 st235: 7596 st235:
7589 if ( ++( current_position) == ( end_of_bundle) ) 7597 if ( ++( current_position) == ( end_of_bundle) )
7590 goto _test_eof235; 7598 goto _test_eof235;
7591 case 235: 7599 case 235:
7592 switch( (*( current_position)) ) { 7600 switch( (*( current_position)) ) {
7593 case 4u: goto st2; 7601 case 4u: goto st2;
7594 case 5u: goto st3; 7602 case 5u: goto st3;
7595 case 12u: goto st2; 7603 case 12u: goto st2;
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
7777 goto tr433; 7785 goto tr433;
7778 } else 7786 } else
7779 goto tr449; 7787 goto tr449;
7780 } else 7788 } else
7781 goto tr428; 7789 goto tr428;
7782 } else 7790 } else
7783 goto tr427; 7791 goto tr427;
7784 goto tr16; 7792 goto tr16;
7785 tr470: 7793 tr470:
7786 { 7794 {
7787 BitmapSetBit(valid_targets, current_position - data); 7795 MakeJumpTargetValid(current_position - data, valid_targets);
7788 } 7796 }
7789 goto st237; 7797 goto st237;
7790 st237: 7798 st237:
7791 if ( ++( current_position) == ( end_of_bundle) ) 7799 if ( ++( current_position) == ( end_of_bundle) )
7792 goto _test_eof237; 7800 goto _test_eof237;
7793 case 237: 7801 case 237:
7794 switch( (*( current_position)) ) { 7802 switch( (*( current_position)) ) {
7795 case 4u: goto st2; 7803 case 4u: goto st2;
7796 case 5u: goto st3; 7804 case 5u: goto st3;
7797 case 12u: goto st2; 7805 case 12u: goto st2;
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
7979 goto tr433; 7987 goto tr433;
7980 } else 7988 } else
7981 goto tr449; 7989 goto tr449;
7982 } else 7990 } else
7983 goto tr428; 7991 goto tr428;
7984 } else 7992 } else
7985 goto tr427; 7993 goto tr427;
7986 goto tr16; 7994 goto tr16;
7987 tr471: 7995 tr471:
7988 { 7996 {
7989 BitmapSetBit(valid_targets, current_position - data); 7997 MakeJumpTargetValid(current_position - data, valid_targets);
7990 } 7998 }
7991 goto st239; 7999 goto st239;
7992 st239: 8000 st239:
7993 if ( ++( current_position) == ( end_of_bundle) ) 8001 if ( ++( current_position) == ( end_of_bundle) )
7994 goto _test_eof239; 8002 goto _test_eof239;
7995 case 239: 8003 case 239:
7996 switch( (*( current_position)) ) { 8004 switch( (*( current_position)) ) {
7997 case 4u: goto st2; 8005 case 4u: goto st2;
7998 case 5u: goto st3; 8006 case 5u: goto st3;
7999 case 12u: goto st2; 8007 case 12u: goto st2;
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
8181 goto tr433; 8189 goto tr433;
8182 } else 8190 } else
8183 goto tr449; 8191 goto tr449;
8184 } else 8192 } else
8185 goto tr428; 8193 goto tr428;
8186 } else 8194 } else
8187 goto tr427; 8195 goto tr427;
8188 goto tr16; 8196 goto tr16;
8189 tr472: 8197 tr472:
8190 { 8198 {
8191 BitmapSetBit(valid_targets, current_position - data); 8199 MakeJumpTargetValid(current_position - data, valid_targets);
8192 } 8200 }
8193 goto st241; 8201 goto st241;
8194 st241: 8202 st241:
8195 if ( ++( current_position) == ( end_of_bundle) ) 8203 if ( ++( current_position) == ( end_of_bundle) )
8196 goto _test_eof241; 8204 goto _test_eof241;
8197 case 241: 8205 case 241:
8198 switch( (*( current_position)) ) { 8206 switch( (*( current_position)) ) {
8199 case 4u: goto st2; 8207 case 4u: goto st2;
8200 case 5u: goto st3; 8208 case 5u: goto st3;
8201 case 12u: goto st2; 8209 case 12u: goto st2;
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
8383 goto tr433; 8391 goto tr433;
8384 } else 8392 } else
8385 goto tr449; 8393 goto tr449;
8386 } else 8394 } else
8387 goto tr428; 8395 goto tr428;
8388 } else 8396 } else
8389 goto tr427; 8397 goto tr427;
8390 goto tr16; 8398 goto tr16;
8391 tr473: 8399 tr473:
8392 { 8400 {
8393 BitmapSetBit(valid_targets, current_position - data); 8401 MakeJumpTargetValid(current_position - data, valid_targets);
8394 } 8402 }
8395 goto st243; 8403 goto st243;
8396 st243: 8404 st243:
8397 if ( ++( current_position) == ( end_of_bundle) ) 8405 if ( ++( current_position) == ( end_of_bundle) )
8398 goto _test_eof243; 8406 goto _test_eof243;
8399 case 243: 8407 case 243:
8400 switch( (*( current_position)) ) { 8408 switch( (*( current_position)) ) {
8401 case 4u: goto st2; 8409 case 4u: goto st2;
8402 case 5u: goto st3; 8410 case 5u: goto st3;
8403 case 12u: goto st2; 8411 case 12u: goto st2;
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
8585 goto tr433; 8593 goto tr433;
8586 } else 8594 } else
8587 goto tr449; 8595 goto tr449;
8588 } else 8596 } else
8589 goto tr428; 8597 goto tr428;
8590 } else 8598 } else
8591 goto tr427; 8599 goto tr427;
8592 goto tr16; 8600 goto tr16;
8593 tr474: 8601 tr474:
8594 { 8602 {
8595 BitmapSetBit(valid_targets, current_position - data); 8603 MakeJumpTargetValid(current_position - data, valid_targets);
8596 } 8604 }
8597 goto st245; 8605 goto st245;
8598 st245: 8606 st245:
8599 if ( ++( current_position) == ( end_of_bundle) ) 8607 if ( ++( current_position) == ( end_of_bundle) )
8600 goto _test_eof245; 8608 goto _test_eof245;
8601 case 245: 8609 case 245:
8602 switch( (*( current_position)) ) { 8610 switch( (*( current_position)) ) {
8603 case 4u: goto st2; 8611 case 4u: goto st2;
8604 case 5u: goto st3; 8612 case 5u: goto st3;
8605 case 12u: goto st2; 8613 case 12u: goto st2;
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after
9162 user_callback, callback_data); 9170 user_callback, callback_data);
9163 9171
9164 /* We only use malloc for a large code sequences */ 9172 /* We only use malloc for a large code sequences */
9165 if (size > sizeof valid_targets_small) { 9173 if (size > sizeof valid_targets_small) {
9166 free(jump_dests); 9174 free(jump_dests);
9167 free(valid_targets); 9175 free(valid_targets);
9168 } 9176 }
9169 if (!result) errno = EINVAL; 9177 if (!result) errno = EINVAL;
9170 return result; 9178 return result;
9171 } 9179 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698