+2015-10-09 Uros Bizjak <ubizjak@gmail.com>
+
+ * config/i386/i386.c
+ (expand_set_or_movmem_prologue_epilogue_by_misaligned_moves): Use
+ ROUND_DOWN where applicable.
+
2015-10-09 Jeff Law <law@redhat.com>
* tree-vect-stmts.c (free_stmt_vec_info): Free the LHS of the
* tree-ssa-dom.c (optimize_stmt): Don't set LOOPS_NEED_FIXUP here.
* tree-ssa-threadupdate.c (remove_ctrl_stmt_and_useless_edges): Do it
- here instead. Tighten test to avoid setting LOOPS_NEED_FIXUP
+ here instead. Tighten test to avoid setting LOOPS_NEED_FIXUP
unnecessarily.
2015-10-07 Aditya Kumar <aditya.k7@samsung.com>
saveddest, *count, 1, OPTAB_DIRECT);
/* We copied at most size + prolog_size. */
if (*min_size > (unsigned HOST_WIDE_INT)(size + prolog_size))
- *min_size = (*min_size - size) & ~(unsigned HOST_WIDE_INT)(size - 1);
+ *min_size
+ = ROUND_DOWN (*min_size - size, (unsigned HOST_WIDE_INT)size);
else
*min_size = 0;
*count = expand_simple_binop (GET_MODE (*count), PLUS, *count,
constm1_rtx, *count, 1, OPTAB_DIRECT);
else
- *count = GEN_INT ((UINTVAL (*count) - 1) & ~(unsigned HOST_WIDE_INT)(size - 1));
+ *count = GEN_INT (ROUND_DOWN (UINTVAL (*count) - 1,
+ (unsigned HOST_WIDE_INT)size));
if (*min_size)
- *min_size = (*min_size - 1) & ~(unsigned HOST_WIDE_INT)(size - 1);
+ *min_size = ROUND_DOWN (*min_size - 1, (unsigned HOST_WIDE_INT)size);
}
}