expmed.c (init_expmed): A signed modulus by a power of two is considered cheap if...
* expmed.c (init_expmed): A signed modulus by a power of two is considered cheap if its less than or equal to four instructions. From-SVN: r85134
This commit is contained in:
parent
c32118f961
commit
8b91e18c05
|
@ -1,3 +1,8 @@
|
|||
2004-07-24 Roger Sayle <roger@eyesopen.com>
|
||||
|
||||
* expmed.c (init_expmed): A signed modulus by a power of two is
|
||||
considered cheap if its less than or equal to four instructions.
|
||||
|
||||
2004-07-25 Bernardo Innocenti <bernie@develer.com>
|
||||
|
||||
* ggc.h (GGC_NEW, GGC_CNEW, GGC_NEWVEC, GGC_CNEWVEC, GGC_NEWVAR,
|
||||
|
|
|
@ -217,7 +217,7 @@ init_expmed (void)
|
|||
mul_cost[mode] = rtx_cost (&all.mult, SET);
|
||||
|
||||
sdiv_pow2_cheap[mode] = (rtx_cost (&all.div, SET) <= 2 * add_cost[mode]);
|
||||
smod_pow2_cheap[mode] = (rtx_cost (&all.mod, SET) <= 2 * add_cost[mode]);
|
||||
smod_pow2_cheap[mode] = (rtx_cost (&all.mod, SET) <= 4 * add_cost[mode]);
|
||||
|
||||
wider_mode = GET_MODE_WIDER_MODE (mode);
|
||||
if (wider_mode != VOIDmode)
|
||||
|
|
Loading…
Reference in New Issue