https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115777
--- Comment #8 from Hongtao Liu <liuhongt at gcc dot gnu.org> --- > in backend costing we do anticipate the vector construction to happen > by loading from memory though, so we don't account for the extra > GPR->xmm move penalty. Yes, I saw something similar before and had a patch, for ssa_name with multiple uses, there should be a GPR->XMM even it's from memory.