* config/bfin/bfin.c (bfin_rtx_costs): Handle UDIV, UMOD.
From-SVN: r116967
* params.def (PARAM_MAX_ITERATIONS_COMPUTATION_COST): New.
* loop-doloop.c (doloop_optimize): Use it to limit costs of
expanding the number of iterations.
* params.def (PARAM_MAX_ITERATIONS_COMPUTATION_COST): New.
* loop-doloop.c (doloop_optimize): Use it to limit costs of
expanding the number of iterations.
+ * config/bfin/bfin.c (bfin_rtx_costs): Handle UDIV, UMOD.
2006-09-15 Kazu Hirata <kazu@codesourcery.com>
2006-09-15 Kazu Hirata <kazu@codesourcery.com>
*total = COSTS_N_INSNS (3);
return false;
*total = COSTS_N_INSNS (3);
return false;
+ case UDIV:
+ case UMOD:
+ *total = COSTS_N_INSNS (32);
+ return true;
+
case VEC_CONCAT:
case VEC_SELECT:
if (outer_code == SET)
case VEC_CONCAT:
case VEC_SELECT:
if (outer_code == SET)