[Bug tree-optimization/126028] GCC trunk vs ICX : Missed SLP vectorization

"cvs-commit at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126028

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <[email protected]>:

https://gcc.gnu.org/g:699ff0761c510d447beafa6ceb85e0aed8338f59

commit r17-2697-g699ff0761c510d447beafa6ceb85e0aed8338f59
Author: H.J. Lu <[email protected]>
Date:   Sat Jul 25 14:26:41 2026 +0800

    gcc.target/i386/pr[27827|50038].c: Compile with -mno-sse

    After

    commit fb0838bc1073aa5f22ec38e0cca2d70d625c6d71
    Author: Richard Biener <[email protected]>
    Date:   Wed Jul 15 10:37:57 2026 +0200

        Support two-lane vector BB reductions without target support

    we may vectorize gcc.target/i386/pr27827.c and gcc.target/i386/pr50038.c
    with -march=native and

    $ make check-gcc RUNTESTFLAGS="--target_board='unix{-m32\
-march=native,-march=native}'

    get

    FAIL: gcc.target/i386/pr27827.c scan-assembler fmul[ \t]*%st
    FAIL: gcc.target/i386/pr50038.c scan-assembler-times movzbl 2

    Since these 2 tests don't use SEE instructions originally, compile them
    with -mno-sse to avoid test failures.

            PR tree-optimization/126028
            * gcc.target/i386/pr27827.c: Compile with -mno-sse.
            * gcc.target/i386/pr50038.c: Likewise.

    Signed-off-by: H.J. Lu <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.