[Bug target/112443] [12/13/14 Regression] Misoptimization of _mm256_blendv_epi8 intrinsic on avx512bw+avx512vl

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Nov 10 00:22:51 GMT 2023


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

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

https://gcc.gnu.org/g:9a0cc04b9c9b02426762892b88efc5c44ba546bd

commit r14-5305-g9a0cc04b9c9b02426762892b88efc5c44ba546bd
Author: liuhongt <hongtao.liu@intel.com>
Date:   Thu Nov 9 13:20:05 2023 +0800

    Fix wrong code due to vec_merge + pcmp to blendvb splitter.

    gcc/ChangeLog:

            PR target/112443
            * config/i386/sse.md (*avx2_pcmp<mode>3_4): Fix swap condition
            from LT to GT since there's not in the pattern.
            (*avx2_pcmp<mode>3_5): Ditto.

    gcc/testsuite/ChangeLog:

            * g++.target/i386/pr112443.C: New test.


More information about the Gcc-bugs mailing list