https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87047
--- Comment #12 from Alexander Monakov <amonakov at gcc dot gnu.org> --- Created attachment 46911 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46911&action=edit patch for scaled cost calculation Attaching a patch that implements the tactic outlined in comment #10.