[Bug target/105965] [10/11/12/13 Regression] x86: single-element vectors don't have scalar FMA insns used anymore

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jun 14 10:53:08 GMT 2022


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


commit r13-1085-g90467f0ad649d0817f9e034596a0fb85605b55af
Author: Richard Biener <rguenther@suse.de>
Date:   Tue Jun 14 10:59:49 2022 +0200

    middle-end/105965 - add missing v_c_e <{ el }> simplification

    When we got the simplification of bit-field-ref to view-convert
    we lost the ability to detect FMAs since we cannot look through

      _1 = {_10};
      _11 = VIEW_CONVERT_EXPR<float>(_1);

    the following amends the (view_convert CONSTRUCTOR) pattern
    to handle this case.

    2022-06-14  Richard Biener  <rguenther@suse.de>

            PR middle-end/105965
            * match.pd (view_convert CONSTRUCTOR): Handle single-element
            CTOR case.

            * gcc.target/i386/pr105965.c: New testcase.

More information about the Gcc-bugs mailing list