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

--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Dimitar Dimitrov <dimi...@gcc.gnu.org>:

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

commit r14-3578-gee077d0c5793e1d4ad8d3b033ef2f0225ba6bd59
Author: Dimitar Dimitrov <dimi...@dinux.eu>
Date:   Tue Jun 13 22:20:13 2023 +0300

    pru: Add cstore expansion patterns

    Add cstore patterns for the two specific operations which can be
    efficiently expanded using the UMIN instruction:
      X != 0
      X == 0
    The rest of the operations are rejected, and left to be expanded
    by the common expansion code.

            PR target/106562

    gcc/ChangeLog:

            * config/pru/predicates.md (const_0_operand): New predicate.
            (pru_cstore_comparison_operator): Ditto.
            * config/pru/pru.md (cstore<mode>4): New pattern.
            (cstoredi4): Ditto.

    gcc/testsuite/ChangeLog:

            * gcc.target/pru/pr106562-10.c: New test.
            * gcc.target/pru/pr106562-11.c: New test.
            * gcc.target/pru/pr106562-5.c: New test.
            * gcc.target/pru/pr106562-6.c: New test.
            * gcc.target/pru/pr106562-7.c: New test.
            * gcc.target/pru/pr106562-8.c: New test.
            * gcc.target/pru/pr106562-9.c: New test.

    Signed-off-by: Dimitar Dimitrov <dimi...@dinux.eu>

Reply via email to