https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54378

--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Georg-Johann Lay <g...@gcc.gnu.org>:

https://gcc.gnu.org/g:b222ee10045db06655d2a9f0d87e25c5083d98c8

commit r15-5475-gb222ee10045db06655d2a9f0d87e25c5083d98c8
Author: Georg-Johann Lay <a...@gjlay.de>
Date:   Tue Nov 19 18:18:20 2024 +0100

    AVR: target/54378 - Reconsider the default shift costs.

    This patch calculates more accurate shift costs, but makes
    the costs for larger offsets no more expensive than the costs
    for an unrolled shift.

    gcc/
            PR target/54378
            * config/avr/avr.cc (avr_default_shift_costs): New static function.
            (avr_rtx_costs_1) [ASHIFT, LSHIFTRT, ASHIFTRT]: Use it
            to determine the default shift costs for shifts with a
            constant shift offset.

Reply via email to