https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113729
--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Kong Lingling <kongl...@gcc.gnu.org>: https://gcc.gnu.org/g:edb2712936368e803fd67aa520323054b2a5c5e7 commit r15-2916-gedb2712936368e803fd67aa520323054b2a5c5e7 Author: Lingling Kong <lingling.k...@intel.com> Date: Wed Aug 14 16:48:30 2024 +0800 i386: Optimization for APX NDD is always zero-uppered for shift gcc/ChangeLog: PR target/113729 * config/i386/i386.md (*ashlqi3_1_zext<mode><nf_name>): New define_insn. (*ashlhi3_1_zext<mode><nf_name>): Ditto. (*<insn>qi3_1_zext<mode><nf_name>): Ditto. (*<insn>hi3_1_zext<mode><nf_name>): Ditto. gcc/testsuite/ChangeLog: * gcc.target/i386/pr113729.c: Add testcase for shift and rotate.