* 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
+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,
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)