https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96861
--- 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:83858ba1db31cd83667592a41d71315090459da4 commit r11-3294-g83858ba1db31cd83667592a41d71315090459da4 Author: liuhongt <hongtao....@intel.com> Date: Wed Sep 16 10:53:52 2020 +0800 Increase rtx cost of sse_to_integer in skylake_cost. As https://gcc.gnu.org/pipermail/gcc-patches/2019-August/528839.html indicates, movement between SSE and gpr should be much expensive than movement inside gpr(which is 2 as default). gcc/ChangeLog PR target/96861 * config/i386/x86-tune-costs.h (skylake_cost): increase rtx cost of sse_to_integer from 2 to 6. gcc/testsuite * gcc.target/i386/pr95021-3.c: Add -mtune=generic.