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

--- Comment #479 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Oleg Endo <[email protected]>:

https://gcc.gnu.org/g:933221722a25bc46c5215d40e97a4c0a385a96ba

commit r17-2074-g933221722a25bc46c5215d40e97a4c0a385a96ba
Author: Kaz Kojima <[email protected]>
Date:   Tue Sep 24 18:26:42 2024 +0900

    SH: Pin input args to hard-regs via predicates for sfuncs

    Some sfuncs uses hard reg as input and clobber its raw reg pattern. It
    seems that LRA doesn't process this clobber pattern.  Rewrite these
    patterns so as to work with LRA.

    gcc/ChangeLog:

            PR target/55212
            * config/sh/predicates.md (hard_reg_r0..r7): New predicates.
            * config/sh/sh.md (udivsi3_i4, udivsi3_i4_single,
            udivsi3_i1): Rewrite with match_operand and match_dup.
            (block_lump_real, block_lump_real_i4): Ditto.
            (udivsi3): Adjust for it.
            * config/sh/sh-mem.cc (expand_block_move): Ditto.

Reply via email to