Re: patch to fix constant math - third small patch

2012-11-09 Thread Kenneth Zadeck
This patch is an updated version of my patch 3 with all of richard sandiford's comments resolved. Richi had approved it before he went on vacation. Committed as revision 193360. Kenny On 10/08/2012 03:42 PM, Richard Sandiford wrote: Kenneth Zadeck writes: diff --git a/gcc/combine.c b/gcc/

Re: patch to fix constant math - third small patch

2012-10-08 Thread Richard Sandiford
Kenneth Zadeck writes: > diff --git a/gcc/combine.c b/gcc/combine.c > index 4e0a579..b531305 100644 > --- a/gcc/combine.c > +++ b/gcc/combine.c > @@ -2617,16 +2617,19 @@ try_combine (rtx i3, rtx i2, rtx i1, rtx i0, int > *new_direct_jump_p, > constant. */ >if (i1 == 0 >&& (temp

Re: patch to fix constant math - third small patch

2012-10-08 Thread Richard Guenther
On Mon, Oct 8, 2012 at 1:36 PM, Kenneth Zadeck wrote: > yes, my bad. here it is with the patches. Just for the record, ok! Thanks, Richard. > On 10/06/2012 11:55 AM, Kenneth Zadeck wrote: >> >> This is the third patch in the series of patches to fix constant math. >> this one changes some pre

Re: patch to fix constant math - third small patch

2012-10-08 Thread Kenneth Zadeck
yes, my bad. here it is with the patches. On 10/06/2012 11:55 AM, Kenneth Zadeck wrote: This is the third patch in the series of patches to fix constant math. this one changes some predicates at the rtl level to use the new predicate CONST_SCALAR_INT_P. I did not include a few that were tight

Re: patch to fix constant math - third small patch

2012-10-08 Thread Richard Guenther
On Sat, Oct 6, 2012 at 5:55 PM, Kenneth Zadeck wrote: > This is the third patch in the series of patches to fix constant math. > this one changes some predicates at the rtl level to use the new predicate > CONST_SCALAR_INT_P. > I did not include a few that were tightly intertwined with other chang

Re: patch to fix constant math - third small patch

2012-10-06 Thread Kenneth Zadeck
This is the third patch in the series of patches to fix constant math. this one changes some predicates at the rtl level to use the new predicate CONST_SCALAR_INT_P. I did not include a few that were tightly intertwined with other changes. Not all of these changes are strictly mechanical. Ric