diff options
author | Roger Sayle <roger@eyesopen.com> | 2005-11-29 03:06:14 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2005-11-29 03:06:14 +0000 |
commit | a28b2ac66207b4727d05a2253c0c837684b5ff9e (patch) | |
tree | 22c40169a999edcdb342638b7a9521f3dc0b4ef5 /gcc/builtins.c | |
parent | 0a6a4494e4fd89495478275905a4655c8cd6382e (diff) | |
download | gcc-a28b2ac66207b4727d05a2253c0c837684b5ff9e.zip gcc-a28b2ac66207b4727d05a2253c0c837684b5ff9e.tar.gz gcc-a28b2ac66207b4727d05a2253c0c837684b5ff9e.tar.bz2 |
expmed.c (div_cost): Replace with...
* 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.
From-SVN: r107641
Diffstat (limited to 'gcc/builtins.c')
0 files changed, 0 insertions, 0 deletions