http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48596
Kazumoto Kojima <kkojima at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vmakarov at redhat dot com --- Comment #3 from Kazumoto Kojima <kkojima at gcc dot gnu.org> 2011-04-23 00:06:46 UTC --- I'd like to add Vlad to the cc list. I've tried to avoid allocating FP register to r242 with changing target setting. Increasing move_cost between integer and floating registers looks to work. With changing current cost 12 to 34, .ira reports the same costs at -O2 a20(r242,l1) costs: R0_REGS:0,0 FPUL_REGS:305,305 SIBCALL_REGS:0,0 GENERAL_REGS:0,0 FP0_REGS:3892,3892 FP_REGS:3892,3892 DF_HI_REGS:3892,3892 DF_REGS:3892,3892 GENERAL_FP_REGS:6619,6619 GENERAL_DF_REGS:6619,6619 ALL_REGS:6619,6619 MEM:3880,3880 and r7 is allocated to r242 like as -O2. I hope that these numbers say something meaningful for experts.