[committed] Add SET rtx costs for MIPS

2012-05-06 Thread Richard Sandiford
This patch adds SET rtx costs to MIPS. Since FPR modes and GPR modes aren't tieable, the effect is to restore the original lower-subreg behaviour of splitting all multiword modes. Tested by setting LOG_COSTS to 1 and checking that the costs looked sensible. Also tested by compiling cc1 .ii files

Re: [committed] Add SET rtx costs for MIPS / [SH] PR 53250

2012-05-06 Thread Oleg Endo
On Sun, 2012-05-06 at 20:13 +0100, Richard Sandiford wrote: This patch adds SET rtx costs to MIPS. Since FPR modes and GPR modes aren't tieable, the effect is to restore the original lower-subreg behaviour of splitting all multiword modes. Tested by setting LOG_COSTS to 1 and checking that

Re: [committed] Add SET rtx costs for MIPS / [SH] PR 53250

2012-05-06 Thread Kaz Kojima
Oleg Endo oleg.e...@t-online.de wrote: The attached patch does pretty much the same for the SH target. Tested also by setting LOG_COSTS to 1 and checking that multi-word modes are marked for splitting (except for DImode zero_extend lowering). Also verified that newlib compiles again. OK?