https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81803
--- Comment #13 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > I can't say that I am 100% convinced yet with my thinking here but I've > attached an updated version of the original patch with some changes: > > * Incorporated Eric's feedback on the original patch to check > GET_MODE_PRECISION instead of GET_MODE_SIZE for comparing whether a mode is > strictly narrower > * Limited the test to word sized inner modes or smaller > * Limited the test to OP_OUT or OP_INOUT as I can't see any reason why it > would matter if we do a narrower input reload I'm not convinced for the 3rd restriction though, as push_reload treats the IN and OUT cases exactly the same wrt WORD_REGISTER_OPERATIONS.