Re: Fixing PR60773

2014-04-08 Thread Jakub Jelinek
On Tue, Apr 08, 2014 at 07:40:09PM -0700, Cong Hou wrote: > On Tue, Apr 8, 2014 at 12:07 AM, Jakub Jelinek wrote: > > On Mon, Apr 07, 2014 at 12:16:12PM -0700, Cong Hou wrote: > >> --- a/gcc/testsuite/ChangeLog > >> +++ b/gcc/testsuite/ChangeLog > >> @@ -1,3 +1,11 @@ > >> +2014-04-07 Cong Hou >

Re: Fixing PR60773

2014-04-08 Thread Cong Hou
Thanks for the comments, and the attached file is the updated patch. thanks, Cong On Tue, Apr 8, 2014 at 12:28 AM, Rainer Orth wrote: > Cong Hou writes: > >> In the patch of >> PR60656(http://gcc.gnu.org/ml/gcc-patches/2014-03/msg01668.html), the >> test case requires GCC to vectorize the wid

Re: Fixing PR60773

2014-04-08 Thread Cong Hou
On Tue, Apr 8, 2014 at 12:07 AM, Jakub Jelinek wrote: > On Mon, Apr 07, 2014 at 12:16:12PM -0700, Cong Hou wrote: >> --- a/gcc/testsuite/ChangeLog >> +++ b/gcc/testsuite/ChangeLog >> @@ -1,3 +1,11 @@ >> +2014-04-07 Cong Hou >> + >> + PR testsuite/60773 >> + * testsuite/lib/target-supports.exp:

Re: Fixing PR60773

2014-04-08 Thread Rainer Orth
Cong Hou writes: > In the patch of > PR60656(http://gcc.gnu.org/ml/gcc-patches/2014-03/msg01668.html), the > test case requires GCC to vectorize the widen-mult pattern from si to > di types. This may result in test failures on some platforms that > don't support this pattern. This patch adds a ne

Re: Fixing PR60773

2014-04-08 Thread Jakub Jelinek
On Mon, Apr 07, 2014 at 12:16:12PM -0700, Cong Hou wrote: > --- a/gcc/testsuite/ChangeLog > +++ b/gcc/testsuite/ChangeLog > @@ -1,3 +1,11 @@ > +2014-04-07 Cong Hou > + > + PR testsuite/60773 > + * testsuite/lib/target-supports.exp: > + Add check_effective_target_vect_widen_mult_si_to_di_pattern.

Fixing PR60773

2014-04-07 Thread Cong Hou
In the patch of PR60656(http://gcc.gnu.org/ml/gcc-patches/2014-03/msg01668.html), the test case requires GCC to vectorize the widen-mult pattern from si to di types. This may result in test failures on some platforms that don't support this pattern. This patch adds a new target vect_widen_mult_si_t