* expmed.c (div_cost): Replace with...
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Nov 2005 03:06:14 +0000 (03:06 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Nov 2005 03:06:14 +0000 (03:06 +0000)
commit1facc8d7984e486f2808fe9d556cf9b92583dd75
tree22c40169a999edcdb342638b7a9521f3dc0b4ef5
parentb359164b3dd56462a568fbad6d72e0e99d7a5f6d
* expmed.c (div_cost): Replace with...
(sdiv_cost, udiv_cost): New.
(init_expmed): Initialize sdiv_cost and udiv_cost, not div_cost.
Rename the div and mod fields, used to initialize sdiv_pow2_cheap
and smod_pow2_cheap, to sdiv_32 and smod_32 to avoid confusion.
(expand_divmod): Replace use of div_cost with either sdiv_cost
or udiv_cost depending upon the signedness of the operation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107641 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/expmed.c