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

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

https://gcc.gnu.org/g:725bcdeec60771cb9ee387978716028b64ea1b7f

commit r13-7132-g725bcdeec60771cb9ee387978716028b64ea1b7f
Author: Michael Meissner <meiss...@linux.ibm.com>
Date:   Sun Apr 9 23:32:27 2023 -0400

    Do not generate vmaddfp and vnmsubfp

    This is version 3 of the patch.  This is essentially version 1 with the
removal
    of changes to altivec.md, and cleanup of the comments.

    Version 2 generated the vmaddfp and vnmsubfp instructions if -Ofast was
used,
    and those changes are deleted in this patch.

    The Altivec instructions vmaddfp and vnmsubfp have different rounding
behaviors
    than the VSX xvmaddsp and xvnmsubsp instructions due to VSCR[NJ] and other
    corner cases.  In particular, generating these instructions seems to break
    Eigen on big endian systems.

    2023-04-09   Michael Meissner  <meiss...@linux.ibm.com>

    gcc/

            PR target/70243
            * config/rs6000/vsx.md (vsx_fmav4sf4): Do not generate vmaddfp.
            (vsx_nfmsv4sf4): Do not generate vnmsubfp.

    gcc/testsuite/

            PR target/70243
            * gcc.target/powerpc/pr70243.c: New test.

Reply via email to