bfin.c (bfin_rtx_costs): Handle UDIV, UMOD.
* config/bfin/bfin.c (bfin_rtx_costs): Handle UDIV, UMOD. From-SVN: r116967
This commit is contained in:
parent
45b9a14bd6
commit
61066abfcd
2 changed files with 6 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
* 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>
|
||||
|
||||
|
|
|
@ -2390,6 +2390,11 @@ bfin_rtx_costs (rtx x, int code, int outer_code, int *total)
|
|||
*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)
|
||||
|
|
Loading…
Add table
Reference in a new issue