https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128770
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Hongyu Wang <[email protected]>: https://gcc.gnu.org/g:3d528cfb4b7952d6bb506a60314966e465a31944 commit r17-6377-g3d528cfb4b7952d6bb506a60314966e465a31944 Author: Hongyu Wang <[email protected]> Date: Sun Nov 15 22:42:15 2026 -0800 i386: Only use VCOMX for FP EQ/NE when NaNs are honored [PR128770] Without NaNs, COMI already tests EQ/NE with ZF alone, so there is no need to emit UNSPEC_OPTCOMX which currently impacts ifcvt and produces sse->gpr move. gcc/ChangeLog: PR target/128770 * config/i386/i386-expand.cc (ix86_expand_fp_compare): Use UNSPEC_OPTCOMX only if HONOR_NANS. gcc/testsuite/ChangeLog: PR target/128770 * gcc.target/i386/pr128770.c: New test.
