m68hc11.h (CONST_COSTS): Make the cost of constants cheap after reload.
authorStephane Carrez <Stephane.Carrez@worldnet.fr>
Fri, 4 May 2001 18:08:36 +0000 (20:08 +0200)
committerStephane Carrez <ciceron@gcc.gnu.org>
Fri, 4 May 2001 18:08:36 +0000 (20:08 +0200)
commit5a62a69372b8e6f55dcc3d5cb86b661efc3ea999
treee21f57e84640d794b482cb5e02f4cb70b1d5cab9
parent30506ece757ccb765160740e59a90be165226110
m68hc11.h (CONST_COSTS): Make the cost of constants cheap after reload.

* config/m68hc11/m68hc11.h (CONST_COSTS): Make the cost of
constants cheap after reload.
* config/m68hc11/m68hc11.c (m68hc11_shift_cost): Shift by 16 and 32
are cheap.
(m68hc11_rtx_costs): Cost of multiplication by 65536 is expensive
so that gcc prefers a shift by 16.
(m6811_cost, m6812_cost): Make the shift cheap compared to an add.

From-SVN: r41834
gcc/ChangeLog
gcc/config/m68hc11/m68hc11.c
gcc/config/m68hc11/m68hc11.h