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

--- Comment #135 from Kazumoto Kojima <kkojima at gcc dot gnu.org> ---
Created attachment 58836
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58836&action=edit
a trial patch for c#133

Simlar changes for extend<mode>si2 and mov<mode> which define new
insn_and_split to force hardware r0 reg for the problematic cases so as to
shorten r0 live range.

* config/sh/sh.md (extend<mode>si2_short_mem_disp_z,
mov<mode>_store_mem_index): New insn_and_split patterns.
(extend<mode>si2, mov<mode>): Use them for LRA.

Reply via email to