https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101796
--- Comment #5 from CVS 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:8f9fea41a767f6ad8cf3d521031048a2491f98b1 commit r12-5990-g8f9fea41a767f6ad8cf3d521031048a2491f98b1 Author: Haochen Jiang <haochen.ji...@intel.com> Date: Wed Dec 1 16:48:28 2021 +0800 Add combine splitter to transform vashr/vlshr/vashl_optab to ashr/lshr/ashl_optab for const vector duplicate operand. gcc/ChangeLog: PR target/101796 * config/i386/predicates.md (const_vector_operand): Add new predicate. * config/i386/sse.md(<insn><mode>3<mask_name>): Add new define_split below. gcc/testsuite/ChangeLog: PR target/101796 * gcc.target/i386/pr101796-1.c: New test.