Changeset 103873 in vbox
- Timestamp:
- Mar 16, 2024 1:04:36 AM (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-instr-3.c32
r103867 r103873 569 569 * (to enable this: turn on `#define BS3_SKIPIT_DO_ARGS': which costs about 570 570 * 3% performance). 571 * 572 * Note! The skipping is not compatible with testing the native recompiler as 573 * it requires the test code to be run a number of times before it kicks 574 * in and does the native recompilation (currently around 16 times). 571 575 */ 572 576 #define BS3_SKIPIT_AVG_SKIP 26 … … 776 780 * Iterate the test values and do the actual testing. 777 781 */ 778 while (cRecompRuns < BS3_THRESHOLD_NATIVE_RECOMPILER * 2)779 for (iVal = 0; iVal < cValues; iVal++, idTestStep++ )782 while (cRecompRuns < BS3_THRESHOLD_NATIVE_RECOMPILER + cValues) 783 for (iVal = 0; iVal < cValues; iVal++, idTestStep++, cRecompRuns++) 780 784 { 781 785 uint16_t cErrors; … … 784 788 785 789 if (BS3_SKIPIT(bRing, iCfg, iTest, iVal, 0)) continue; 786 cRecompRuns++;787 790 788 791 /* … … 9254 9257 * Iterate the test values and do the actual testing. 9255 9258 */ 9256 while (cRecompRuns < BS3_THRESHOLD_NATIVE_RECOMPILER * 2)9257 for (iVal = 0; iVal < cValues; iVal++, idTestStep++ )9259 while (cRecompRuns < BS3_THRESHOLD_NATIVE_RECOMPILER + cValues) 9260 for (iVal = 0; iVal < cValues; iVal++, idTestStep++, cRecompRuns++) 9258 9261 { 9259 9262 uint16_t cErrors; … … 9262 9265 9263 9266 if (BS3_SKIPIT(bRing, iCfg, iTest, iVal, 0)) continue; 9264 cRecompRuns++;9265 9267 9266 9268 /* … … 9932 9934 * Iterate the test values and do the actual testing. 9933 9935 */ 9934 while (cRecompRuns < BS3_THRESHOLD_NATIVE_RECOMPILER * 2)9935 for (iVal = 0; iVal < cValues; iVal++, idTestStep++ )9936 while (cRecompRuns < BS3_THRESHOLD_NATIVE_RECOMPILER + cValues) 9937 for (iVal = 0; iVal < cValues; iVal++, idTestStep++, cRecompRuns++) 9936 9938 { 9937 9939 uint16_t cErrors; … … 9940 9942 9941 9943 if (BS3_SKIPIT(bRing, iCfg, iTest, iVal, 0)) continue; 9942 cRecompRuns++;9943 9944 9944 9945 /* … … 12141 12142 * Iterate the test values and do the actual testing. 12142 12143 */ 12143 while (cRecompRuns < BS3_THRESHOLD_NATIVE_RECOMPILER * 2)12144 for (iVal = 0; iVal < cValues; iVal++, idTestStep++ )12144 while (cRecompRuns < BS3_THRESHOLD_NATIVE_RECOMPILER + cValues * 2) 12145 for (iVal = 0; iVal < cValues; iVal++, idTestStep++, cRecompRuns++) 12145 12146 { 12146 12147 unsigned iEflVariation; … … 12153 12154 12154 12155 if (BS3_SKIPIT(bRing, iCfg, iTest, iVal, iEflVariation)) continue; 12155 cRecompRuns++;12156 12156 12157 12157 /* … … 12471 12471 * Iterate the test values and do the actual testing. 12472 12472 */ 12473 while (cRecompRuns < BS3_THRESHOLD_NATIVE_RECOMPILER * 2)12474 for (iVal = 0; iVal < cValues; iVal++, idTestStep++ )12473 while (cRecompRuns < BS3_THRESHOLD_NATIVE_RECOMPILER + cValues) 12474 for (iVal = 0; iVal < cValues; iVal++, idTestStep++, cRecompRuns++) 12475 12475 { 12476 12476 uint16_t cErrors; … … 12479 12479 12480 12480 if (BS3_SKIPIT(bRing, iCfg, iTest, iVal, 0)) continue; 12481 cRecompRuns++;12482 12481 12483 12482 /* … … 13039 13038 * Iterate the test values and do the actual testing. 13040 13039 */ 13041 while (cRecompRuns < BS3_THRESHOLD_NATIVE_RECOMPILER * 2)13042 for (iVal = 0; iVal < cValues; iVal++, idTestStep++ )13040 while (cRecompRuns < BS3_THRESHOLD_NATIVE_RECOMPILER + cValues) 13041 for (iVal = 0; iVal < cValues; iVal++, idTestStep++, cRecompRuns++) 13043 13042 { 13044 13043 uint16_t cErrors; … … 13047 13046 13048 13047 if (BS3_SKIPIT(bRing, iCfg, iTest, iVal, 0)) continue; 13048 13049 13049 /* 13050 13050 * Set up the context and some expectations.
Note:
See TracChangeset
for help on using the changeset viewer.