Re: Fwd: [RFC] - Regression exposed by recent change to compress_float_constant

2005-08-19 Thread Ian Lance Taylor
On Aug 10, 2005, at 12:43 PM, Fariborz Jahanian wrote: > + /* APPLE LOCAL begin radar 4153339 */ > + if (n_sets == 1 && GET_CODE (sets[i].src) == REG > + && src_const && GET_CODE (src_const) == CONST_DOUBLE) > + { > + src_folded = src_const; > + src_folded_cost =

Fwd: [RFC] - Regression exposed by recent change to compress_float_constant

2005-08-19 Thread Dale Johannesen
Fariborz is still having problems with his mailer and has asked me to forward this. On Aug 10, 2005, at 2:35 PM, Dale Johannesen wrote: On Aug 10, 2005, at 12:43 PM, Fariborz Jahanian wrote: Following patch has exposed an optimization shortcoming: 2005-07-12 Dale Johannesen <[EMAIL PROTECTED]>

Re: [RFC] - Regression exposed by recent change to compress_float_constant

2005-08-11 Thread Dale Johannesen
Fariborz is having trouble with his mailer and has asked me to forward his response. On Aug 10, 2005, at 2:35 PM, Dale Johannesen wrote: On Aug 10, 2005, at 12:43 PM, Fariborz Jahanian wrote: Following patch has exposed an optimization shortcoming: 2005-07-12  Dale Johannesen  <[EMAIL PROTECTED]>

Re: [RFC] - Regression exposed by recent change to compress_float_constant

2005-08-10 Thread Dale Johannesen
On Aug 10, 2005, at 12:43 PM, Fariborz Jahanian wrote: Following patch has exposed an optimization shortcoming: 2005-07-12 Dale Johannesen <[EMAIL PROTECTED]> * expr.c (compress_float_constant): Add cost check. * config/rs6000.c (rs6000_rtx_cost): Adjust FLOAT_EXTEND cost. This patch resul

Re: [RFC] - Regression exposed by recent change to compress_float_constant

2005-08-10 Thread Andrew Pinski
> > Following patch has exposed an optimization shortcoming: > > 2005-07-12 Dale Johannesen <[EMAIL PROTECTED]> > > * expr.c (compress_float_constant): Add cost check. > * config/rs6000.c (rs6000_rtx_cost): Adjust FLOAT_EXTEND cost. I think this is the same problem as PR 2

[RFC] - Regression exposed by recent change to compress_float_constant

2005-08-10 Thread Fariborz Jahanian
Following patch has exposed an optimization shortcoming: 2005-07-12 Dale Johannesen <[EMAIL PROTECTED]> * expr.c (compress_float_constant): Add cost check. * config/rs6000.c (rs6000_rtx_cost): Adjust FLOAT_EXTEND cost. This patch results in generating worse code for the foll