http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53176
--- Comment #8 from Hans-Peter Nilsson <hp at gcc dot gnu.org> 2012-05-02 22:22:54 UTC --- (In reply to comment #7) > I contacted iant before I started this, and he said that the proper plan > is to use the rtl cost model. So that is what we did. The alternative > is to define a bunch of special target hooks and no one seemed to want > to go there. Agreed. Hopefully most targets are fixed by multiplying the current target rtx cost implementation with the size of the mode; I'll try that. Actually, I think that's what rtlanal.c:rtx_cost should be changed to do, for the cases where the targetm.rtx_costs function returns false.