Re: [PATCH, rs6000] Fix PR48053, ICEs in SPEC benchmarks

2011-03-12 Thread Peter Bergner
On Sat, 2011-03-12 at 22:21 -0500, David Edelsohn wrote: > > gcc/ > >PR target/48053 > >* config/rs6000/predicates.md (easy_vector_constant_add_self, > >easy_vector_constant_msb): Do not handle V2DImode and V2DFmode. > >* config/rs6000/rs6000.c (const_vector_elt_as_i

Re: [PATCH, rs6000] Fix PR48053, ICEs in SPEC benchmarks

2011-03-12 Thread David Edelsohn
On Fri, Mar 11, 2011 at 1:34 PM, Peter Bergner wrote: > This patch fixes the two related bugs in PR48053.  The problem here deals > with loading constants into VSX registers.  The first bug occurs when we > try and load up a full constant into the VSX register.  We end up calling > easy_vector_con

Re: [PATCH, rs6000] Fix PR48053, ICEs in SPEC benchmarks

2011-03-11 Thread Peter Bergner
On Fri, 2011-03-11 at 12:34 -0600, Peter Bergner wrote: > This patch fixes the two related bugs in PR48053. The problem here deals > with loading constants into VSX registers. The first bug occurs when we > try and load up a full constant into the VSX register. We end up calling > easy_vector_co

[PATCH, rs6000] Fix PR48053, ICEs in SPEC benchmarks

2011-03-11 Thread Peter Bergner
This patch fixes the two related bugs in PR48053. The problem here deals with loading constants into VSX registers. The first bug occurs when we try and load up a full constant into the VSX register. We end up calling easy_vector_constant_msb which is supported only for V4SI and V4SF modes. The