expmed.c (expand_mult): Force operand to register before computing cost.
authorJan Hubicka <jh@suse.cz>
Wed, 7 Nov 2001 12:35:16 +0000 (13:35 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 7 Nov 2001 12:35:16 +0000 (12:35 +0000)
commitb972dd0201d69cfd0a422292706c1d0b8b4f1b2d
tree03db7da381d0f1ca3f877597e7c68578266a36ab
parentab901443dc4df860aef92b4f4b8189771663f994
expmed.c (expand_mult): Force operand to register before computing cost.

* expmed.c (expand_mult): Force operand to register before computing
cost.
* i386.c (x86_decompose_lea): New global vairable.
* i386.h (x86_decompose_lea): Declare.
(TARGET_DECOMPOSE_LEA): New macro.
(RTX_COST): Handle leas properly.

From-SVN: r46823
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/i386.h
gcc/expmed.c