[Bug target/80819] [5/6/7/8 regression] Useless store to the stack in _mm_set_epi64x with SSE4 -mno-avx

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 18 18:04:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80819

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>-mtune=generic still stores/reloads instead of using movd for %edi and %edx, which is worse for most CPUs. 
Worse on most Intel but not most AMD CPUs.  You can use -mtune=intel if you
want to tune for Intel machines :).


More information about the Gcc-bugs mailing list