https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113729
--- Comment #5 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:d08a5f211135374b3ad700780c46a198cd320328 commit r15-2915-gd08a5f211135374b3ad700780c46a198cd320328 Author: Lingling Kong <lingling.k...@intel.com> Date: Wed Aug 14 16:42:29 2024 +0800 i386: Optimization for APX NDD is always zero-uppered for logic gcc/ChangeLog: PR target/113729 * config/i386/i386.md (*andqi_1_zext<mode><nf_name>): New define_insn. (*andhi_1_zext<mode><nf_name>): Ditto. (*<code>qi_1_zext<mode><nf_name>): Ditto. (*<code>hi_1_zext<mode><nf_name>): Ditto. (*negqi_1_zext<mode><nf_name>): Ditto. (*neghi_1_zext<mode><nf_name>): Ditto. (*one_cmplqi2_1_zext<mode>): Ditto. (*one_cmplhi2_1_zext<mode>): Ditto. gcc/testsuite/ChangeLog: * gcc.target/i386/pr113729.c: Add more tests.