* config/arm/arm.c (thumb1_size_rtx_costs): Fix cost of simple
constants.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162596
138bc75d-0d04-0410-961f-
82ee72b054a4
2010-07-27 Maxim Kuvyrkov <maxim@codesourcery.com>
+ PR rtl-optimization/40956
+ * config/arm/arm.c (thumb1_size_rtx_costs): Fix cost of simple
+ constants.
+
+2010-07-27 Maxim Kuvyrkov <maxim@codesourcery.com>
+
PR target/42495
PR middle-end/42574
* config/arm/arm.c (legitimize_pic_address): Use
if (outer == SET)
{
if ((unsigned HOST_WIDE_INT) INTVAL (x) < 256)
- return 0;
+ return COSTS_N_INSNS (1);
/* See split "TARGET_THUMB1 && satisfies_constraint_J". */
if (INTVAL (x) >= -255 && INTVAL (x) <= -1)
return COSTS_N_INSNS (2);