(mul_cost, div_cost): New variables.
authorTorbjorn Granlund <tege@gnu.org>
Mon, 6 Feb 1995 02:37:27 +0000 (02:37 +0000)
committerTorbjorn Granlund <tege@gnu.org>
Mon, 6 Feb 1995 02:37:27 +0000 (02:37 +0000)
commit71af73bb7f9d65a10c37ab6368e880b3b1774889
tree463bc1173c25e3f3ea283870fc7b8a14d731f758
parent6697c6bf7f30841df630ede04050e1c9e2383ed9
(mul_cost, div_cost): New variables.

(mul_widen_cost, mul_highpart_cost): New variables.
(init_expmed): Init new variables.
(expand_mult_highpart): New argument, MAX_COST.
Use new argument in several places.  Simplify code that tries
widening multiply variants.
(expand_divmod): New variables MAX_COST, EXTRA_COST.
Initialize MAX_COST dependent on REM_FLAG.
Calculate and pass cost in all calls of expand_mult_highpart.

From-SVN: r8868
gcc/expmed.c