Re: [RFC PATCH, i386]: Implement ix86_set_reg_reg_cost, fix PR 53250 Splitting reg failure.

2012-05-08 Thread Uros Bizjak
On Mon, May 7, 2012 at 10:40 PM, Uros Bizjak ubiz...@gmail.com wrote: 2012-05-07  Uros Bizjak  ubiz...@gmail.com        PR target/53250        * config/i386/i386.c (ix86_set_reg_reg_cost): New function.        (ix86_rtx_costs): Handle SET. Patch was tested on x86_64-pc-linux-gnu {,-m32}.

[RFC PATCH, i386]: Implement ix86_set_reg_reg_cost, fix PR 53250 Splitting reg failure.

2012-05-07 Thread Uros Bizjak
Hello! Attached patch implements reg-reg move cost function for x86, as required by new lower-subreg.c patch. The patch fixes: FAIL: gcc.dg/lower-subreg-1.c scan-rtl-dump subreg1 Splitting reg failure on 32bit x86 targets, and for following testcase: long long test (long long a, long long b) {

Re: [RFC PATCH, i386]: Implement ix86_set_reg_reg_cost, fix PR 53250 Splitting reg failure.

2012-05-07 Thread Uros Bizjak
On Mon, May 7, 2012 at 10:35 PM, Uros Bizjak ubiz...@gmail.com wrote: Now with a patch and ChangeLog: 2012-05-07 Uros Bizjak ubiz...@gmail.com PR target/53250 * config/i386/i386.c (ix86_set_reg_reg_cost): New function. (ix86_rtx_costs): Handle SET. Patch was tested