+2010-08-18 Maxim Kuvyrkov <maxim@codesourcery.com>
+
+ PR rtl-optimization/42575
+ * optabs.c (expand_doubleword_mult): Generate new pseudos to shorten
+ live ranges.
+
2010-08-18 Marcus Shawcroft <marcus.shawcroft@arm.com>
* config/arm/arm-protos.h (arm_expand_sync): New.
/* OP1_HIGH should now be dead. */
adjust = expand_binop (word_mode, add_optab, adjust, temp,
- adjust, 0, OPTAB_DIRECT);
+ NULL_RTX, 0, OPTAB_DIRECT);
if (target && !REG_P (target))
target = NULL_RTX;
product_high = operand_subword (product, high, 1, mode);
adjust = expand_binop (word_mode, add_optab, product_high, adjust,
- REG_P (product_high) ? product_high : adjust,
- 0, OPTAB_DIRECT);
+ NULL_RTX, 0, OPTAB_DIRECT);
emit_move_insn (product_high, adjust);
return product;
}
+2010-08-18 Maxim Kuvyrkov <maxim@codesourcery.com>
+
+ PR rtl-optimization/42575
+ * gcc.target/pr42575.c: New test.
+
2010-08-18 Iain Sandoe <iains@gcc.gnu.org>
* lib/target-supports.exp (check_effective_target_tls_emulated): New.
--- /dev/null
+/* { dg-options "-O2 -march=armv7-a" } */
+/* Make sure RA does good job allocating registers and avoids
+ unnecessary moves. */
+/* { dg-final { scan-assembler-not "mov" } } */
+
+long long longfunc(long long x, long long y)
+{
+ return x * y;
+}