https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110788
--- Comment #3 from Uroš Bizjak <ubizjak at gmail dot com> --- (In reply to Richard Biener from comment #0) > I suppose it could also be a missed optimization in REE since I think > the HImode regs should already be zero-extended? No, only SImode moves have implicit zero extensions. Plain HImode and QImode moves behave as inserts into the lowpart of the wide register.