https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105731
--- Comment #5 from Richard Earnshaw <rearnsha at gcc dot gnu.org> --- The thumb1 rtx-costing function needs a complete rewrite along the lines and style of the Thumb2 and Arm costing routines. Another thing for my copious free time (TM).