re PR middle-end/80929 (Division with constant no more optimized to mult highpart)
authorGeorg-Johann Lay <avr@gjlay.de>
Mon, 17 Jul 2017 08:56:06 +0000 (08:56 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Mon, 17 Jul 2017 08:56:06 +0000 (08:56 +0000)
commit764eec6cf591fcfe9bd0fe7760ecb657cfa6abc0
treeff5c0a850f064f31b7ad4e2b8f385356406186cd
parent1f1e8aed3afc08e9d70bba9110e289f7fa329453
re PR middle-end/80929 (Division with constant no more optimized to mult highpart)

PR 80929
* config/avr/avr.c (avr_mul_highpart_cost): New static function.
(avr_rtx_costs_1) [TRUNCATE]: Use it to compute mul_highpart cost.
[LSHIFTRT, outer_code = TRUNCATE]: Same.

From-SVN: r250258
gcc/ChangeLog
gcc/config/avr/avr.c