[RS6000] PR72802 part 2, reload ICE

Segher Boessenkool segher@kernel.crashing.org
Fri Aug 5 23:01:00 GMT 2016


On Fri, Aug 05, 2016 at 02:20:40PM +0930, Alan Modra wrote:
> Here are the reload costs for the various alternatives of
> movsf_hardfloat:
> "=!r, !r,  m,  f, ww, ww, !r,  f, wb,  m, wY, wu,  Z,?wn, ?r,*c*l, !r, *h"
>   "r,  m,  r,  f, ww,  j,  j,  m, wY,  f, wb,  Z, wu,  r, wn,   r, *h,  0"
>  617 609  17  17   8   8 617   9   8  17  17   8  17  23  23   17 617  17

I agree reg-reg moves should come after reg-mem moves, but is it such
a good idea to put e.g. f->f after r->*c*l?

The costs look in pretty bad shape anyway.

I'm not comfortable acking this patch without some more investigation,
sorry.


Segher



More information about the Gcc-patches mailing list