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

--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>:

https://gcc.gnu.org/g:5aca8510abea6c3fac3336a7445863db07fd4a06

commit r16-1673-g5aca8510abea6c3fac3336a7445863db07fd4a06
Author: Richard Biener <rguent...@suse.de>
Date:   Wed Jun 25 10:36:59 2025 +0200

    tree-optimization/109892 - SLP reduction of fma

    The following adds the ability to vectorize a fma reduction pair
    as SLP reduction (we cannot yet handle ternary association in
    reduction vectorization yet).

            PR tree-optimization/109892
            * tree-vect-loop.cc (check_reduction_path): Handle fma.
            (vectorizable_reduction): Apply FOLD_LEFT_REDUCTION code
            generation constraints.

            * gcc.dg/vect/vect-reduc-fma-1.c: New testcase.
            * gcc.dg/vect/vect-reduc-fma-2.c: Likewise.
            * gcc.dg/vect/vect-reduc-fma-3.c: Likewise.

Reply via email to