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

--- Comment #9 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
(In reply to Wilco from comment #8)
> 
> I've got a patch that fixes it, it's being tested.
> 
> While looking at how DI mode operations get expanded, I noticed there is a
> CQ issue with your shift change. Shifts that are expanded early now use
> extra registers due to the DI mode write of zero. Given all other DI mode
> operations are expanded after reload, it may be better to do the same for
> shifts too.

Interesting idea.  After reload there is no need anymore to zero the
DI mode register at all, so that could become completely unnecessary.

Reply via email to