pr52543

Ian Lance Taylor iant@google.com
Tue Mar 20 13:56:00 GMT 2012


Kenneth Zadeck <zadeck@naturalbridge.com> writes:

> i actually care about all registers, not just the hard ones.    as it
> turns out i had been wrong and lower-subregs splits pseudo to pseudo
> moves, and hard reg to and from psuedo moves.
>
> register_move_cost requires the regclasses.
>
> anyway that is not the right thing to do for the shifts.

I suppose you could compare costs.

Two new target hooks is not impossible, but the information ought to be
available in other ways.

Ian



More information about the Gcc mailing list