@@ -224,8 +224,8 @@ class dsp_optimizer_real {
224
224
t1.push_back("-vs");
225
225
t1.push_back(std::to_string(size));
226
226
fVecOptionsTable.push_back(t1);
227
- }
228
- */
227
+ }
228
+ */
229
229
}
230
230
231
231
void printItem (const std::vector <std::string>& item)
@@ -422,14 +422,23 @@ class dsp_optimizer_real {
422
422
best_res = best_vec;
423
423
}
424
424
425
+ // Current best
426
+ TOptionTable options_table;
427
+ {
428
+ TOption best = std::get<3 >(best_res);
429
+ options_table.push_back (best);
430
+ }
431
+
425
432
if (std::get<3 >(best_res)[0 ] == " -vec" ) {
426
- if (fTrace ) fprintf (stdout, " Check with -g or -dfs\n " );
427
- // Current best
428
- TOptionTable options_table;
433
+ if (fTrace ) fprintf (stdout, " Check with -ct 0\n " );
434
+ // Add -ct 0
429
435
{
430
436
TOption best = std::get<3 >(best_res);
437
+ best.push_back (" -ct" );
438
+ best.push_back (" 0" );
431
439
options_table.push_back (best);
432
440
}
441
+ if (fTrace ) fprintf (stdout, " Check with -g or -dfs\n " );
433
442
// Add -g
434
443
{
435
444
TOption best = std::get<3 >(best_res);
@@ -451,7 +460,15 @@ class dsp_optimizer_real {
451
460
}
452
461
return findOptimizedParametersAux (options_table);
453
462
} else {
454
- return best_res;
463
+ if (fTrace ) fprintf (stdout, " Check with -ct 0\n " );
464
+ // Add -ct 0
465
+ {
466
+ TOption best = std::get<3 >(best_res);
467
+ best.push_back (" -ct" );
468
+ best.push_back (" 0" );
469
+ options_table.push_back (best);
470
+ }
471
+ return findOptimizedParametersAux (options_table);
455
472
}
456
473
}
457
474
0 commit comments