https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60826
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Target Milestone|--- |6.0 Resolution|--- |FIXED --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Fixed fully in GCC 6+ in there is no extra move or going through memory. In GCC 5, there is an extra move but no going through memory. the RTL changed in GCC 7+ to use vec_select which fixes the problem without a register allocation issue with tieing TI and DF modes.