Split a subroutine out of reload_combine

Bernd Schmidt bernds@codesourcery.com
Thu Jul 15 17:12:00 GMT 2010


This patch splits out a piece out of reload_combine into a separate
function in order to make it slightly easier to make some changes I
intend to experiment with.  This should not change generated code in an
any way; I've verified this on i686 and ARM.

The only thing worth pointing out here is that in

  if (double_reg_address_ok && INDEX_REG_CLASS != NO_REGS)
    return;

the test for INDEX_REG_CLASS is pointless, as the following code returns
if it can't find any suitable index registers.

Bootstrapped and regression tested on i686-linux, committed as obvious.


Bernd
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rc-breakup.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100715/8e37f128/attachment.ksh>


More information about the Gcc-patches mailing list