Kenneth Zadeck <zad...@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