https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98868
--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> --- So I can manually patch the slow version by adding: and $0x7fffffff,%esi before: vcvtsi2ss %esi, %xmm0, %xmm0 and the speed is back ;)