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

--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by hongtao Liu <liuho...@gcc.gnu.org>:

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

commit r15-984-gac306de7d5100d3682eae2270995a9abbe19db38
Author: liuhongt <hongtao....@intel.com>
Date:   Fri May 31 14:38:07 2024 +0800

    Add some preference for floating point rtl ifcvt when sse4.1 is not
available

    W/o TARGET_SSE4_1, it takes 3 instructions (pand, pandn and por) for
    movdfcc/movsfcc, and could possibly fail cost comparison. Increase
    branch cost could hurt performance for other modes, so specially add
    some preference for floating point ifcvt.

    gcc/ChangeLog:

            PR target/115299
            * config/i386/i386.cc (ix86_noce_conversion_profitable_p): Add
            some preference for floating point ifcvt when SSE4.1 is not
            available.

    gcc/testsuite/ChangeLog:

            * gcc.target/i386/pr115299.c: New test.
            * gcc.target/i386/pr86722.c: Adjust testcase.

Reply via email to